Regarding i.MX6 ECSPI frequency.

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

Regarding i.MX6 ECSPI frequency.

跳至解决方案
1,872 次查看
satoshishimoda
Senior Contributor I

Hi community,

We have questions about ECSPI of i.MX6SDL.

There is "Max operation frequency up to the reference clock frequency" in Chapter 21.1.1 of Reference Manual (IMX6SDLRM Rev.1).

But we do not know it well, please tell us about the following.

[Q1]

Does "Max operation frequency" mean operating frequency of the internal ECSPI module ?

Or does it mean communication frequency with external devices connected with SPI ?

[Q2]

Which clock is "The reference clock frequency" in Table 21-6 ?

Best Regards,

Satoshi Shimoda

标签 (4)
标记 (1)
0 项奖励
回复
1 解答
1,108 次查看
Yuri
NXP Employee
NXP Employee

  The phrase “max operation frequency up to the reference clock frequency” means,

that SPI output frequency (SCLK) maximum value is equal to the reference clock
one, assuming pre- and post- dividers, configured in ECSPI_CONREG are zeros
(divide by 1). The reference clock is ipg_clk_per  from ecspi_clk_root in the Table 21-5.


Have a great day,
Yuri

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,109 次查看
Yuri
NXP Employee
NXP Employee

  The phrase “max operation frequency up to the reference clock frequency” means,

that SPI output frequency (SCLK) maximum value is equal to the reference clock
one, assuming pre- and post- dividers, configured in ECSPI_CONREG are zeros
(divide by 1). The reference clock is ipg_clk_per  from ecspi_clk_root in the Table 21-5.


Have a great day,
Yuri

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

0 项奖励
回复
1,108 次查看
satoshishimoda
Senior Contributor I

Hi Yuri,

Thank you for your reply.

OK, I understood what is said in the sentence.

By the way, according to datasheet (IMX6SDLCEC Rev.3), ECSPI SCLK cycle time should be 15 ns for write and 43 ns for read.

In the write time, 15 ns < 16.7 ns( = 1/60MHz, ipg_clk_per max frequency), so actual ECSPI write maximum SCLK cycle time is 16.7 ns, is this correct?

In the read time, 43 ns > 16.7 ns, so user should use lower frequency for ECSPI read even if the reference manual chapter 21.1.1 says “max operation frequency up to the reference clock frequency”, is this correct?

Best Regards,

Satoshi Shimoda

0 项奖励
回复
1,108 次查看
Yuri
NXP Employee
NXP Employee

The following FAQ clarifies the issue.

Q&amp;A: What is i.Mx6 ECSPI max frequency?

~Yuri.