-
while i can associate said another way, how can i receive a CPU interrupt on the rising- and/or falling-edge of some GPIO???? my domain-of-interest are "sleepy SoCs", which spend most of their time in a low-power state awaiting some external event.... while timers are often used here, input GPIOs provide a (better) way to awaken the CPU "immediately".... and no, i don't want to tie my GPIO to reset!!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The GPIO module does not provide any interrupt features at all. However, you can connect your buttons also to the External Interrupt Controller (XIRQ) to add individual interrupt capabilities. |
Beta Was this translation helpful? Give feedback.
works just fine -- though this is quite different from almost every MCU (risc-v or otherwise) i've seen.... perhaps i'm still getting used to FPGAs versus ASICs; the "hard" nature of the latter forces software to configure an individual GPIO (input, pullup, edge-triggered, etc) at runtime....
in the general case with ASICs, each GPIO cannot only serve as an input or output pin but i can also have an "alternative" function such as UART_TX or SPI_CLK.... but if your final target is in fact an FPGA, then by all means we should specializing the function of each pin....
given my interest in "minimalist" silicon, however, this approach certainly has merits if a downstream ASIC is lower-cost, lo…