SLAU929 April 2024 MSPM0C1104 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0L1105 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1304 , MSPM0L1305 , MSPM0L1306 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
The Microchip AVR and MSPM0 both have internal references that can be used to supply a reference voltage to internal peripherals and output to external peripherals.
Feature | ATmega | ATtiny | MSPM0G | MSPM0L MSPM0C |
---|---|---|---|---|
Internal Reference (V) | 1.1 |
1.024, 2.048, 2.500, 4.096, VDD |
1.4, 2.5 | 1.4, 2.5 |
External Reference (V) | Up to VDD | Up to VDD | External: 1.4 ≤ VREF ≤ VDD | External: 1.4 ≤ VREF ≤ VDD |
Output Internal Reference | No | No | Yes | Yes |
Internally Connect to ADC | Yes | Yes | Yes | Yes |
Internally Connect to DAC | N/A | N/A | Yes | No |
Internally Connect to COMP | No | Yes | Yes | No |
Internally Connect to OPA | N/A | N/A | Yes | No |
For the MSPM0 VREF, you must enable the power bit, PWREN Bit0 (ENABLE).
Code examples that use VREF can be found in the MSPM0 SDK examples guide.