[riot-notifications] [RIOT-OS/RIOT] cpu/saml21: set PL2 by default (#11502)

Dylan Laduranty notifications at github.com
Wed May 8 22:23:01 CEST 2019


### Contribution description

This PR set SAML21 to use Performance level 2 since by default, all SAML21-based board are running at 16MHz. According to its [datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/60001477A.pdf), SAML21 must use PL2 when CPU clock is above 12MHz.
More details in Table 46-6. Maximum Peripheral Clock Frequencies

NVM Wait states can stay to its default value (0) as VDDIN is > 2.7 V

### Testing procedure

Run any test you want, SAML21/SAMR30 should be alive.


### Issues/PRs references
None.
<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11502

-- Commit Summary --

  * cpu/saml21: set PL2 by default

-- File Changes --

    M cpu/saml21/cpu.c (5)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11502.patch
https://github.com/RIOT-OS/RIOT/pull/11502.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11502
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190508/6e3a2a1b/attachment.html>


More information about the notifications mailing list