LPC54018JxM : IMG_BAUDRATE definition

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC54018JxM : IMG_BAUDRATE definition

1,244 次查看
belmontbob59
Contributor IV

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 

标签 (1)
0 项奖励
回复
3 回复数

1,148 次查看
jeremyzhou
NXP Employee
NXP Employee

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

0 项奖励
回复

1,148 次查看
belmontbob59
Contributor IV

pastedImage_11.png

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 ?

0 项奖励
回复

1,148 次查看
jeremyzhou
NXP Employee
NXP Employee

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

0 项奖励
回复