infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: XMC_VADC_GLOBAL_StartupCalibration () does not confirm that CALS becomes 1.

  1. #1
    Beginner Beginner s-ota is on a distinguished road
    Join Date
    Jun 2016
    Location
    Japan
    Posts
    4
    Points
    88.75

    XMC_VADC_GLOBAL_StartupCalibration () does not confirm that CALS becomes 1.

    The function XMC_VADC_GLOBAL_StartupCalibration () in the program below does not confirm that CALS becomes 1.
    If it is not confirmed that CALS becomes 1 when the XMC is broken down, ADC may run without being calibrated.
    Could you apply the correction to check that CALS becomes 1 to XMC_VADC_GLOBAL_StartupCalibration ()?

    https://www.infineon.com/dgdl/Infine...57b8bb39d431d4

  2. #2
    Beginner Beginner s-ota is on a distinguished road
    Join Date
    Jun 2016
    Location
    Japan
    Posts
    4
    Points
    88.75
    This issue was settled.

  3. #3
    New Member New Member rajP is on a distinguished road
    Join Date
    Apr 2020
    Posts
    3
    Points
    37.5
    Hi,

    Could you let me know how this was resolved. I am facing the same issue, where XMC_VADC_GLOBAL_StartupCalibration () is not confirming to CAL =1.
    As a result, the code is stuck in while loop.

    for(i=0U; i< 2U; i++)
    {
    group_ptr = g_xmc_vadc_group_array[i];
    if ( (group_ptr->ARBCFG) & (uint32_t)VADC_G_ARBCFG_ANONS_Msk)
    {
    /* This group is active. Loop until it finishes calibration */
    while((group_ptr->ARBCFG) & (uint32_t)VADC_G_ARBCFG_CAL_Msk)
    {
    /* NOP */
    }


    Thank you,
    Appreciate your time and help.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.