UART as wake up source

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART as wake up source

770 Views
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

Labels (1)
0 Kudos
3 Replies

557 Views
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 Kudos

557 Views
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 Kudos

557 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vishakh

are you using flow control for DMA ?

UART flow control should be used for DMA.

~igor

0 Kudos