Hello Dialog,
I am getting a hardfault error when using the UART2_Handler_func method in uart2.c. The interrupt handler enters uart2_rec_data_avail_isr() (when some data comes in) and then hardfaults somewhere in the uart2_rxdata_getf() method. How can I avoid this and get some data out of my UART2?
Thanks,
svl0822

Hello,
I got this hardfault too, is there any solution for that ? do anybody knows the cause ?
Thanks,
Hi bensalemsaif,
Please use the UART2_Handler() in order to get the interrupts from UART2. As far as i can see in the SDK there is no implementation for UART_Handler_func() and i haven't seen a hard fault occuring when using theUART2_Handler.
Thanks MT_dialog
Hello! Dialog.
请详细描述我意味着什么n.
I'm sorry, please attach the modified source.
Thanks,
Hi 3alogics,
What is the issue that your have, please try to be descriptive about what you are experiencing ? There is no modification needed in order to use the interrupts from the UART, just check the uart2_async in the peripherals example in the SDK.
Thanks MT_dialog