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

Does the nRF51822 UART support LIN bus?

I need to connect to a LIN bus and Bluetooth on the same device. I'd like to use the ARM processor on the nRF51822 based module (PTR5518) to handle the LIN bus messages. LIN uses a 13 bit break character, which normally requires a LIN compatible UART. It doesn't look like the UART in the nRF51822 is LIN compatible. Am I wrong? Any known work-arounds to make it work with LIN?

  • Hi tstone, Sorry for the late answer, nRF51 is a standard UART with 12-bit break if the parity is used. I am not an expert in LIN standard, but if it requires a frame to be 13-bit then this module is not compatible with LIN.

    You can anyway try to simulate (bitbanging) using GPIOs. This would be time consuming but possible.