Other Parts Discussed in Thread: C2000WARE
Hi Friends,
I'm trying to receive vector of data through SPI using simulink but I'm getting JUNK!!!!
I used channel A (config as Master) to send data and channel B (config as slave) to receive the data. In addition, I enabled the RX interrupt in channel B with FIFO level 2.
Physical connections:
SPICLKA (pin 7) --> SPICLKB (pin 47)
CS-A (pin 2) --> CS-B (pin5)
SPISIMOA (pin 15) --> SPISIMOB (pin 55)
Simulink Model:
What did I do wrong ?!?!
Thank you,
Fares Marjieh || Control Engineer