AnsweredAssumed Answered

Uart Driver configuration in LPC

Question asked by Prasanna Naik on Jan 11, 2019
Latest reply on Jan 13, 2019 by Kerry Zhou

Hi,

   I am using "LPCXpresso 4367 Development board" for LPC4367 series evaluation. I want to know the configuration process or flow of UART driver API's since i was facing some issues in configuration of stop and parity bits.

I have attached the driver file for reference. When i call  setParityBit(ui_ParityBitSetting); and 
setStopBits(ui_StopBitSetting); functions i get a hardfault interrupt.

Kindly help in resolving this issue.

Tx Port: P2_10_U2_Tx (E8)

Rx Port: P2_11_U2_Rx(A9)

The code works fine when i comment setParityBit(ui_ParityBitSetting); and 
setStopBits(ui_StopBitSetting); functions.

 

Thanks and best regards,

Prasanna

Attachments

Outcomes