SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By arunjoec
#190647
Sir,

I'm using UART 2 as a higher priority interrupt than other UART ports .

I want to know what happen if I use UART 2 Tx while inside a UART2 Rx interrupt Service Routine, will it become a pending interrupt or trigger an Tx interrupt at the same time?
I'm using the UART2 Tx inside a UART2 Rx interrupt to communicate with a GSM module,so for each commands I send I would also get replies and these Replies will also create UART2 Interrupt of same priority.
In this case will it preempt the current Rx Interrupt or become another Rx pending interrupt? or is there any ways to configure this in Cortex M0 devices.