Questions tagged [stm32g]
The stm32g tag has no usage guidance.
14
questions
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 ...
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 ...
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:
...
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 ...
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 ...
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 <...
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 ...
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 ...
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 ...
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:
...
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 ...
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 ...
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 ...
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 ...