Search found 1760 matches

by fpiSTM
Sat Mar 23, 2024 5:17 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blink not working on STM32G491 Nucleo board
Replies: 12
Views: 3800

Re: Blink not working on STM32G491 Nucleo board

No. My guess is that error handler is called during the clock config. You can redefine it at sketch level. https://github.com/stm32duino/Arduino_Core_STM32/blob/8f337e8aa4ce0eee00c75b15102b81e09e1b2b6e/variants/STM32G4xx/G491RC(I-T)_G491RE(I-T-Y)_G4A1RE(I-T-Y)/generic_clock.c#L24 Replace WEAK by ext...
by fpiSTM
Fri Mar 22, 2024 5:00 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blink not working on STM32G491 Nucleo board
Replies: 12
Views: 3800

Re: Blink not working on STM32G491 Nucleo board

If you pause you should see where you are. If in error handler the the clock config fails.
by fpiSTM
Fri Mar 22, 2024 3:46 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blink not working on STM32G491 Nucleo board
Replies: 12
Views: 3800

Re: Blink not working on STM32G491 Nucleo board

Maybe system core clock config failed. You should try to debug to see if you reach error_handler.
by fpiSTM
Fri Mar 22, 2024 12:45 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: NUCLEO-WBA52CG
Replies: 10
Views: 2480

Re: NUCLEO-WBA52CG

Got the issue. You select the generic . Select the discovery board menu then the correct part number.
by fpiSTM
Fri Mar 22, 2024 10:54 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: NUCLEO-WBA52CG
Replies: 10
Views: 2480

Re: NUCLEO-WBA52CG

You need to flash the copro binary as stated in the readme.
by fpiSTM
Wed Mar 20, 2024 2:57 pm
Forum: IDE's
Topic: Arduino IDE 2 & Debug feature
Replies: 45
Views: 41541

Re: Arduino IDE 2 & Debug feature

In fact since IDE 2.3.x, the debug has been reworked by Arduino.
I'm currently working to support the new way to support debug svd files.

Ref: https://github.com/arduino/arduino-ide/issues/1920
by fpiSTM
Tue Mar 19, 2024 7:03 pm
Forum: General discussion
Topic: I would like to port GNSS Arduino Library to STM32 CUBE IDE
Replies: 1
Views: 827

Re: I would like to port GNSS Arduino Library to STM32 CUBE IDE

Simply create your main. Then the copy the setup. And finally the loop in an infinite loop. Copy the bsp files in your project and that all folks.
by fpiSTM
Wed Mar 13, 2024 9:38 am
Forum: Libraries & Hardware
Topic: Simplifying I2S Bus Implementation on STM32WL55JC1 with Arduino IDE
Replies: 1
Views: 1563

Re: Simplifying I2S Bus Implementation on STM32WL55JC1 with Arduino IDE

HAL_I2S_MODULE_ENABLED is defined by default. You should check the system core clock config to see of the I2S is correctly configured. Then you can simply call the HAL I2S API. Pay attention to the IRQ handler definition if you are in Cpp file, it have to be prefixed by extern "C". You can...
by fpiSTM
Wed Mar 13, 2024 9:31 am
Forum: General discussion
Topic: SPI.end() hangs on maple mini
Replies: 2
Views: 1010

Re: SPI.end() hangs on maple mini

By default, the SPI instance is mapped to the SPI1, anyway, it is easy to override it to use the SPI2 and linked pins. You can read the wiki: https://github.com/stm32duino/Arduino_Core_STM32/blob/main/libraries/SPI/README.md#change-default-spi-instance-pins So first way is simply to change pins at r...
by fpiSTM
Mon Mar 04, 2024 8:11 am
Forum: Let us know a bit about you and your projects
Topic: hi, Yves from Brest in Brittany.
Replies: 1
Views: 1062

Re: hi, Yves from Brest in Brittany.

Bonjour Yves et bienvenue.
You can find here an example of cube project to Arduino.
viewtopic.php?p=669#p669

Go to advanced search