This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

info 9° bit in LPC 2364

Hi at All
I'am start with MB2300 board and KEIL demo version,
I must implement the Master/Slave comunication with 9° bit detect for addres and data comunication.
The LPC2364 not have this feature. Is possibile implement this function use the SW model? what is the max speed Ican use in this function for one corret functoinality on the serial Master/Salve Comunication?
You have any sample code for this utility?

Regards
Franco

Parents
  • The usual trick is to fiddle with the Parity bit to "spoof" a 9th bit - you'll have to check the Datasheet so see if this is possible with your chip.

    Alternatively, the 8051 handles this natively - so perhaps you could just use a small, cheap 8051 as a slave "IO processor" just to manage this 9-bit interface...?

Reply
  • The usual trick is to fiddle with the Parity bit to "spoof" a 9th bit - you'll have to check the Datasheet so see if this is possible with your chip.

    Alternatively, the 8051 handles this natively - so perhaps you could just use a small, cheap 8051 as a slave "IO processor" just to manage this 9-bit interface...?

Children
  • The usual trick is to fiddle with the Parity bit to "spoof" a 9th bit -

    I have only briefly looked at the user manual of the part, but as far as I understand the UART of the chip does support setting/clearing the 9th bit (it's called "stick parity). On the receiver side, it can probably be reconstructed from the Parity Error status flag (actually, if stick parity is selected, the Parity Error status flag should contain the 9th bit, or its inverse).