MQX K60 SPI Example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX K60 SPI Example

1,842 次查看
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.

标记 (3)
0 项奖励
2 回复数

360 次查看
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 项奖励

360 次查看
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 项奖励