I’m using UART to communicate with another device, I can write data but problem in reading the data, I’m calling the function read(uart_fd, read_buf, size) but after some time it stops receiving data.
In the terminal I see:
irq 50, desc: cefcd780, depth: 0, count: 0, unhandled: 0
->handle_irq(): c026f6d4, msm_gpio_irq_handler+0x0/0x150
->irq_data.chip(): c0f4eb98, gic_chip+0x0/0x74
->action(): (null)
IRQ_NOPROBE set
IRQ_NOREQUEST set
IRQ_NOTHREAD set
Which module are you using ?
I remember in WP77 R8, the UART will go to sleep mode after some time.
Maybe you can have a try on R9 FW.
Or you can try using a timer to periodically wake up the UART;