Why is the recommended value for csHoldTime and csSetupTime 0x3?

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

Why is the recommended value for csHoldTime and csSetupTime 0x3?

跳至解决方案
1,670 次查看
imxrtuser
Senior Contributor I

Hello,

the recommended value for csHoldTime and csSetupTime is 0x3.

pastedImage_1.png

Why is the recommended value for csHoldTime and csSetupTime 0x3? Is it okay to set it to 0x1 if my used flash device is fast enough or will the FlexSPI peripheral have problems with a value of 0x1?

Kind regards,

Stefan

标记 (2)
0 项奖励
回复
1 解答
1,620 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Stefan Mitterhauser

    My own opinion is 0x03 value may meet a lot of the external flash csHoldTime and csSetupTime requirement.

   So, if your external flash also can use 0X03, you can use it, but if you still want to change the data, eg, 0X01, you can check your datasheet, if it meets your requirement, then try 0X01 to test it, I think it's Ok, it is not fixed to 0X03.

Wish it helps you!

Kerry

 

-------------------------------------------------------------------------------
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 项奖励
回复
4 回复数
1,620 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Stefan Mitterhauser,

   The csHoldTime and csSetupTime, you need to check your external flash datasheet, normally, it defines the related min time:

pastedImage_1.png

  So, when you configure the flexSPI configuration block, you need to use your flexSPI clock to calculate your CS setup time and the hold time, make sure the time is larger than your flash datasheet defined smallest time.

pastedImage_2.png

Wish it helps you!

Kerry

 

-------------------------------------------------------------------------------
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,620 次查看
imxrtuser
Senior Contributor I

Hi Kerry,

thank you for your answer. I did take the values from the data sheet of our flash device, but it still would be good to know why NXP recommends a value of 3 in the reference manual - there must be a reason for that right?

Kind regards,

Stefan

0 项奖励
回复
1,621 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Stefan Mitterhauser

    My own opinion is 0x03 value may meet a lot of the external flash csHoldTime and csSetupTime requirement.

   So, if your external flash also can use 0X03, you can use it, but if you still want to change the data, eg, 0X01, you can check your datasheet, if it meets your requirement, then try 0X01 to test it, I think it's Ok, it is not fixed to 0X03.

Wish it helps you!

Kerry

 

-------------------------------------------------------------------------------
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,620 次查看
imxrtuser
Senior Contributor I

Okay, thank you!

0 项奖励
回复