SPI_4 not working for MPC5748G

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI_4 not working for MPC5748G

425 Views
p070042
Contributor III

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

b55689petervlna@

0 Kudos
0 Replies