Can Nano UART be coded as an interupt?

hello shravya.boggarapu1,

may I know what’s your actual use-case?

by default, we are using interrupts to handle UART Rx/Tx data in linux.
you should also check below public sources for reference,
$L4T_Sources/r32.5/Linux_for_Tegra/source/public/kernel/kernel-4.9/drivers/tty/serial/serial-tegra.c

there’s an Interrupt Enable Register (IER) for each UART. the Interrupt Enable Register(s) masks the incoming interrupts from the receiver ready, transmitter empty, line status, and modem status registers to the INT output pin.
it shows an example to enable Rx interrupts by writing IER register. please check Topic 166269 as see-also,
thanks

1 Like