Write TXEN and RXEN in US_CR to enable both the transmitter and the receiver.
Write USART_MODE in US_MR to select the LON mode configuration.
Write CD and FP in US_BRGR to configure the baud rate.
Write COMMT, COLDET, TCOL, CDTAIL, RDMNBM and DMAM in US_LONMR to configure the LON operating mode.
Write BETA2, BETA1TX, BETA1RX, PCYCLE, PSNB, NPS, IDTTX and ITDRX respectively in US_FIDI, US_LONB1TX, US_LONB1RX, US_TTGR, US_LONPRIO, US_LONIDTTX and US_LONIDTRX to set the LON network configuration.
Write TX_PL in US_MAN to select the preamble pattern to use.
Write LONPL and LONDL in US_LONPR and US_LONDL to set the frame transfer.
Check that TXRDY in US_CSR is set to 1.
Write US_LONL2HDR register to send the header.
Wait until TXRDY in US_CSR rises.
Write TCHR in US_THR to send a byte.
If all the data have not been written, redo the two previous steps.