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.
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!
-----------------------------------------------------------------------------------------------------------------------