Questions tagged [stm32]
The STM32 is the third ARM family by STMicroelectronics. It follows their earlier STR9 family based on the ARM9E core, and STR7 family based on the ARM7TDMI core. The STM32 is based on the ARM Cortex-M family of cores.
4,781 questions
0
votes
0
answers
25
views
Unexpected ADC Voltage on Idle Channels in an STM32-Based Multi-Charger Current Sensing Circuit
I have mounted 4 mobile charger modules, which are switching power supplies, onto a single PCB. In my circuit, I’m also using an STM32 microcontroller, and I have enabled 4 ADC channels to read ...
1
vote
1
answer
92
views
STM32 PCB Review 4-layer
This is my first PCB and I just wanted a review or maybe some tips. Its a STM32 PCB with a USB connection and Micro SD card slot. Its a 4 layer with a SGGS stackup. I was just looking for a review or ...
-2
votes
0
answers
47
views
Does STM32H573 support a non-LL HAL for non-octo SPI slave mode?
The STM32H573 SDK includes two HALs: LL and HAL.
I could find only one example using the non-octo SPI in slave mode, but it uses the LL HAL, stm32h5xx_ll_spi.h. Is there a non-LL HAL for non-octo SPI ...
4
votes
2
answers
509
views
DC voltage measurement using microcontroller
I am using a resistor divider of 523 kΩ on the high side and 10 kΩ on the low side. Using an STM32 microcontroller to read the voltage of the supply.
How is the voltage actually being converted to ADC ...
0
votes
0
answers
73
views
STM32F4 interfacing with SD card
Interfacing SD card with STM32 using SPI interface, SD card is 16 GB, and while storing JSON files to SD card it stores up to 50 files in faster rate but after 50-60 files the rate of storing files ...
0
votes
1
answer
74
views
Or-ing power supplies on STM32-based design
I am currently working on an stm32-based design. I am trying to understand how to power the stm32 through USB. We came up with the following solution:
The idea is that +3v3_power is the main rail of ...
2
votes
1
answer
102
views
ADC closer to sensor or MCU if they are connected via longer cable in noisy environment and differential signal?
I am designing a system where I have several daughter boards with voltage or current sensors (several or one on each board).
One board is the master with the MCU.
Because the system is larger and in a ...
0
votes
0
answers
78
views
Getting switch cases to work as intended in STM32 -BluePill
I am using a bluepill, and the final case statement is looping constantly from GO_TO_TOP -> COME_TO BOTTOM -> ROTATE_ACTION, the 'top' variable is being latched to '1' at the GO_TO_TOP case ...
-1
votes
0
answers
78
views
Why does STM32Cube include 2 different HALs with different implementations? [duplicate]
I want to write an application for stm32h573 that uses a single HAL for a combination of peripherals that are not all used in the same STM32Cube example. However, ...
-1
votes
0
answers
36
views
SuperSpeed USB3.0 Peripheral configuration in U-Boot
I am trying to configure U-Boot on a stm32mp257f-dk board so that I can use the “ums” command with SuperSpeed.
After configuring the device tree, I managed to configure the usb3dr as usb3(as it says ...
0
votes
1
answer
104
views
Only blocks appear on the 16x2 LCD connected to the STM32 Blue Pill (STM32F103C8T6) via I2C
As demonstrated by the image above, blocks are displayed on the LCD1, even though I've configured and programmed the Blue Pill STM32F103C8T6 board and connected it ...
0
votes
0
answers
29
views
Why do STM32WL55 example projects have “SingleCore” and “DualCore” versions, but STM32CubeIDE only generates Dual-Core structure
I am working with the STM32WL55CC (48-pin package). When I imported the official STM32CubeWL example projects from ST, I noticed that they provide both SINGLE CORE and DUAL CORE versions. But the ...
0
votes
0
answers
48
views
Safety isolate STM32 from SRAM when power to SRAM drop?
I have an MCU connected to external SRAM (the SRAM powered from battery only and the MCU from another constant supply).
The interface to SRAM is QSPI with max frequency of 104MHz.
I can't guarantee ...
-1
votes
1
answer
143
views
NRST button in the STM32 MCU
I just wanna ask about the rest push button connection. Are there technological reasons for making it active low and not active high?
2
votes
2
answers
342
views
How do tasks in STM32 RTOS execute concurrently?
I'm running three tasks using STM32 RTOS v2. I want to know the time difference between button presses, so I've configured it as follows:
...