Many apologies for my delay in replying.
Read GPIO_STATUS_REG (0×0044) to check if GPIO interrupt is generated.
I tried this, it had bit 22 set as expected.
Set INTMTX_CORE0_CPU_INTR_FROM_CPU_0_MAP_REG (0×001C) to 1, then set INTPRI_CPU_INTR_FROM_CPU_0_REG (0×0090) to 1, to check if CPU ...
Search found 4 matches
- Wed Sep 11, 2024 11:29 am
- Forum: Documentation
- Topic: Can't get interrupt from GPIO pin
- Replies: 7
- Views: 21136
- Mon Aug 19, 2024 9:51 am
- Forum: Documentation
- Topic: Can't get interrupt from GPIO pin
- Replies: 7
- Views: 21136
Re: Can't get interrupt from GPIO pin
In TRM 1.6.3.2(1), it says "save the state of MIE and clear MIE to 0". I had assumed that it meant the MIE CSR, but maybe it meant the MIE bit in MSTATUS?
I’ve tried this, but it made no difference.
I did notice that when I began the procedure, MSTATUS had both MIE and MPIE set, which is I think ...
I’ve tried this, but it made no difference.
I did notice that when I began the procedure, MSTATUS had both MIE and MPIE set, which is I think ...
- Fri Aug 16, 2024 4:46 pm
- Forum: Documentation
- Topic: Can't get interrupt from GPIO pin
- Replies: 7
- Views: 21136
Re: Can't get interrupt from GPIO pin
Apologies for late reply: I was on leave.
You're quite right about my referencing GPIO_1 at the end; I meant GPIO_3.
I will point you to my code, but it's in Ada, so may not help much.
Setting up interrupts: https://github.com/simonjwright/FreeRTOS-Ada/blob/master/esp32h2/adainclude/s-iemiha.adb ...
You're quite right about my referencing GPIO_1 at the end; I meant GPIO_3.
I will point you to my code, but it's in Ada, so may not help much.
Setting up interrupts: https://github.com/simonjwright/FreeRTOS-Ada/blob/master/esp32h2/adainclude/s-iemiha.adb ...
- Fri Jul 26, 2024 3:02 pm
- Forum: Documentation
- Topic: Can't get interrupt from GPIO pin
- Replies: 7
- Views: 21136
Can't get interrupt from GPIO pin
I'm working on a bare-metal code for the ESP32-H2, and I can't get an interrupt from a GPIO pin. If this is the wrong place to raise this, I'm sorry - where should I raise it?
Using the Technical Reference Manual Pre-release v0.4. (0.5 doesn't have any updates in sections 1, 6, 9)
Enabling the ...
Using the Technical Reference Manual Pre-release v0.4. (0.5 doesn't have any updates in sections 1, 6, 9)
Enabling the ...