Search found 239 matches: platformIO

Searched query: platformio

by Ricardowell
Sat Apr 26, 2025 3:18 am
Forum: General discussion
Topic: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6
Replies: 1
Views: 291

Re: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6

... projects with Atmel and ESP8266/ESP32 for a while now. I've purchased a WeAct Studio module with an STM32F446RET6. I use Visual Studio Code with PlatformIO and the Arduino framework for programming. I've tried all the UART/USARTs and I've been able to read the signals on the serial monitor using a ...
by juan
Wed Mar 12, 2025 8:21 am
Forum: General discussion
Topic: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6
Replies: 1
Views: 291

ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6

... projects with Atmel and ESP8266/ESP32 for a while now. I've purchased a WeAct Studio module with an STM32F446RET6. I use Visual Studio Code with PlatformIO and the Arduino framework for programming. I've tried all the UART/USARTs and I've been able to read the signals on the serial monitor using a ...
by kevin192291
Mon Mar 03, 2025 3:30 pm
Forum: General discussion
Topic: STM32L073RZTx + USART4 Doable?
Replies: 2
Views: 356

STM32L073RZTx + USART4 Doable?

... data... but the RX pin (PC11) isn't recieving anything :(
I have been working non-stop on this for 2 days, and am at my wits end.

I am using Platformio with arduinostm32 lib.

Here is what I have tried:
Using SoftwareSerial, no luck, though hardware would be better.
defining it as a ...
by sgordon777
Mon Feb 24, 2025 4:54 pm
Forum: General discussion
Topic: ADC+DMA using stm32 HAL
Replies: 6
Views: 1301

ADC+DMA using stm32 HAL

... in the STMCubeIDE, but NOT arduino: No notifications fire and only one (wrong) value at buffer[0]. I’ve pasted the arduino code below.

IDE: PlatformIO
API: STM32 HAL
Chip: stm32g431kb
Board: NUCLEO32

Thanks in advance!, Steve


****** sketch ******


#include <Arduino.h>
#include <stm32g4xx ...
by MortenGuldager
Sun Dec 29, 2024 4:30 pm
Forum: General discussion
Topic: LowPower on STM32WL55JC
Replies: 2
Views: 515

LowPower on STM32WL55JC

... 100);
}


But when I monitor the current across JP1 (I-SoC) I first see about 6.5mA, which is expected, and then when it hits the LowPower.shutdown(5000); it drops to a little above 500uA

I had hoped for much less, perhaps even down to a few uA.

Suggestions?

I'm using platformio, if that matters.
by umar.techboy
Thu Aug 29, 2024 12:39 pm
Forum: IDE's
Topic: How do I use STM32Duino with Platformio?
Replies: 8
Views: 19090

Re: How do I use STM32Duino with Platformio?

Actually, PlatformIO already has the support.

viewtopic.php?t=2025

There are two catches, 1, you have to add some defines to enable CDC serial and 2, DFU is actually STM32duino bootloader!
by bmentink
Tue Apr 16, 2024 10:11 pm
Forum: General discussion
Topic: How to get to the timer registers to setup center aligned
Replies: 2
Views: 3827

How to get to the timer registers to setup center aligned

Hi all,

I am very new to stm32duino. I have installed the arduino framework in platformio.

So far I have managed to get the stm32f103 bluepill to run at 72Mhz by some PLL code, and I have a PWM with interrupts working.

However for my motor controller project I need 3-phase pwm off the same timer ...
by shbzrozn
Wed Apr 03, 2024 1:43 pm
Forum: IDE's
Topic: Adding STM32Cube init files to platformio
Replies: 0
Views: 11943

Adding STM32Cube init files to platformio

... a project where i'll be using stm32chip and stm32duino to be able to use arduino commands. I want to use the STM32HAL library and i am using platformio. Now i found some reference on how to do this https://github.com/orgs/stm32duino/discussions/1373 , to generate the init config files with stm32 ...
by troyangelo
Mon Feb 26, 2024 9:21 am
Forum: General discussion
Topic: How to use PC14/PC15 as GPIO on STM32F407VGT6
Replies: 6
Views: 6328

Re: How to use PC14/PC15 as GPIO on STM32F407VGT6

... was wrong with my custom board. Then I realized that while I had updated the build variant env, I forgot to also update the board parameter in platformio.ini (such a simple mistake caused me days of headache).

;[env:diymore_f407vgt]
[env:disco_f407vg]
;[env:generic_f407vg]
platform = ststm32 ...
by troyangelo
Tue Feb 20, 2024 11:20 pm
Forum: General discussion
Topic: How to use PC14/PC15 as GPIO on STM32F407VGT6
Replies: 6
Views: 6328

How to use PC14/PC15 as GPIO on STM32F407VGT6

I have a custom board with an STM32F407VGT6 that I have trying to get ports PC14/15 to work as output ports. I am using STM32Arduino with PlatformIO IDE. Setting pinMode and then doing digitalWrite has no effect on those two ports. I suspect it has to do with the fact that those pins are also used for ...

Go to advanced search