Hi, I'm trying to set up a tcp socket first before I want to sample my ADC using uDMA to transfer the data to a buffer. The tcp socket code is running as a task with a priority of 1 and the HWI with a priority of 1. I call Hwi_disable() before BIOS_start() but it didn't stop the Hwi from running. I tried to call Hwi_disable() at the start of my Hwi interrupt handler but it crashed the program with this:
FSR = 0x0008
HFSR = 0x40000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Is there anyway I can dynamically change the way the HWI runs and tcp task runs. I basically want to be able to set up the tcp socket, once that's done, I want to sample the ADC and store them and then block the HWI and try to send the samples in the tcp task handler? As an aside, I'm using a TM4C1294XL.