Laurent Marcotte

MCF5271 uart2 on QFP160

Discussion created by Laurent Marcotte on Oct 20, 2006
Latest reply on Oct 20, 2006 by Laurent Marcotte
I have probleme to use UART2 with the alternative pins EMDIO & EMDC.
Tx : ok
Rx : nothing.
I think that my driver is ok because it is ok is I use the Loop Back Mode.
It seems that I don't corrrectly connect the pysical pin EMDIO to the receive UART block.
 
My initialisation :
   MCF_GPIO_PDDR_FECI2C = 0;
   MCF_GPIO_PAR_FECI2C = MCF_GPIO_PAR_FECI2C_PAR_EMDC_UART2 |
                       MCF_GPIO_PAR_FECI2C_PAR_EMDIO_UART2  ; 
   MCF_GPIO_PODR_FECI2C = 0 ;
   MCF_GPIO_PAR_UART = MCF_GPIO_PAR_UART_PAR_U2RXD      |
                       MCF_GPIO_PAR_UART_PAR_U2TXD      |
                       MCF_GPIO_PAR_UART_PAR_U1RXD(0x3) |
                       MCF_GPIO_PAR_UART_PAR_U1TXD(0x3) |
                       MCF_GPIO_PAR_UART_PAR_U0RXD      |
                       MCF_GPIO_PAR_UART_PAR_U0TXD      |
                       MCF_GPIO_PAR_UART_PAR_U0RTS;
   MCF_GPIO_PDDR_UARTH = 0;
Thanks for your help!

Outcomes