All Questions
4,773 questions
-1 votes
0 answers
16 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
94 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
47 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
131 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
324 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: ...
0 votes
1 answer
96 views
FR_DISK_ERR from f_write on an STM32L432KC with SPI
I have been attempting to get f_write to work on an SD card through SPI with an STM32L432KC using Elm Chan's code as a base. The error I am getting is FR_DISK_ERR ...
0 votes
1 answer
74 views
USB CDC on STM32F4 disconnects when controlling 3-phase motor; STM32 runs, PC can’t detect USB
Here is my setup STM32F401CCU6 WeAct Blackpill, which controls A 3.3V-24V Optocoupler, which controls A Siemens 3-phase contactor to switch a 400VAC induction motor, with flyback diode on the ...
-3 votes
1 answer
92 views
STM32F4 controlling power MOSFET
I need to control an N-channel power MOSFET (STD12NF06LT4), but the micro STM32F446 cannot do it by connecting the pin directly to the gate. I've heard about PMOS controlling NMOS but I can't find ...
6 votes
2 answers
685 views
UART on custom STM32 Microcontroller board outputs garbage data
Recently, got a custom STM32F103CBT6 microcontroller board manufactured and got a basic GPIO pin to blink an LED. However, once I started trying to output simple messages via a UART port, using a HC-...
0 votes
1 answer
85 views
Design Review STM32G0B1CET6
I’m working on my first prototype board and wanted to make sure there aren’t any major issues with my design before I move on to the layout stage. I believe I’ve got most things right, but I’m a bit ...
0 votes
0 answers
55 views
How to connect OV2640 pins?
Source: https://randomnerdtutorials.com/esp32-cam-ai-thinker-pinout/ I'm trying to connect OV2640 to STM32 using DCMI. Of course, I tried to connect d0 = do(yo), d1 = d1(y1). However, after looking up ...
2 votes
1 answer
92 views
STM32H573 code protection
I am considering porting a commercial design to STM32H573. The datasheet and manual describe a PRODUCT_STATE "option byte" located in FLASH memory. This "option byte" is discussed ...
0 votes
2 answers
112 views
How to test speed of my 1GBps ethernet port board? [closed]
I built a board with STM32H. How to test the speed I'm getting at my 1GB ethernet port? I do not what to do static ping test I want do I'm getting 1GBPS or 900MBps speed on my port. any ways?
1 vote
1 answer
71 views
STM32 F302R8 UART RX reception error
I'm new in the STM32 world. I’m currently testing basic UART communication on an STM32 (STM32F302R8) with an HC-05 Bluetooth module, and I’m running into a strange issue with receiving data. I'm using ...