Article How can I set the address/data bit of a 9-bit word on the MAX14830 UART?

This will require the device to be in MultiDrop mode.  To enable MultiDrop mode, set MODE2[6]: MultiDrop.  To properly set the address/data bit, you will need to set three bits in the Line Control Register (LCR).  

1) Set LCR[3]: ParityEn to 1 to enable parity generation. 
2) Set LCR[5]: ForceParity to force the parity bit to be a certain value.
3) Set LCR[4]: EvenParity to 0 for a parity of 1, to 1 for a parity of 0.  

In order to send an address and subsequent data words successfully, you will need to first send the address, update the LCR, then send the data.  Here is the procedure:

1) Update LCR for address parity.
2) Send address.
3) Update LCR for data parity. 
4) Send data.

 

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.