SPI hangs when changing buadrate dynamicaly.

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

SPI hangs when changing buadrate dynamicaly.

777件の閲覧回数
pramodk_g_
Contributor III

Hi all,

                    I am working on a TWRK70F120M board with MQX 4.0.1. My device is switching between different modes where core frequency is switching between 24Mhz and 120Mhz(For reducing current conception). Also I have one spi driven LCD in my hardware and SPI2 is used for that. When I am switching the core frequency i am also changing the spi buad rate using ioctl command. But my issue is that that task hangs after that . Please let me know your valuable thoughts.

Thanks,

Pramod.

タグ(3)
0 件の賞賛
返信
1 返信

646件の閲覧回数
RadekS
NXP Employee
NXP Employee

It isn’t known issue.

Changing core frequency presents always some dangerous, especially with external communication.

Are you sure that you didn’t change baud rate somewhere in middle of transfer (chip select active)?

Could you please more specify where code hangs?

I suppose that you set SPI2 as master, correct?


Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------