[riot-notifications] [RIOT] cpu/boards: add xmc1100 cpu & board xmc-2go (#3833)

Thomas Eichinger notifications at github.com
Mon Sep 14 16:39:11 CEST 2015


> +     * a software triggered re-calibration sequence is proposed.  The
> +     * proposed startup calibration sequence is:
> +
> +     * Set bit GLOBCFG.SUCAL, GLOBCFG.DPCAL0 and GLOBCFG.DPCAL1
> +     * to 1 */
> +    VADC->GLOBCFG = ((1 << VADC_GLOBCFG_SUCAL_Pos) |
> +                     (1 << VADC_GLOBCFG_DPCAL0_Pos) |
> +                     (1 << VADC_GLOBCFG_DPCAL1_Pos));
> +
> +    /* Wait for the startup calibration to complete by polling bit
> +     * SHSCFG.STATE */
> +    while (SHS0->SHSCFG & SHS_SHSCFG_STATE_Msk);
> +
> +    /* Write value 80008000H to register address 480340E0H and 480340E4H */
> +    *((uint32_t *)0x480340E0) = 0x80008000;
> +    *((uint32_t *)0x480340E4) = 0x80008000;

Also for these.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3833/files#r39401253
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150914/85ae2bf2/attachment.html>


More information about the notifications mailing list