SLAAEF9 November 2023 MSPM0L1306
The RL78 and MSPM0 both have internal references which can be used to supply a reference voltage to internal peripherals and only MSPM0 can output internal references to external peripherals.
Feature | RL78 | MSPM0G | MSPM0L |
---|---|---|---|
Internal Reference (V) | 1.45, SBIAS | 1.4, 2.5 | 1.4, 2.5 |
External Reference (V) | 2.4 ≤ VREFP ≤ 5.5 V | External: 1.4 ≤ VREF ≤ VDD | External: 1.4 ≤ VREF ≤ VDD |
Output Internal Reference | Yes | Yes | Yes |
Internally Connect to ADC | Yes | Yes | Yes |
Internally Connect to DAC | Yes | Yes | No |
Internally Connect to COMP | Yes | Yes | No |
Internally Connect to OPA | Yes | Yes | No |
For the MSPM0 VREF, you must enable the power bit, PWREN Bit0 (ENABLE).
VREF Code Examples
Code examples that use VREF can be found in the MSPM0 SDK examples guide.