Anybody else who wants to throw their two cents worth in is welcome.
Whereas Modbus typically uses 19.2 KBaud, I use 500 KBaud. (Modbus was not fast enough).Whereas the Modbus can go idle, in my implementation the bus never goes idle.Whereas Modbus uses CRC16, I use a longitudinal-check character for forward-error-correction.
I used the sleep/wake-up feature of the SCI to ignore packets destined for other nodes.I used the idle-line interrupt feature to detect the end of each packet.I only buffer the received characters in the ISR. I parsed the entire message separately.No single ISR takes more than 5 microseconds to execute (I have a lot of ISRs).
Hi Rocco !
I've also written a lot of code for MODBUS and added a couple of more efficient commands within the vast unused areas of the std MODBUS protocol for our own I/O system. I really like to have contact with (the all to few) people like You who (like me) loves writing assembler to get optimal speed and efficiency. Please check my vcard and send me a line if You feel like it. I checked Your vcard but there was no email adresses in it.Anyone else reading this are of course also welcome to contact me.
Retrieving data ...