UART RX_ERROR Flag is setting in LPC54608 EVAL board with GPS.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART RX_ERROR Flag is setting in LPC54608 EVAL board with GPS.

498 Views
Malesh
Contributor I

Greetings,

               This is Malesh. I am using LPC54608 Eval board. i am just interfaced the GPS LEA_6s to the Flex Comm9 with baudrate 9600. Enabled only the RX with FIFO operation. I am getting the GPS data , observed on DSO(digital scope). when i am connected GPS to the board, RX_BUFF_NOT_EMPTY Flag not setting.  But I am getting RX_ERROR Flag and FRAME ERR flag.

Please Help me Regarding this.

     Software used is MPUXpresso ver 11.2.1.

    Installed the LPC54608 board SDK.

    Dumped the example code UART_polling.

Note: I am changed the Flexcomm0 to Flexcomm9.

configuration:

8 bit data.

1 stop bit.

parity disabled.

 

 

Regards,

Malesh

 

 

  

Labels (2)
0 Kudos
1 Reply

494 Views
frank_m
Senior Contributor III

The user manual says:

Framing Error interrupt flag. This flag is set when a character is received with a missing stop bit at the expected location. This could be an indication of a baud rate or configuration mismatch with the transmitting source.

So, check with the datasheet of your GPS receiver if your settings are correct.

If in doubt, transmit a character within your code, and check the output & timing on the Tx pin with scope.

> Note: I am changed the Flexcomm0 to Flexcomm9.

Perhaps try on the orignal interface (flexcomm0), short of posting the relevant code here.