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.

MCU-PLUS-SDK-AM263X: MCU_SDK 10 hangs during System_init when more than one ADC is added in syscfg

Part Number: MCU-PLUS-SDK-AM263X

Tool/software:

I am building a very simple test application to assist to board bringup.  It configures most of the IO pins as either input or output.  I am adding the 3 ADC in syscfg so that we can verify the analog inputs.  I added one ADC did not configure it, did not use it.  The application runs as it did before.  I added a second ADC again did not configure or use.  The application now hangs in System_init() ClockP_getTimeUsec().  

  • I have more information for this issue.  This is using AM263x MCU+SDK 10.0.0.35, CCS 12.8.1, Syscfg 1.22

    I have added 1 ADC, ADC1 not the default ADC0.  The application fails Asserts in the generated file ti_drivers_config.c.  The following is the ADC specific section.

    /* ADC Reference and Monitor Configurations */
    {
    /* Internal Reference Buffer 1, corresponds to ADC instance 1 is enabled */
    SOC_enableAdcInternalReference(1, TRUE);
    ClockP_usleep(800);
    /* Monitor control is enabled for buffer 1 */
    SOC_enableAdcReferenceMonitor(1, TRUE);
    /* Wait for ClockP_sleep */
    ClockP_usleep(1);
    /* Assert the monitor status! */
    DebugP_assert(SOC_getAdcReferenceStatus(1) == true);
    }

    The debug assert is signaled.

    I have been able to recreate the problem with the qspi_flash_diag example application from the SDK.  I can share the zip of the project.

  • Hi Jeffrey,

    This should be fixed in SDK 10.1, you can get it from here: https://www.ti.com/tool/MCU-PLUS-SDK-AM263X#downloads

    You could still share the zip with me and I will try the same configuration from my side as well, just to confirm it's working.

    Regards,
    Akshit

  • Akshit,

    I will try SDK 10.1 shortly.  How do I send the project ZIP file?

  • You can,

    • Open your project in CCS.
    • Right click on your project in CCS Project Explorer > Export.
    • Expand the "General" category.
    • Select "Archive File".
    • Choose the project you want to export.
    • Select "zip" as the archive format.
    • Specify a destination and filename for the zip file.
    • Click "Finish"

    Regards,
    Akshit

  • Akshit,

    Thank you for the response.  I tested SDK 10.1.  It changed the failure to the DebugAssert for the ADC Internal Ref. We reviewed our hardware and realized that we had not connected the external VREF pins together.  It appears that SDK 10.1 solved our issue.