I had previously used UART with the lpcxpresso 5411 dev board with a basic example that worked communicating serial through the pins 0/1 (port0 pin0 --> Rx, port0 pin1 --> Tx). The example was usart_interrupt_transfer from the sdk folder. This was fine but when I tried to use UART using different pins I had trouble seeing anything transmitted. The new pins I m using are port1 pin4 --> Tx and port1 pin9 --> Rx.
From the dev board datasheet it says that this is on flexcomm 3. So I made changes to so that instead of using flexcomm0 I m using flexcomm3. So I have a few questions about this.
- For the definitions, do you need USART3 for flexcomm3 (or can you just use USART0 for flexcomm3),
- Have I set up my pinmux.c file attached correctly?
- Am I configuring the USART correctly?,