This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART_IRQ handler not invoked with peripheral Interfacing.

Hi,

I'm interfacing a GPS skynav SKM53 which uses UART with MCB 1700 board( onboard LPC1768 microcontroller). I have the transmitter pin of GPS connected to P2.1 (configured as UART1 Rx). Though, i can see the data in the RBR (Receive Buffer) register but I don't see the UART_IRQ handler being invoked neither are any flags being set(like LSR,RLS or RDA)

I have tested the IRQ handler by interfacing with PC (COM Port connected using RS232 cable) and it works perfectly. I use the same function for
interfacing on peripheral pins of UART, it doesn't get invoked. Is there any other configuration, I need to do so as to invoke IRQ handler when data is seen on the
peripheral??? Please advise.

Parents
  • The ST3232C is a RS-232 driver and receiver, supporting 3-5.5V on the logic-level side.

    So good when your LPC17xx is connected to a PC.

    But if that GPS have logic-level signalling, then you either need two ST3232C to step down to logic levels again. Or remove your current ST3232C.

    One side of a ST3232C can not be connected to logic-level devices. It outputs too high voltages and can destroy logic-level devices connected on the RS-232 side.

Reply
  • The ST3232C is a RS-232 driver and receiver, supporting 3-5.5V on the logic-level side.

    So good when your LPC17xx is connected to a PC.

    But if that GPS have logic-level signalling, then you either need two ST3232C to step down to logic levels again. Or remove your current ST3232C.

    One side of a ST3232C can not be connected to logic-level devices. It outputs too high voltages and can destroy logic-level devices connected on the RS-232 side.

Children