SPI Communication between MPC5775K and MR2001V

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

SPI Communication between MPC5775K and MR2001V

875 Views
maheshsubramani
Contributor I

Hi

We are interfacing MPC5775K with MR2001V (VCO) by SPI

The Write commands are sent as expected  . But doing a read does not read the set variables values

Enclosed is SPI code.

 

  1. Write message was done  to set identification key for VCO (i.e.) 10110000 to identification key and the S1 register
  2. read was done for 0x02 VCO S1 State Machine Register, after a write. But read returned 0

 

Thanks

Original Attachment has been moved to: spi_rfs.c.zip

Labels (1)
Tags (1)
0 Kudos
1 Reply

529 Views
martin_kovar
NXP Employee
NXP Employee

Hi,

at first, please look at this example which shows, how to correctly set SPI as a master/slave and how to communicate between these two nodes.

MPC5775K SPI

Regards,

Martin

0 Kudos