AnsweredAssumed Answered

MPC5777M SPI Pin Configuration issue

Question asked by chidambaram velusamy on Dec 26, 2016

Hi,

 

We tried configuring DSPI port 2 and 1 as master and slave respectively.  CS and clocks are generating. MOSI is also generating. We have verified with Oscilloscope. RFDF interrupt also generated. But the slave Rx data register always read as zero. And we tried looping back of MOSI to MISO of master itself. Master Rx data register too read as zero.

 

Please go thru our code. Is there any mistake in SPI Input direction pin assignment? 

 

Thanks & regards,

Chidambaram.V

Original Attachment has been moved to: spicode.txt.zip

Outcomes