UMSAE-Formula-Electric / SCU

Sensor Control Unit
0 stars 0 forks source link

DMA, ADC with FreeRTOS Error Fix #34

Open Sedkian opened 9 months ago

Sedkian commented 9 months ago

I have figured that our 16 ADC channel read has a bug where only the first channel is read correctly. Also, the channels will keep on shifting within the ADC reading array. I am still trying to figure the issue here.

Sedkian commented 9 months ago

Okay I got fixed:

Now, I am having a new problem where ADC_CHANNEL_2, ADC_CHANNEL_3 are always reading the full voltage. They basically are not working.

Sedkian commented 1 month ago

VCU now has a working ADC conversion with DMA. Use it as a reference for the other units.