Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

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 ...
Alireza ganjeh's user avatar
1 vote
1 answer
92 views

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 ...
PeppersONLY's user avatar
-2 votes
0 answers
47 views

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 ...
personal_cloud's user avatar
4 votes
2 answers
510 views

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 ...
Gokul Karthik's user avatar
0 votes
0 answers
73 views

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 ...
Shubham's user avatar
0 votes
1 answer
74 views

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 ...
jazam's user avatar
  • 1
2 votes
1 answer
102 views

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 ...
miha medved's user avatar
0 votes
0 answers
79 views

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 ...
Samartha Rao HP's user avatar
-1 votes
0 answers
78 views

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, ...
personal_cloud's user avatar
-1 votes
0 answers
36 views

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 ...
Axom's user avatar
  • 1
0 votes
1 answer
104 views

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 ...
Reza Jaferi's user avatar
0 votes
0 answers
29 views

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 ...
Aryan's user avatar
  • 21
0 votes
0 answers
48 views

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 ...
Knowledge's user avatar
  • 553
-1 votes
1 answer
143 views

I just wanna ask about the rest push button connection. Are there technological reasons for making it active low and not active high?
AHMED FAWZI AHMED FEDEIL T24KE's user avatar
2 votes
2 answers
346 views

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: ...
humni's user avatar
  • 129
0 votes
1 answer
104 views

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 ...
Ethan Fredsti's user avatar
0 votes
1 answer
77 views

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 ...
a_communist_comrade's user avatar
-3 votes
1 answer
99 views

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 ...
Riccardo Catalanotti's user avatar
6 votes
2 answers
691 views

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-...
Moe's user avatar
  • 63
0 votes
1 answer
105 views

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 ...
msalaz03's user avatar
0 votes
0 answers
63 views

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 ...
humni's user avatar
  • 129
2 votes
1 answer
97 views

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 ...
personal_cloud's user avatar
0 votes
2 answers
112 views

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?
Monesh Rathod's user avatar
1 vote
1 answer
91 views

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 ...
Groundzero's user avatar
1 vote
1 answer
117 views

I'm using STM32CubeIDE with HAL to program an STM32F3O3 MCU. In my firmware a custom function uartTimer is called inside the SysTick_Handler(which is in stm32f3xx_it.c) as: ...
GNZ's user avatar
  • 2,153
2 votes
1 answer
91 views

My PCBA house says that they routinely solder WLCSP packages. Their pick and place machines have "optical alignment" but no "camera alignment". I assume that "optical ...
personal_cloud's user avatar
3 votes
3 answers
938 views

STM32H573 has a lot of VDD pins. Even the smallest package has 4 of them. But also the WLCSP which has a separate VDDIO2 pin also has 4 VDD pins. What are these for? Based on my experience with other ...
personal_cloud's user avatar
1 vote
1 answer
81 views

I am trying to communicate with a Nucleo board (STM32F303K8) using its USB port. The board’s schematics show that the USB port is connected to the ST-LINK debugger. Normally, I know this port is used ...
ty_1917's user avatar
  • 1,124
1 vote
1 answer
181 views

I'm designing a custom PCB using an STM32F103 microcontroller to control a triac-based light dimmer. The firing angle for the triac is determined by reading the voltage from the potentiometer. The ...
power_electronics_engineer's user avatar
0 votes
1 answer
84 views

Summary: Two-node bus: STM32 (FDCAN1) ↔ CANable (SocketCAN) at 500 kbit/s candump can0 shows frames from STM32, but STM32 keeps flagging ACK error and increments TxErrorCnt. Scope on CANH/CANL (diff ...
Suyog Chougule's user avatar
0 votes
1 answer
122 views

I found this charge pump circuit in a design where the output from BOOT0(already pulled to GND) of STM32G431CBTx drives the CP_PWM signal. Can someone explain why this configuration is used? My ...
mmms's user avatar
  • 55
2 votes
1 answer
230 views

I need to select a MOSFET for the STM32F103 (Blue Pill) with parameters that allow it to fully turn on completely when supplied with 3 volts and withstand a current of 2A. I've hoped that LLVM gave me ...
Rombersoft's user avatar
1 vote
2 answers
52 views

I am not finding the clock frequency of the oscillator used on the NUCLEO-WB55RG board? What's the value? Where can I find it? How to select it as clock source for the MCU? Which one should be ...
Rovo's user avatar
  • 21
1 vote
3 answers
444 views

I made a PCB and got it manufactured the PCB does not have any shorts (specifically between 3.3v, ground, sck and miso of an ADC SPI pads) when the MCU chip (stm32h563zit6) is not soldered but the ...
Yash Jawale's user avatar
0 votes
1 answer
81 views

I have been having difficulty getting an SD card to initialize to communicate over SPI. I am using a 32GB PNY Elite SD card, and the microcontroller I am using is an STM32L432KC. Below is the code I ...
Ethan Fredsti's user avatar
-6 votes
1 answer
104 views

I’m monitoring large currents (~200A normal) using a current sense output (IMON) from a high-side driver. In a fault, the current can spike up to ~1000A almost instantly, possibly creating a voltage ...
MIKE MATHEW's user avatar
1 vote
1 answer
91 views

I have 2 Raspberry Pi Picos communicating with the RadioHead library via LoRa RFM95 boards. I am trying to replicate the library on STM32F446RE, so that it can be the sender. Try as I might I can't ...
OwenM's user avatar
  • 281
0 votes
0 answers
60 views

Deep Dive into Ultra-Low-Power Design: STM32U0 + E-Paper + SHT45 (CR2450) I am engaged in a project focused on extreme power efficiency, and I am currently at the schematic review stage prior to PCB ...
kalpacha420's user avatar
0 votes
2 answers
80 views

I’m using the ICM-20689 6-axis IMU on an STM32F4 board over I²C at 400 kHz. The device is set to accel ±16 g, gyro ±2000 dps, output data rate 200 Hz, DLPF configured for ~92 Hz bandwidth. Supply is 3....
yihong zheng's user avatar
-4 votes
1 answer
138 views

I'm trying to make working a STM32F411 stick board from Amazon. It's not really clear how to run MicroPython program on this board, which seems to be a WeAct Black Pill V2.0 clone. I've searched on ...
doom's user avatar
  • 175
0 votes
0 answers
65 views

I'm using an STM32H755 with an NHD-2.7-12864WDW3 OLED that has an SSD1322 driver, running in 4-wire SPI mode. SPI communication seems to work, but the display shows a noisy area at the top and ...
durna's user avatar
  • 21
0 votes
0 answers
61 views

I've made this wav file player with an stm32f407vet6 and programmed it in rust. I can't figure out why when I try to play a file of the SD card it sounds terrible (but still recognizable). When I play ...
oxnh's user avatar
  • 29
2 votes
3 answers
519 views

I am new to microcontroller programming and I am confused about bare-metal vs vendor HAL (Hardware Abstraction Layer) . From what I understand: Bare-metal coding = accessing registers directly (GPIOx-&...
Shabbir Raghib4's user avatar
2 votes
1 answer
82 views

I am currently using the STM32N657 on the NUCLEO-N657X0-Q board to drive an 800×480 pixel display with 24-bit color. The display that I am using is the NHD-7.0-800480EF-ASXV#-T. I’m using the built-in ...
dhout23's user avatar
  • 65
1 vote
1 answer
125 views

Basic setup information: I have a Nucleo-F767ZI connected to my PC through the USB cable which is also used for its virtual com port. All the peripherals have been iniitalised to their default mode. I ...
Shrinivas Iyengar's user avatar
1 vote
1 answer
174 views

I made a very basic board with a STM32H573IIT3Q microcontroller (and the required VDD/Vcore/NRST capacitors, and not much else). As per p. 407 of the manual, I expect the LDO to be enabled after power-...
personal_cloud's user avatar
0 votes
0 answers
65 views

I’m designing a USB interface for an STM32 (FS port). The schematic looks like this: U14 = TPS2051 power switch D6 = SS14 Schottky diode F1 = 350 mA fuse J1 = USB connector My goal is to support OTG: ...
Harshit Kumar Shakya's user avatar
0 votes
1 answer
134 views

I want to be able to use the DFU1 and OTG2 FS3 functionalities in both host and device modes,...
Reza Jaferi's user avatar
0 votes
1 answer
115 views

I am working with STM32F7 mcu running at 160 MHz, I am also running UART at 160 MHz in interrupt mode to receive data, but in DMA mode to send data. My program also runs 3 SPI and 1 I2C in DMA mode to ...
Dominykas's user avatar
  • 515
-1 votes
1 answer
69 views

I'm developing a project using an STM32 Nucleo board. At the core of this project is a UART-based communication protocol running in interrupt (IT) mode — not polling or DMA. This protocol is ...
durna's user avatar
  • 21

1
2 3 4 5
96