This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSCNCD263: MCAL_AM263x_00.09.00_07 - ADC MCAL Example software running issue.

Part Number: TMDSCNCD263

Hi Team,

We bought MCAL package - MCAL_AM263x_00.09.00_07

We tried to run the ADC example software MCAL_AM263x_00.09.00_07, when we tried to run the software DET error reported. I have attached the snippet from the error, 

Could you please guide us to resolve this issue ASAP. thanks.

  • Hi,

    I'm looking into this thread and I'll come back by Monday EOD as it's weekend. 

    Thanks

  • Hi,

    I have ran the adc_app out of the box example from MCAL 09.00.07 release and it runs fine on my AM263x-CC card. I have following queries to narrow down the issue

    1. Did you run this example on a custom board or AM263x-CC card?

    2. Did you change any configurations in the Adc_Cfg.h file (ex: like enabling DMA mode macros, etc.,)

    3. Did you run the exact adc_app from the MCAL package without any changes? If not please post the changes you made.

    Thanks,
    G Kowshik

  • 1. Did you run this example on a custom board or AM263x-CC card?

    Answer: Yes, we run the ADC example E2 version of AM263x - CC card

    2. Did you change any configurations in the Adc_Cfg.h file (ex: like enabling DMA mode macros, etc.,)

    Answer: No , There is no changes in configuration we tried GPT, MCU, everything working fine. ADC reported error alone.

    3. Did you run the exact adc_app from the MCAL package without any changes? If not please post the changes you made

    Answer: Yes, no changes in configuration

  • Hi Vivek,

    That's strange, the same app without any changes run fine on my board. Can you send me the Adc_Cfg.c or PBCfg.c files and ADc_Cfg.h files so i can do a compare at my side?

    Also, please perform a PORz reset and try to run this app couple more times to see if you're still receiving the DET errors.

    Thanks

  • Hi Kowshik,

    Sorry for the inconvenience, we made some changes in EB config and forgotten to revert back, that is the main reason the DET error are reported. I hope now issue resolved and working fine now. Please verify mentioned attached below snippet is correct are wrong. for sample adc_app result. thanks

    From the above result is showing the ADC DMA application log. Could you please advise how to see the group conversion in ONE SHOT MODE.

  • Hi Kowshik,

    Sorry for the inconvenience, we made some changes in EB config and forgotten to revert back, that is the main reason the DET error are reported. I hope now issue resolved and working fine now. Please verify mentioned attached below snippet is correct are wrong. for sample adc_app result. thanks

    From the above result is showing the ADC DMA application log. Could you please advise how to see the group conversion in ONE SHOT MODE. as mentioned in the ADC example test.
      

  • Hi Vivek,

    You need to change the adcConvMode and accessMode to single shot as shown below to change into One-shot. Also, the user guide seems to be a bit old, I'd recommend switching to the latest AM263x_08.06.02 release and try out these because multiple bug fixes has been performed in it. 

    Thanks,
    G Kowshik