How to change SPI speed in code?

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

How to change SPI speed in code?

1,152件の閲覧回数
barrypurtymun
Contributor II

Hello NXP,

 

I am using Kinetis Design Studio with a K60 chip.  I have a touch screen that needs to be initialized via SPI at 10 MHz or less.  The touch screen can communicate at 30 MHz after initialization. I have a bus clock speed of 60 MHz and need to change my SPI prescaler divider from 6 to 2 (10 MHz to 30 MHz) after I run my initialization code.  I used processor expert (SyncroMaster) to configure my SPI port.  Please advise how I should change my SPI bus speed after the touch screen has been initialized. 

 

Thank you. 

0 件の賞賛
返信
0 返答(返信)