Is there any sample code of RS485 using piccolo controller 28035
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.
Is there any sample code of RS485 using piccolo controller 28035
Jeff and Gautam Thanks for the reply.
So basically I will be implementing RS485 on RS232. But then how the addressing and nodes will be defined if the want to implement the multidrop network.
Hi Darshan,
The SCI module has "multiprocessor wake-up modes", you can find documentation on this in the corresponding user's guide and also in the multi-day workshop module 12 (thanks Ken Schachter). Using the "Address-Bit Wake-Up Mode" an extra bit is added to the data frame (Addr/Data bit) creating the so-called 9-bit mode. When this bit is a 1 the frame is processed as an address frame generating an SCI ISR then your SW compares received address to a value stored in memory and clears SLEEP bit if it is a match, causing the SCI to interrupt on subsequent data frames. If it is not a match, then the SLEEP bit stays enabled and the next SCI interrupt occurs only on the next address frame.
Jeff
|
Did a reply answer your question? If yes, please click the "Verify Answer" button located at the bottom of that post. |
||
|
InstaSPIN-FOC/MOTION User's Guide |
||