Hi,
We have interfaced ISL3159E RS-485 Transceiver with AM3359. we have connected DE pin to GPIO, but we are not able to drive GPIO high by using driver.
We have done all possible things as suggested in http://e2e.ti.com/support/arm/sitara_arm/f/791/t/235715.aspx
We have tried using the patches given on this link(https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Driving_RS-485_transceivers). gpio_request() fails with error number -22.
What could be the reason for this?
We have done following pin-mux in our BSP,
static struct pinmux_config rs485_pin_mux[] = {
{"mii1_rxclk.uart2_txd_mux0", OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT |
AM33XX_PIN_INPUT},
{"mii1_txclk.uart2_rxd_mux0", OMAP_MUX_MODE1 | AM33XX_PIN_OUTPUT |
AM33XX_PIN_INPUT},
{"mcasp0_fsr.gpio3_19", OMAP_MUX_MODE7 | AM33XX_PULL_ENBL | AM33XX_PIN_OUTPUT},
{NULL, 0},
};
kindly suggest solution to handle GPIO3_19 pin.
Regards,
Jay.