Wake up by the port interrupt does not work

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

Wake up by the port interrupt does not work

804 次查看
tetsuomaeda
Contributor III

Hi everyone!

My colleague is facing a problem regarding the u-boot procedure.
When requested, our system needs to enter “deep sleep mode” during u-boot process.
The system needs to wake up through the interrupt at the rising edge of “GPIO3_IO27”.
Before the system goes to "deep sleep mode", DDR is set to “self-refresh,” and the interrupt program and the vector table are copied to IRAM.
We have designed so that when “GPIO3_IO27” interrupt occurs the interrupt program in IRAM will start.
But, this mechanism does not work. In other words, the system does not wake up at the rising edge of “GPIO3_IO27”.
We are afraid there are basic misunderstandings in our thought.
We would appreciate any comments regarding the above procedure.

Regards,

Tetsuo Maeda

标签 (1)
0 项奖励
4 回复数

676 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Tetsuo

uboot does not support interrups and wake-ups, linux supports it.

Please refer to linux documentation included in doc package

http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

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

0 项奖励

676 次查看
tetsuomaeda
Contributor III

Thanks Igor.

We've understood that u-boot does not support interrupts and wake-ups.

Are there any methods that achieve the same behavior during u-boot as Linux?

We would like to do so in order to simplify the system configuration.

Thanks in advance for your advice.

Regards,

Tetsuo Maeda

0 项奖励

676 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Tetsuo

uboot is developed and maintained by its vendor - denx

and this may be posted on uboot mail list

U-Boot Info Page 

Best regards
igor

676 次查看
tetsuomaeda
Contributor III

Hi Igor-san,

Thank you very much for the advice.

I'll contact denx when necessary.

Regards,

Tetsuo Maeda

0 项奖励