DADA SOM/DADA Hardware/Peripherals/GPIOs

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2025/07/08 First release


Peripheral GPIOs[edit | edit source]

The General-Purpose Input/Output (GPIO) peripheral provides dedicated general-purpose pins that can be configured as either inputs or outputs. The GPIO pins are grouped into banks (16 pins per bank and 9 banks per module), which means that each GPIO module provides up to 144 dedicated GPIO. Up to 432 GPIOs (3 modules x 9 banks x 16 pins) are available in the DADA SOM.

Description[edit | edit source]

Each channel in the GPIO modules has the following features:

  • Supports 9 banks of 16 GPIO signals
  • Supports up to 9 banks of interrupt capable GPIOs
  • Interrupts:
    • Can enable interrupts for each bank of 16 GPIO signals
    • Interrupts can be triggered by rising and/or falling edge, specified for each interrupt capable GPIO signal
  • Set/clear functionality: firmware writes 1 to corresponding bit position(s) to set or to clear GPIO signal(s). The firmware processes can toggle GPIO output signals without critical section protection
  • Separate Input/Output registers: GPIO output signals can be toggled by direct write to the output register(s) in addition to set/clear
    • output register reads in output drive status