Hi! I am using UART5 for RS485 communication. I've enabled UART5_CTS pin to manage rs485 driver output direction. And it works well on the UDOO Quad. But it does not work on the UDOO Dual. I can't manage UART5_CTS pin at all. Furthermore when I try to manage this pin (MX6Q_PAD_CSI0_DAT19__GPIO_6_5) as regular pin for output, I can't do it. This pin always in '1' state... Does anybody knows the reason of this behaviour? Does anybody knows the differences between Dual and Quad? //Yury
Hi, I think I've found an inaccuracy in the sources. 1) iomux-mx6dl.h I think defines MX6DL_PAD_CSI0_DAT19__UART5_CTS and MX6DL_PAD_CSI0_DAT19__UART5_RTS are mixed up. Because I have to use ххх_RTS for enabling CTS line. 2) board-mx6_seco_UDOO.c In the function mx6q_seco_UDOO_fec_phy_reset the UART5 settings became corrupted, because using defines MX6Q_PAD_RGMII_RD0__GPIO_6_25 and MX6Q_PAD_RGMII_RD0__ENET_RGMII_RD0 redefines previous pads settings. I think it should be: if (cpu_is_mx6q()) mx6q_seco_UDOO_fec_phy_reset(NULL); instead of mx6q_seco_UDOO_fec_phy_reset(NULL); After these fixes UART5_CTS works well (used this https://community.freescale.com/message/354499#354499 article). //Yury