MATLAB: C2000 SCI (Rx) communication to second CPU failded after reboot

c2000Embedded Coderf28377shardware interruptinterruptsci communcationsci receivesimulink

Hi,
I have a serial SCI communication between my F28377S TI CPU and a second CPU (Raspberry Pi). I use a hardware interrupt block that triggers the SCI Rx A block everytime data is available on that port. That data is then stored byte per byte into an array using persitent varialbes. For testing I send the array to another SCI Tx block to be able to measure that port with an oscilloscope. The software is then deployed to the hardware with help of the Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. After the build proccess the TI controller runs directly and I can see that the data that is send is stored correctly into the array decribed above (measuring with the oscilloscope). But if I power off the hardware and then power it again the array is not changing.
Does anyone why I can't read data after rebooting the hardware? Other parts of the software like the SCI transmit are still working after the reboot!

Best Answer

Hi Daniel,
You mean you use raspberry PI to send data to 28377s and then write it into an array?
1. Do you upload this array to the oscilloscope of the host computer or observe the communication waveform with the hardware oscilloscope?
2. The array will not change after recharging. Has the data transmitted by raspberry PI changed?
Related Question