How to Handle Clock Rate List for SPIMaster_LDD

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

How to Handle Clock Rate List for SPIMaster_LDD

960 次查看
Vagni
Contributor IV

I am using SPIMaster_LDD embedded component for my project with CodeWarrior 10.2 and Processor Expert 5.3 on a Kinetis K10DX256VLH7 mcu.

SPIMaster_LDD is set with polling mode and one attribute set.

I defined a list of clock rates, because in my application I need to switch in run-time from a clock rate to another, (mainly from a low clock rate to a higher one).

I cannot see what is the right component method for switching in run-time among the clock rates of my list.

Can you please tell me how can I do that clock rate switch?

Thank you!

标签 (1)
0 项奖励
回复
1 回复

790 次查看
BlackNight
NXP Employee
NXP Employee

I have used the SynchroMaster component which is easier to use.

There you can set up as well a list of clock rates, and then switch it with SetBaudRateMode().

That worked very well for me (e.g. with SD card interface which needs different speed modes.

0 项奖励
回复