This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

LIN bus - disable Rx while Tx'ing/Tx high while Rx'ing

I am working on a LIN slave.

I have working code on an Atmel 2560, just porting it to the NRF52 now. The complication I am foreseeing is that on the Atmel part I could disable Rx and Tx at will. It seem on the NRF that I have to disable the whole UART and then maybe drop the Rx or Tx pin from the configuration.

LIN bus requires to hold the Tx bus high while receiving. When transmitting, the Rx is seeing what is Tx'd - so I shut off Rx when I transmit.

Any help/thoughts?

Thanks! Tom

Parents
  • This is extremely relevant to my interests.

    I'm reading over the UARTE now, I'm working on LIN Master and possible on Slave.

    The break condition seems to exist, with it generating an error. So even if you did need to work-around by disabling the UART, messing the with pins (are sure you what your transceiver is doing vs what you need to do?) then going into a specific TX/RX mode that seems like the timing probably works out to do all that after a break and before the LIN spec timeout.

    I haven't had to implement LIN yet, just doing the research.

    It would be nice to hear from Nordic how much work would be needed to implement LIN on the nRF52.

Reply
  • This is extremely relevant to my interests.

    I'm reading over the UARTE now, I'm working on LIN Master and possible on Slave.

    The break condition seems to exist, with it generating an error. So even if you did need to work-around by disabling the UART, messing the with pins (are sure you what your transceiver is doing vs what you need to do?) then going into a specific TX/RX mode that seems like the timing probably works out to do all that after a break and before the LIN spec timeout.

    I haven't had to implement LIN yet, just doing the research.

    It would be nice to hear from Nordic how much work would be needed to implement LIN on the nRF52.

Children
No Data
Related