Other Parts Discussed in Thread: EK-TM4C123GXL
I am trying to just simply read the temperature sensor from the ADC0 with uDMA, then read it over UART.
Here is my code: https://paste.ofcode.org/37m72pGspzZ47eUVU5mMmwq
Every time I go into calculate temperature, and the ADC gets triggered, the uDMA goes into a bus error. I have no idea what I am doing. I am trying to understand uDMA and how to use it, but this simple program is killing me. I've already tested to see if it works without UDMA. I also know that I'm only using one register in the AVG, just trying to start small then plan on adding the others when I get one to work.
I have read others people code and problems, and I feel like I have done everything they have suggested. Maybe not. What am I blatantly missing? I appreciate any help. Thank you very much.