Why does Boot-ROM not set command interval?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why does Boot-ROM not set command interval?

Jump to solution
2,753 Views
imxrtuser
Senior Contributor I

Hello,

if I specify a command interval in my XIP device configuration block the CSINTERVALUNIT bit in flash register FLSHCR1A1 will not be set to the value I specified.

pastedImage_1.png

Why does the Boot-ROM not set the value I specify? Does it not support this?

Kind regards,

Stefan

0 Kudos
Reply
1 Solution
2,648 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Stefan Mitterhauser ,

Thanks for your reply.
The commandInterval is only used to configure the SPI NAND currently as aforementioned.
In addition, the CSINTERVAL is used to set the minimum interval between flash device Chip selection deassertion and flash
device Chip selection assertion, and we can find that it's nothing along with the command interval actually.
Hope this is clear.

pastedImage_1.png

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

View solution in original post

6 Replies
2,648 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Stefan Mitterhauser ,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Why does the Boot-ROM not set the value I specify? Does it not support this?
-- According to the below figure, the interval would be 2 cycles actually which is consistent with the configuration in qspiflash_config struct.

pastedImage_1.png

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 Kudos
Reply
2,648 Views
imxrtuser
Senior Contributor I

Hi jeremy,

you are right. In this case it does not matter.


I tested it with the flexspi_nor_polling_transfer example project for RT1020 and set the value to

.commandInterval  = 8u,

but the register value CSINTERVALUNIT does not get set to 8.

Kind regards,

Stefan

0 Kudos
Reply
2,649 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Stefan Mitterhauser ,

Thanks for your reply.
The commandInterval is only used to configure the SPI NAND currently as aforementioned.
In addition, the CSINTERVAL is used to set the minimum interval between flash device Chip selection deassertion and flash
device Chip selection assertion, and we can find that it's nothing along with the command interval actually.
Hope this is clear.

pastedImage_1.png

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

2,648 Views
imxrtuser
Senior Contributor I

Thank you Jeremy!

0 Kudos
Reply
2,648 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Stefan Mitterhauser ,

Sorry for reply late.
After reviewing the RM, I find that commandInterval is invalid for Serial (SPI) NOR actually, currently, it is used for SPI NAND only at high frequency.

pastedImage_2.png

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 Kudos
Reply
2,648 Views
imxrtuser
Senior Contributor I

Hey Jeremy,

what does the FlexSPI do to avoid timing problems with NOR flash?

The sentence from the Reference Manual is not clear to me. For me it could mean that the commandInterval value is used for every flash but for NAND flash it is only used if it is operated at high frequencies.

Or it could mean it is used for NAND flash if it is operated at high frequency and for no other flash at all.

Kind regards,

Stefan

0 Kudos
Reply