This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: 9 bit UART address mask

Part Number: EK-TM4C1294XL

Hi Folks,

I wanted to build a distributed network based on RS485 bus communication with 9 bit UART configuration. I have 1 dedicated master, and 5 slave nodes in range of addresses between 1 to 5.  To do this, I have implemented a modbus stack, where all of the slaves are waiting for the "9_bit_interrupt" and its subsequent bytes.

As I understood from the data sheet, if I set the address mask to 0xFF, the UART listen only its address. This works fine.

Then I tried to set an address mask to the first complement of the address, that caused that every slaves got every messages on the bus, which is not what I wanted.

Can anybody explain me, how can I use this address mask, how can I configure address ranges, etc?

Regards,

Norbert