[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
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:


-- Commit Summary --

  * cpu/saml21: set PL2 by default

-- File Changes --

    M cpu/saml21/cpu.c (5)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- 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