MQX K60 SPI Example

cancel
Showing results for 
Search instead for 
Did you mean: 

MQX K60 SPI Example

1,626 Views
Swapnil_Enable
Contributor III

hello, i have just started with MQX or rather say RTOS. can u please tell me which document should prefer as prerequisite to MQX related project.

my mail id is Swapnil.k@ensoftinfo.com.

 

please help me.

 

i have project where freescale K60 controller act as SPI master communicates with the Energy chip which is hardcoded as SPI Slave. right now the reqirement is just to read all register of the chip and store in internal memory. but i am not able to even run the MQX SPi example on K60 TWR. Example refered C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\spi.

 

Regards,

Swapnil k.

Tags (3)
0 Kudos
2 Replies

144 Views
barbercolman
Contributor III

Are you compiling for polled or interrupt driven? If you are doing interrupt driven you will need to look at memory_int.c and modify it. If my memory serves the SPI demo is design to talk to a EEPROM. Stepping through the code will help show you have to modify it for talking to your hardware.

 

0 Kudos

144 Views
Swapnil_Enable
Contributor III

i have check, there is no EEPROM on the tower.

 

may be tht the reason it may not be working. do u know where can i find the mqx spi example similar to the PE based example.

0 Kudos