SLAAEF9A November 2023 – May 2025 MSPM0C1104 , MSPM0G3507 , MSPM0H3216 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1306 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
MSPM0 GPIO functionality covers all the features provided by RL78G. RL78 uses the term pin functions and port function to refer to all the functionality responsible for managing the device pins, generating interrupts, and so forth. Here is the description of MSPM0 GPIO and IOMUX function:
Together MSPM0 GPIO and IOMUX cover the same functionality as RL78 port function and pin function. Additionally, MSPM0 offers functionality not available in RL78 devices such as DMA connectivity, controllable input filtering and event capabilities.
| Feature | RL78 | MSPM0 |
|---|---|---|
| Output modes | Pullup Open drain with N-ch |
Push-pull with pullup or pulldown Open drain with pulldown Hi-Z |
| Input modes | Pullup Input threshold level CMOS or TTL input buffer Analog |
Floating Pullup or pulldown Analog |
| GPIO speed selection | No | MSPM0
offers Standard IO (SDIO) on all IO pins. MSPM0 High-Speed IO (HSIO) is available on select pins. |
| High-drive GPIO | Depending on the port and chip type, the maximum is approximately 56mA at Vdd=5V, and 13.3mA at Vdd=3.3V | Approximately 20mA at Vdd=3.3V, called High Drive IO (HDIO) |
| Atomic bit set and reset | Yes | Yes |
| Alternate functions | Use PIOR register | Use IOMUX |
| Fast toggle | No | MSPM0 can toggle pins every clock cycle |
| Wake-up | No | GPIO pin state change |
| GPIO controlled by DMA | No | Only available on MSPM0 |
| User controlled input filtering to reject glitches less than 1, 3, or 8 ULPCLK periods | No | Only available on MSPM0 |
| User controllable input hysteresis | No | Only available on MSPM0 |
GPIO Code Examples: information about GPIO code examples can be found in the MSPM0 SDK examples guide.