GPIO wait states

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

GPIO wait states

跳至解决方案
1,168 次查看
andresgonzalez
Contributor II

Hi.

In the i.MX6 Solo reference manual it is mentioned the following for the GPIO pad status register.

Two wait states are required any time this register is accessed for synchronization.

However we don't understand what that exactly means and also if this require any special action from the software when reading the register.

If somebody can help us answering the following questions we would be very grateful.

  • Does this mean that the hardware takes two wait states to synchronize  the register once the GPIO pin changed?.
  • What considerations should the software take to account for these wait states?.
  • How long a wait state is?.

Thanks.

标签 (6)
标记 (4)
1 解答
978 次查看
gusarambula
NXP TechSupport
NXP TechSupport

The legends “Two wait states are required in read access for synchronization” in regards of the GPIO Interrupt status register refers to the internal port implementation and it’s not user configurable. It refers more to the latency when it comes to interruption and required no additional actions by the software.

You may find the timing characteristics of the GPIO pins on the i.MX6S Datasheet (link below) on Figure 6 and table 28. I would take these transitions as a “wait state” sort of speak, but If I find a more well rounded definition I’ll let you know.

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf

在原帖中查看解决方案

2 回复数
979 次查看
gusarambula
NXP TechSupport
NXP TechSupport

The legends “Two wait states are required in read access for synchronization” in regards of the GPIO Interrupt status register refers to the internal port implementation and it’s not user configurable. It refers more to the latency when it comes to interruption and required no additional actions by the software.

You may find the timing characteristics of the GPIO pins on the i.MX6S Datasheet (link below) on Figure 6 and table 28. I would take these transitions as a “wait state” sort of speak, but If I find a more well rounded definition I’ll let you know.

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf

978 次查看
andresgonzalez
Contributor II

Thanks for your help gusarambula.

In the case of the GPIO data register and GPIO pad status register, these wait times would be the time for the pin to reflect the output and for the register to reflect the input respectively. Am I right?.

Thanks for your help.

0 项奖励
回复