Hard Fault on UART receive Interrupt in NUCLEOF413ZH!
- October 18, 2019
- 2 replies
- 40170 views
Hi All,
I'm working on a project wherein I required multiple UART. So, as suggested on my previous question, I've brought the NUCLEOF413ZH. Unfortunately, this NUCLEO has several issues. Currently, I'm using all the 10 UART, but some of them having "hard fault" on receive Interrupt (there is no issue with my buffer management because code flow is not even entering the IRQ functions) and some of them printing GARBAGE on transmit line. I've checked everything but couldn't find anything wrong with my code!
Still, if anyone could review my code whether is there anything wrong with my initialization part or some predefined macros, library or controller issues.
Moreover, can anyone suggest me a suitable crystal value for this board, which could fit perfectly and I can get 100Mhz system clock.
Board: NUCLEOF413ZH
Library: Standard peripheral libraries (STM32F4xx_DSP_StdPeriph_Lib_V1.8.0).
ID: Keil uV5.0.