STM32 Nucleo boards are a line of STM32-based embedded development boards manufactured by ST Microelectronics.
Questions tagged [nucleo]
228 questions
1
vote
3 answers
No data signal on USART_Tx pin on my STM32-Nucleo
I have some issues trying to transmit data with my USART pins.
I use STM32-Nucleo-L476RG board with USART2 enabled. I generated the code with CubeMX and in my main() function, i call HAL_UART_Transmit() function to send data as the following :
while…

codeurdudimanche
- 13
- 3
1
vote
0 answers
PySerial write() hangs after sending more than once
I am using a Nucleo-f303re board and I currently have the board setup for USB. Communication is sent/received using a Virtual COM Port connection. The board is being using as a waveform generator. I am sending a frequency value to the STM32 and it…

jamesfs912
- 11
- 1
1
vote
1 answer
stm32: PWM generator with 1/20 pulses
I'm struggeling on setting up a STM32-F429ZI MCU (Nucleo 144 board) to generate following PWM pattern:
First channel with a variable frequency and 50% duty cycle - at least I've got this working -
Second channel giving a pulse with each 20th pulse…

NativeMode
- 13
- 2
1
vote
1 answer
SMT32 How do you make the LED toggle when the button is pressed and simultaneously with another button?
//setup
RCC->AHBENR |= RCC_AHBENR_GPIOAEN; //enable the bus for port IOPA.
GPIOA->MODER |= 0x400; // MODER5 (PA5) LD2,
GPIOA->MODER |= 0x100000; // MODER10 (PA10) LED
GPIOC->PUPDR |= 0x2000000; // (PC13) B1
GPIOA->PUPDR |=…

Heroking18
- 77
- 6
1
vote
1 answer
LED 8x8 DotMatrix STM32
I'm using STM32 Nucleo-L053R8
I can display a single char in 8x8 dot matrix. But my problem is how can I make a string scroll to left or right direction?
Here is the code for displaying single char in 8x8 Dot Matrix:
uint8_t…

VynxZ
- 11
- 2
1
vote
0 answers
why uart transmission not working after enabling of HSE in STM32 F411re..?
I'm trying to change the clock to HSE and half the clock speed in APB1 and 2 buses.Before calling HAL_RCC_ClockConfig() I am able to print the clock values through UART. After calling of HAL_RCC_ClockConfig() I can't able to print the clock values…

Ajith Pinninti
- 21
- 4
1
vote
1 answer
How to make LED blink at second press on push button?
I am very new to stm32, I have STM32F411RE Nucleo and I work in STM32CubeIDE. First I need to turn on the LED with the first click on the push button, and the LED stays on until the next click. On the second click, the LED starts blinking with a…

FancyPants General
- 33
- 5
1
vote
1 answer
HAL_ADC_PollForConversion - what exactly is it for?
I've been tinkering around STM32 (F103RB) for a couple of weeks now and one thing I don't get is
HAL_ADC_PollForConversion
function purpose. I mean, I don't see any impact of this function on ADC readings. Here's my code example:
Version 1 (with…

Dawid W
- 47
- 1
- 5
1
vote
1 answer
STM32 I2C interrupt method requires a blocking while loop?
I have a Nucleo-F446RE, and I'm trying to get the I2C working with an IMU I have (LSM6DS33). I am using STM32CubeMX and checked out all the example code for my board which is related to I2C. Specifically I'll be talking about their…

ritchie888
- 583
- 3
- 12
- 27
1
vote
1 answer
Setting up SWV printf on a Nucleo STM32 board (C++)
I am using an STM32G431KB, which compared to other stm32 Nucleo, has the SWO wired. I found this question Setting up SWV printf on a Nucleo STM32 board and followed the first answer. Thereby, I got the SWV running under C. But as soon as I switch to…

Olgidos
- 231
- 1
- 14
1
vote
1 answer
Easiest Way to Implement a Tap Tempo functionality on STM32?
I'm using an STM32F411RE Nucleo board to develop some code for a digital guitar effects pedal, and I need to be able to implement a tap tempo.
I'm fairly inexperienced with coding in general. Does anybody know the easiest way to simply press a GPIO…

Dylan Walter
- 11
- 2
1
vote
0 answers
ST-LINK server preventing debugging. 'Info : stlinkserver already running, exit'
Just trying to build and run / debug the default, unedited STM32 project you get when you open STM32CubeIDE. After telling me I needed the download the ST-Link server for it to work, I did, then updated the board when prompted. It now gives me 'Info…

mady1028
- 11
- 2
1
vote
0 answers
STM32F446RE doesn't get response on AT commands from SIM800L module
I'm trying to get answer on AT commands from SIM800L module. I'm using STM32F446RE. I send proper command through USART1, but i don't get any response from module. I've tried different baud rates, but it still doesn't work (SIM800L has auto baut…

Alrbr
- 11
- 1
- 1
1
vote
3 answers
STM32 Debug Error: Target No Device Found on CubeIDE and Ubuntu 21.04
Last year I used CubeIDE to develop simple firmwares of STM32.
After that I moved to Ubuntu from Windows, and recently I installed the new release of Ubuntu 21.04.
Today I purchased a new STM32L476RG Nucleo board.
So I installed CubeIDE 1.6.1 in my…

Tairong Ggomee
- 85
- 1
- 8
1
vote
0 answers
Why does STM32F1 CAN communication only send one pulse per message?
I am working on CAN communication between two STM32s: STM32F1 (Bluepill) and Nucleo-L432KC. To facilitate the CAN bus a dual-CAN transceiver module for a Teensy 3.5 is used. Here is the pinout.
Pinout of the dual-CAN tranceiver module.
The two…

Jokkefar
- 11
- 3