1
Discussion - Software / FT51A output pad configuration
« on: October 10, 2017, 04:48:49 PM »
Tried to configure a pin in output mode, but it failed to output unless configured with pull-up enabled (works with IOMUX_PAD_PULL_UP and doesn't work with IOMUX_PAD_PULL_NONE). Open-drain like-behaviour instead of push-pull? The Programming Guide (AN-289) states however that pull up/down bits take effect only if a pin is configured as input. Is that kind of behavior correct? Or may be I am doing something wrong?
Code: [Select]
IOMUX_OUTPUT( DIO_14, IOMUX_OUT_PORT3_6 );
IOMUX_set_pad_config( DIO_14, IOMUX_PAD_DRIVE_CURRENT_16MA, IOMUX_PAD_TRIGGER_NORMAL, IOMUX_PAD_SLEW_RATE_FAST, IOMUX_PAD_PULL_UP );