All Questions
4,697 questions
0
votes
1
answer
17
views
STM32 USB Connection
I made a custom STM32 board. The board uses a STM32F103C8T6 microcontroller. The USB connection doesn't work. The computer says that the device is unrecognizable and spits out and error 43.
I've added ...
1
vote
1
answer
49
views
Secure Firmware Updates on constrained IoT devices/ Microcontroller
I am currently trying to find out how secure firmware updates are done on microcontrollers nowadays.
Many authors refer to SUIT (Secure Updates for Internet of Things) in their papers.
Most ...
0
votes
0
answers
33
views
STM32F4 complementary PWM GENERATION with tim8 initial pulse config
I want to generate PWM with tim8 CH1 and CH1N (complementary) but I have an issue. CH1 PWM first pulse is 2x what it must be. My APB2 clock is 84 MHz and I am generating an 500 kHz PWM. How do I ...
1
vote
0
answers
28
views
stm32 phase shift pwm for full bridge converter
Can you help me to solve my problem? I am trying to make a full bridge DC converter. I am using a STM32 nucleo-f303zet6 with stm32cubeide.
I'm trying to achieve 4 PWM complementary signal with ...
2
votes
1
answer
46
views
Does UART communication in STM32F030F4P6 require series resistors in TX and RX pins?
I am using STM32F030F4P6 in a project. To program the MCU I am using its only two UART (PA2 and 3) pin and a USB to TTL converter is used. Now while designing PCB, should I directly route those pins ...
0
votes
2
answers
72
views
Does an ADC require any external pulldown resistor in STM32?
I am using a STM32 MCUs ADC to determine the voltage at the point Adapter_Voltage_sense.
Now, I have used a 10k pulldown resistor at that ADC pin to pull it down just like we do on inputs, and in ...
0
votes
0
answers
18
views
Pmos switching RFM95W with STM32G0
I am trying to switch on a RFM95W with a AO3401A P-channel mosfet and a STM32G0 but the microcontroller stops responding or goes into hardfault whenever I pull the connected GPIO low. The pin is ...
0
votes
0
answers
35
views
SysTick interrupt setup that wakes CPU from WFI low-power state
I am learning how to set up interrupt and low-power features on STM32F446RE Nucleo board.
So far I managed to configure interrupt of general-purpose timer (TIM3) and successfully wake ARM CPU on the ...
1
vote
1
answer
110
views
Validating the connection of button to GPIO
I drew a schematic of connecting button to GPIO with input mode with built-in pull up / pull down resistor:
Is it a true connection? if it's not, can you fix the problem?
The thing I want to do is so ...
-1
votes
1
answer
77
views
How to decide the type of the UART IP on a STM32 board?
I had a STM32f103ZET6 board. And according to the board spec, it has 3 USARTs and 2 UARTs.
My purpose is to do some experiments with a PL011 UART.
How can I tell the type of this UART IP? I need this ...
1
vote
0
answers
38
views
Am I driving PROFET BTS6143D correctly using STM32F103?
I am designing a PCB and I don't want to fry my STM32 on the first try. I need to drive solenoids at ~24V and I am using STM32F103 GPIOs to do so. My GPIO outputs are open drain and I connect these to ...
0
votes
1
answer
69
views
How to build external loader for SD card? [closed]
I'm using STM32 and SDMMC peripheral to make external loader for an SD card,to flash touchgfx data to it and read it next . I have some questions.
...
0
votes
0
answers
38
views
Is there a situation where SWDIO and UART2_TX should be connected in a normal design?
I'm reverse engineering the PCB shown. I ran into an issue where whenever I enabled UART2, the debugger would disconnect and have issues reconnecting. After tracing it, I found out that the SWDIO pin ...
1
vote
0
answers
99
views
TMC2209 Driver Burn repeatedly
I have a problem with TMC2209 (Twotrees and MKS v2.0 kit) I have tried at least 5 of it and 4 is burn like image below, I used 17hs4023 stepper motor with 24VDC supply and make sure the current ...
1
vote
1
answer
68
views
Finding a reference layout for STM32 trace antenna
I'm designing my first PCB and it needs to have Bluetooth Low-Energy (i.e. 2.4 GHz range) so I am using the STM32WBA63 series of microcontroller.
I want to use a trace antenna etched in the PCB, but I ...