Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 226805

Forum Post: RE: MSPM0G3507: ADC value update freeze, using DMA.

$
0
0
Hi Bruce, Actually I have earlier tested this without the J1939_CAN_Transmit(). I was just using the ADC1_IRQHandler() as mentioned below. The issue persisted in this too. The CAN transmit was implemented just for the debugging purpose at later point of time. void ADC1_IRQHandler(void) { switch (DL_ADC12_getPendingInterrupt(ADC1)) { case DL_ADC12_IIDX_DMA_DONE: xMCAL_DmaAddrConfig(DMA, xMCAL_AdcgetMemaddress(ADC1),(uint32_t)&adc_raw_value.u16_gADCSamples[0]); ecu_al_measurements_load_conversion(); break; default: break; } } Following this concern let me test the firmware with reducing the load from ecu_al_measurements_load_conversion too and we'll check the behavior.

Viewing all articles
Browse latest Browse all 226805

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>