UART as wake up source

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

UART as wake up source

822 次查看
vishakh
Contributor III

I am using UART as wake up source in linux kernel 2.6.35.3.

If I send 300 bytes from the system to the board when board is in low power state, in board side first 36 bytes are missing after system wake up.

Is this the expected behavior or else will I be  able to receive all the data sent while resuming from low power mode to normal mode?

Regards,

Vishakh

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

609 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vishakh

first byte may be missed, this is expected behaviour,

if you are using dma (dma is made up of a 36-byte fifo), below patches are recommended.

iMX53 dma and uart

Best regards

igor

0 项奖励

609 次查看
vishakh
Contributor III

Hi Igor,

Thank you for the reply.

I tried to increase the UART3_DMA_RXBUFSIZE  to 2048. But this is not solving the issue.

As I increase the baud rate, more bytes are missing.

Will you please let me know is there any other way to solve this issue?

It will be helpful if you explain how UART will receive the data on imx53 while resuming from the suspended state.

Regards,

Vishakh

0 项奖励

609 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vishakh

are you using flow control for DMA ?

UART flow control should be used for DMA.

~igor

0 项奖励