AnsweredAssumed Answered

SPI_4 not working for MPC5748G

Question asked by Zubair Ahmed on Apr 2, 2018

Hi,

    I am working on SPI_4 for MPC5748G development kit. Unfortunately I am unable to see any data on MOSI pin at oscilloscope. Please find the attached code. Also there is no interrupt working. 

I am using same pins as shown on dev kit for SPI_4. I have write the code for SPI_4 to work as Master, and whenever master send the data, it should hit the ISR routine.

 

SCLK_4 as output ---->PF2

SIN_4 as input -------> PF1

SOUT_4 as output-----> PF0

SS_4 as output----> SS_4

 

 

Martin KovarPeter Vlna@

Attachments

Outcomes