Hello,
I have 2 mains tasks:
- ADCStoreData: I am using an ADC with DMA, with SCAN and CONTINOUS modes ENABLED. DMA continous requests is ENABLED also. I am saving 4 channels values in a buffer tmp[NBR_OF_CHANNELS][NBR_OF_SAMPLES].
- MQTTSendData: I am getting the tmp buffer and then sending it to MQTT.
I got an hard_fault_IT()
I just got the first data of the first channel stored than the HARD_FAULT occurs.
This is MQTT send task, I am using a Semaphore.
Appreciate any help!