When running firmware directly from internal flash (XIP), the startup code defines the following for the image header for "spi_clock_freq" at offset 0x1C
IF :DEF: IMG_BAUDRATE
DCD IMG_BAUDRATE;(0x1C) image baudrate
ELSE
DCD 0 ; (0x1C) reserved
ENDIF
However, IMG_BAUDRATE is not defined anywhere in the SDK when compiling any example in XIP.
What is the value to set IMG_BAUDRATE when running in XIP mode for best performance ?
Thank you
Hi Bob,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Actually, a good clock frequency is mainly determined by the QSPI flash chip you use.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
LPC54018JxM does not have QSPI external flash chip, it has QSPI internal flash, chosen by NXP. What is the value to use for IMG_BAUDRATE for NXP's internal flash connected to
LPC54018JxM's QSPI for optimum performances ?
Hi Bob,
Thanks for your reply.
Q1) What is the value to use for IMG_BAUDRATE for NXP's internal flash connected to LPC54018JxM's QSPI for optimum performances?
-- It'd better not exceed the system clock frequency in the application code, meanwhile, close to the system clock.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------