Hi All, I want to daisy chain 256 controllers serially. TX0--->RX1|TX1--->RX2|TX2...->RX255|TX255--->RXPC Each controller has to send a packet of 8bytes to the next controller plus all the data that it has received from the previous controllers. The last controller is connected to a PC serial port where all the data is captured. Can anyone throw some ideas how to go about writing this code ?? Any help will be great. Thankzz && Bye -Rocknmoon
Keil interrupt-driver serial IO example also has ring buffers. See the downloads area.
If you take CAN as back-bone for data exchange and 1 CAN to RS232 BRIDGE interface, you should be able to connect just anything to anything without breaking your mind for timing and speed .... And to make things a little bit cheaper, you could perhaps convert all RS232 to RS485 and interface this to your PC.