UART as wake up source

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART as wake up source

819件の閲覧回数
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 返答(返信)

606件の閲覧回数
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 件の賞賛

606件の閲覧回数
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 件の賞賛

606件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vishakh

are you using flow control for DMA ?

UART flow control should be used for DMA.

~igor

0 件の賞賛