i am using ADuCM350EBZ board for impedance measurement board i have applied a infinite loop on impedance measurement section in code but now i want to implement UART interrupt like when ever i press any button from my keyboard, ADuCM350 board will stop impedance measurement.
how can i implement UART interrupt in ADuCM350 impedance measurement code, please guide me . I have already read hardware manual but i could not implement uart interrupt .
I will recommend to start off from our "Uart_CharEcho" example code. By default, this example code is using interrupt mode, you will see the different settings at "adi_uart_config.h"
interrupt function is done inside the "ADI_INT_HANDLER(UART_Int_Handler)" function which can be found under "uart.c"
My UART configuration setting like this.
Settings.BaudRate = ADI_UART_BAUD_115200; Settings.bBlockingMode = true; Settings.bInterruptMode = true; Settings.Parity = ADI_UART_PARITY_NONE; Settings.WordLength = ADI_UART_WLS_8; Settings.bDmaMode = false;
int main (void)
but after using this command "Settings.bInterruptMode = true;" i can not see "Hello World" on UART terminal.
how can i fix this issue??
are you starting from the example code provided? Can you save your whole project file to zip then upload that on this thread?