Other Parts Discussed in Thread: HALCOGEN
Dear All,
I am having two RM42x launchpad. I would like to make them communicate for data exchange.
I tried it by using SPI2. But I could not make it.
I am using Code Composer Studio (Version 5.5.0) and HALCoGen (Version 03.06.00).
For sending the data from launchpad_1 to launchpad_2, I kept SPI2 of launchpad_1 in master mode and used following code,
spiTransmitData(spiREG1,0,5,a);
For receiving the data from launchpad_1 to launchpad_2, I kept SPI2 of launchpad_2 in slave mode and used following code,
spiReceiveData(spiREG1,0,5,b);
Please tell me where I am wrong to make them communicate.
Regards
Sathiyaraj M