OK, I'm going to give Arduino another shot when the H7 board / CPU arrives.
I found a STM32H743VI board for $17 on Amazon. Wish me luck !
Search found 8 matches
- Fri Jul 18, 2025 3:21 pm
- Forum: General discussion
- Topic: Debugging H5 and/or H7 from within Arduino IDE: Can't get it to work
- Replies: 5
- Views: 1307
- Fri Jul 18, 2025 1:50 pm
- Forum: General discussion
- Topic: Debugging H5 and/or H7 from within Arduino IDE: Can't get it to work
- Replies: 5
- Views: 1307
Debugging H5 and/or H7 from within Arduino IDE: Can't get it to work
I've been pulling my hair out over this... all I want to do is debug my code from within the Arduino IDE.
I tried this on my H523. After adding the section to boards.txt and adding a linker script, I can build/compile/upload no problem. When trying to debug though, I'm running into a bunch of ...
I tried this on my H523. After adding the section to boards.txt and adding a linker script, I can build/compile/upload no problem. When trying to debug though, I'm running into a bunch of ...
- Fri Jul 18, 2025 1:36 pm
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
Re: STM32 noob needs help with STM32H523V project
OK, I was getting similar results. With ICACHE turned on, I was getting about 120ns from the rising edge of my input signal until the output started rising. That's bypassing the HAL for the interrupt code.
Unfortunately, the test-socket I purchased on AliExpress was a piece of junk (yes, I should ...
Unfortunately, the test-socket I purchased on AliExpress was a piece of junk (yes, I should ...
- Sat Jul 12, 2025 1:12 am
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
Re: STM32 noob needs help with STM32H523V project
I got to do another test to see what sort of delay you would get going directly into your ISR instead of going via the attachInterrupt callback. To do this all I did was set a GPIO pin high in the stm32duino ISR, and with my attachInterrutp callback still in place, set the same GPIO pin low again ...
- Tue Jul 08, 2025 6:01 am
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
Re: STM32 noob needs help with STM32H523V project
The vector comes from an assembly .s module, which of course ends up in flash with your code and everything else. For your processor, it looks like it would be startup_stm32h523xx.s, which on my system is in . ..STMicroelectronics\hardware\stm32\2.10.1\system\Drivers\CMSIS\Device\ST\STM32H5xx ...
- Mon Jul 07, 2025 6:58 pm
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
Re: STM32 noob needs help with STM32H523V project
For the interrupt, I'm planning on giving them the highest priority, to preempt other interrupts from messing me up. I only have about 500ns in my handler to read some GPIO, do some "math" and then write some GPIO, so I'd like to write that code in assembler:
void irq_handler() {
asm volatile ...
void irq_handler() {
asm volatile ...
- Fri Jul 04, 2025 6:24 pm
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
Re: STM32 noob needs help with STM32H523V project
EXTI (external interrupts) ISR normally can't run too fast, usually has some limits say like (well) below 1 mhz. code latencies etc.
I didn't see anything in the documentation that led me to believe that an ISR from an external interrupt would be much slower than a peripheral interrupt, can ...
- Wed Jul 02, 2025 4:28 pm
- Forum: General discussion
- Topic: STM32 noob needs help with STM32H523V project
- Replies: 17
- Views: 4776
STM32 noob needs help with STM32H523V project
Hi all,
I'm new to the STM32, I'm more of an 8-bit AVR guy and now I've grown up and want to play with the big boys.
My project requires a lot of I/O, so I landed on the STM32H523VE. I'm developing in the Arduino IDE, and I think I've managed to get the IDE set up, more or less. I'm not using any ...
I'm new to the STM32, I'm more of an 8-bit AVR guy and now I've grown up and want to play with the big boys.
My project requires a lot of I/O, so I landed on the STM32H523VE. I'm developing in the Arduino IDE, and I think I've managed to get the IDE set up, more or less. I'm not using any ...