How to Handle Clock Rate List for SPIMaster_LDD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Handle Clock Rate List for SPIMaster_LDD

957件の閲覧回数
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 返信

787件の閲覧回数
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 件の賞賛
返信