Questions tagged [stm32g]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

How to control BLDC motor in DRV10983 driver to STM32G030F6P6 controller?

Am using in STM32G030F6P6 controller. I use DRV10983 driver IC to control BLDC fan motor. I am new to this driver IC. Can anyone help me know to How to use this DRV10983 Driver IC and communicate with ...
Mr Smile's user avatar
0 votes
1 answer
114 views

Getting started with STM Nucleo boards. Mapping from processor pins to board functionality (like LEDs)

Please tell me if there is a more appropriate group! I'm just starting with STM developmeent using STM32CubeIDE. I have a background in programming (C#/C++/C) on the desktop and some minor experience ...
Dave's user avatar
  • 195
0 votes
1 answer
360 views

The microcontroller (STM32G0 Series) does not work after seting FLASH read protection

I am using STM32G030F6P6 microcontroller. I tried to make flash read protection: ...
red15530's user avatar
0 votes
1 answer
77 views

Is it okay to split the same net to sample an analog signal in two ADCs?

I have an analog signal that comes from another place with a range of 0-1 V, the required resolution should be 10 bit. I want to sample the same signal in two ADCs, the internal ADC of the STM32, and ...
Knowledge's user avatar
  • 391
0 votes
0 answers
129 views

Is this an example of STM32G0 core lockup during software reset?

Using a STM32G0F06 I have a bootloader/application that I am debugging. I am facing a strange problem. Often, I command the app to drop to bootloader (via a software reset). When I execute the ...
macdonaldtomw's user avatar
1 vote
0 answers
465 views

Using multiple ADC-s with DMA simultaneously – STM32

Is there a way to use DMA with multiple ADCs at the same time? I know you can scan multiple channels on one ADC, but I currently use 5 different ADCs on my STM32G4. I use the HAL library function <...
Taavi's user avatar
  • 11
1 vote
0 answers
295 views

STM32G030J6M6 Debug issue

I just bought two STM32G030J6M6 and solder it on my custom board . here is schematic in STM32CubeIde I'm just setting SWDIO/SWCLK pins.. nothing else, Also I ...
Alatriste's user avatar
  • 140
1 vote
0 answers
169 views

USB Power Delivery: How to renegotiate the existing contract

STMicrosystems UM2552 has a paragraph 4.2.2: Send request message A SINK must send a request message to ask for a new power level, the rest of the sequence is identical to AMS power negotiation. How ...
Submin's user avatar
  • 11
0 votes
2 answers
405 views

STM32G030: more smaller and simpler library for software development than HAL/LL/libopencm3/tinygo?

I'm quite a fan of the STM32G030x6/x8 "line" since it is small and fits most of (my) needs as a more modern replacement to the Arduino platform built ...
mythbu's user avatar
  • 177
0 votes
2 answers
2k views

Quantify STM32G4 slow vs fast ADC channels

The STM32 G4 reference manual mentions a concept of slow and fast ADC channel. Quoting from the ADC section of the manual: ...
gg99's user avatar
  • 103
1 vote
1 answer
185 views

Is it feasible to use both MCU UARTs if it only has two?

I love STM32 nucleo boards and they have tons of UARTs. Now want to use two UARTS for protocol conversion (rx at 115200baud, tx at 38400) on a stm32g0316 discovery board that has only two UARTs. How ...
JeromeBu1982's user avatar
1 vote
1 answer
4k views

DMA Continuous Request functionality

What is the difference between these features on STM32G0 "Scan Conversion mode" and "Continuous conversion mode" and "DMA continuous request" features? When you go on CubeIDE you will see these ...
SalPaz's user avatar
  • 95
0 votes
1 answer
132 views

1V on ADC pin with DMA continuous requests

I have a STM32G071 Nucleo Board and also the IC itself. In CubeIDE, I set a pin as ADC and activate DMA and enable the DMA continuous request in the ADC settings. After executing the code and ...
SalPaz's user avatar
  • 95
5 votes
1 answer
1k views

Measuring pulse durations with microsecond precision or better

Problem I'll be receiving pulses and want to know the relative times of pulse start/end with microsecond precision (or better). Pulse characteristics: pulse frequency: probably 1Hz to 10Hz pulse ...
Mark K Cowan's user avatar