IMXRT: Trailing clocks at end of FlexSPI access?

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

IMXRT: Trailing clocks at end of FlexSPI access?

605 次查看
neil_weinstock
Contributor III

The docs for the FlexSPI controller say that the output SPI clock is turned off when the interface is idle.  Timing diagrams, though, show the clock continuing off the right edge of the picture after the end of a transaction.

How many additional clock cycles (if any) can I be guaranteed to get after the transaction is over?  I'm interfacing to an FPGA with no PLL so I'll need those clocks.

Example timing diagram from page 1642 of the i.MX RT1060 Reference Manual:

pastedImage_1.png

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

551 次查看
Sabina_Bruce
NXP Employee
NXP Employee

Hello Neil,

Hope you are doing well.

I am confirming with our team to check if this is a mistake or if in fact there is an expected behavior.

I will update you as soon as I have an answer for you.

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 项奖励

551 次查看
neil_weinstock
Contributor III

To add a small additional note: several of the other example timing diagrams, particularly the ones for Hyperflash transfers, do *not* show additional cycles after chip select goes away.  I wonder if it's simply a mistake in the above diagram?

If I *want* some extra clocks after the data transfer I should just be able to add a DUMMY command right before the STOP command in my read and write sequences, right?

0 项奖励

551 次查看
Sabina_Bruce
NXP Employee
NXP Employee

Hello Neil,

Hope you are doing well.

I have received confirmation, that this is an error in the diagram. The FlexSPI controller won't toggle the clock signal beyond the negation of the chip select. We've let the documentation team know this needs to be corrected.

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 项奖励