2020-03-01 11:39 PM
I am using STM32H743 nucleo board for the purposes mentioned below. I create the project using Cubemx version 5.3.0 and STM firmware is 1.6.0
* Creating TTL Output signals
* Reading TTL Input Signals
*UART-DMA Receive&Transmit
*PWM (100us PW, 1ms Period)
*ADC-DMA ( Detecting analog signals.) (One-shot 1000 byte data)
I used UART with DMA both tx and rx modes. If I dont use ADC-DMA, everthing works correctly without any fault. I send 10byte data to MCU via FTDI converter. All peripherals work as expected.
When I send a command in order to start HAL_ADC_Start_DMA, hard fault occurs. I tried to debug and I saw that ADC takes datas to buffer correctly but then HAL_UART_Receive_DMA does not work correctly because it is busy all time so system gives hard fault.
I attached main, it and msp.c files. Thanks for your support.