Search found 4 matches
- Sat Mar 25, 2023 10:10 am
- Forum: General discussion
- Topic: STM32f103xx External Interrupt using register - not working
- Replies: 7
- Views: 1371
Re: STM32f103xx External Interrupt using register - not working
Maybe a cache issue linked to arduino IDE. I got several with new version 2.x So, how do we slove this issue? What is the correct way of using external interrupt through register manipulation? And how to use the build_opt.h file correctly? Do I create header file called "build_opt" becaus...
- Sat Mar 25, 2023 9:35 am
- Forum: General discussion
- Topic: STM32f103xx External Interrupt using register - not working
- Replies: 7
- Views: 1371
Re: STM32f103xx External Interrupt using register - not working
EXTI4_IRQHandler is alread defined by the core interrupt part https://github.com/stm32duino/Arduino_Core_STM32/blob/5a3f412d385c386eb421ede38c4223dbab5d83df/libraries/SrcWrapper/src/stm32/interrupt.cpp#L371 So if you want use it you have to disabled it by defining: HAL_EXTI_MODULE_DISABLED https://...
- Sat Mar 25, 2023 3:02 am
- Forum: General discussion
- Topic: STM32f103xx External Interrupt using register - not working
- Replies: 7
- Views: 1371
Re: STM32f103xx External Interrupt using register - not working
This line:
Code: Select all
EXTI->IMR |= (1 << 4);
- Fri Mar 24, 2023 6:16 pm
- Forum: General discussion
- Topic: STM32f103xx External Interrupt using register - not working
- Replies: 7
- Views: 1371
STM32f103xx External Interrupt using register - not working
Hi everyone, I am using STM32F103C8 blue pill board with arduino ide - stm32duino official core. I am trying to configure the external interrupt on pin PB4, according to the datasheet. However, seems like i have missed something or it doesn't work at all. This is the piece of code I am using for tes...