I am trying to use the RPi as a LIN Master to communicate with a number of slave nodes on the LIN bus. I can send the correct bytes, starting with the sync byte of 0x55, and then the node ID, the message data and the checksum.
In order for the nodes to listen, I need to send zeros for at least 13 bit-times prior to the sync byte. In pyserial, the port is set to eightbits, so, of course, I can only send 8 zeros when I need at least 13. Any ideas for solving this?