Dear all,
I am currently developing an application that should be executed from an external QSPI flash. As a starting point, I used the demo project "hello_world_qspi", and followed the procedure described in Paragraph 4 of the document KBLQSPIUG. I also modified the peripheral initializations to suit my setup, specifically using LPUART3 and a GPIO for LED blinking.
The goal of the application is to send a "Hello World" message over the LPUART3 interface at 115200 bps. Although I configured the peripherals using the MCUXpresso Config Tool, I encountered the following issues:
The LPUART3 baud rate is not set to 115200 as expected, but instead defaults to 921600. I verified that the microcontroller is correctly executing code from the external QSPI flash.
When I attempt to change the LPUART clock source using the function CLOCK_SetLpuartClock(uint32_t src), the application stops working entirely.
I am unsure what is causing these issues. I have attached both the application code and the qspi_config_block.c file for reference. You'll find also the QSPI FLASH datasheet.
Any insights or suggestions would be greatly appreciated.
Looking forward to your feedback.
Kind regards,
Vladimir Zitoli