Hi,
I have been stuck on getting the interrupt to work with keil using CMSIS.
I keep getting the following:
Error: L6200E: Symbol USART3_IRQHandler multiply defined (by usart_lpc43xx.o and main.o)
void USART3_IRQHandler() { NVIC_DisableIRQ(USART3_IRQn); NVIC_ClearPendingIRQ(USART3_IRQn); Value ++; NVIC_EnableIRQ(USART3_IRQn); } void UART_Interrupt_Init() { LPC_USART3->IER = 0x03; NVIC_EnableIRQ(USART3_IRQn); }
I have been trying to get this to work for days now.
I successfully got interrupt to work with LPCopen, code without CMSIS etc...
But as I have a big portion of my code using CMSIS i would like to continue using CMSIS.
Does anyone have a very basic USART3_IRQHandler() example using CMSIS Please?
Or maybe just try a simple test and see if CMSIS UART Interrupt works, as i have tried using different attempts with no luck.
I also cannot find any useful examples with CMSIS and Uart interrupts.
Could some one please help me.
Thank you
So if this is your code in main.c then consider commenting out the code in the other source file to remove the conflict?