Questions tagged [nucleo]

Nucleo is mbed enabled STM32 board similar to Arduino.

Filter by
Sorted by
Tagged with
4 votes
1 answer
701 views

Why operations on float variable are performed on a double? STM32F401RE, MDK-ARM v5

I am debugging a simple line of code: float temp_f; ... ... temp_f= temperature[0] +(temperature[1] >> 5)*0.125; that is assembled into ...
Artem Glukhov's user avatar
0 votes
1 answer
1k views

How to flash binary code to the NUCLEO-F207ZG device?

When I want to upload a binary file executable.bin to the STM32F407G device, I connect it to the PC using the mini-USB cable and execute the command ...
mercury0114's user avatar
0 votes
1 answer
111 views

Disabled one cpu on dual cpu board. Cant connect anymore

so I wanted to disable one of the two cpus I got on my board (H745ZI-Q). I have both a CM4 and CM7 core. When I was playing around I disabled the CM7 boot with cube programmer - user configuration. ...
flyingchris's user avatar
1 vote
0 answers
443 views

Nucleo-F767ZI won't start if powered through external 5V

I'm trying to power a Nucleo-F767ZI demoboard through external 5V(through E5V pin). When it's powered by USB, the code runs as expected(some LEDs blink), but when i attach the external 5V, and i ...
RawCode's user avatar
  • 85
1 vote
1 answer
1k views

Where can I find the EEPROM memory in STM32 Nucleo F401RE?

I'm looking for to store and read values on STM32 Nucleo F401RE and I need to find which sector and begin address to start with. I did watch a tutorial how to do, but he's using another STM32 board. ...
euraad's user avatar
  • 1,155
0 votes
0 answers
506 views

Why do I get Hard Fault error when I use RTOS with STM32?

I have created a library for ILI ILI9341 LCD that can do lot's of stuffs. It's made for STM32 and it can do: Plots Number pad Icons 16 bit Windows 3.11 Question dialog Frames But when I try to load ...
euraad's user avatar
  • 1,155
0 votes
0 answers
913 views

STM32WB55 connection to SD card with SPI FR_NOT_READY

I am very new at this and I don't understand a lot, so please be patient. I have an STM32WB55 to which I need to connect an SD module to store data from some sensors in SPI mode. I basically followed ...
Bogdan-Mihai Nistor's user avatar
0 votes
1 answer
357 views

Unable to communicate with LCD2004a via I2C (Nucleo-F103RB)

Hell guys, i'm trying to communicate with LCD2004a with the I2C extender. i followed this guide: https://www.youtube.com/watch?v=7mQppaEJjT4 what i did: I generated project using CUBEMX to Keil ...
Oded Yosef's user avatar
1 vote
0 answers
157 views

Debugger connection fails when using UART2 in DMA mode in Nucleo-401RE

I am trying to build a simple communication between my PC and a Nucleo-F401RE using UART over the USB connection. I am able to do this successfully using a “polling” or an “interrupt” configuration. ...
Ken Grimes's user avatar
  • 1,309
2 votes
1 answer
2k views

SSD1306 128x32 OLED initialization problem

I'm trying to run the SSD1306 128x32 on a NUCLEO board, but I can't get the thing to properly initialize. This is my initialization sequence. ...
Coconuts123's user avatar
1 vote
1 answer
2k views

Why Nucleo-STM32G474RE HAL_GPIO_ReadPin returns wrong value?

I am using the on board user button, which is connected to the port C13 and has an external pull up resistor. The HAL_GPIO_ReadPin function returns 0 when the button is not pressed and returns 1 when ...
Tardief's user avatar
  • 77
0 votes
1 answer
113 views

Problems with interfacing Nucleo-F446RE and ADF4153 via SPI

I am trying to interface with a ADF4153 device via SPI, the problem is that the ADF4153 is not responding. I expect the problem is with the SPI connection. The pin connections are as follows; MOSI -> ...
Kilwa's user avatar
  • 3
0 votes
1 answer
295 views

Having problem in blinking the LED on Nucleo-L073 board, through HAL library

Could you please advice me where I make the mistake, the LED is on but it does not blink. ...
Atrahasis's user avatar
  • 185
0 votes
1 answer
390 views

How accurate are the crystals on ST's Nucleo boards?

I got myself a cheap ST Nucleo-L053R8 on discount, to play around with a couple ideas. The main STM32L053R8 only has a low-frequency 32.768 kHz crystal for RTC, but it can also be provided with an 8 ...
relatively_random's user avatar
2 votes
1 answer
2k views

STM32 - HAL SPI receive interrupt not entering EXTI callback

I designed a breakout board for the STM32F401CEU6. (Schematic attached) I am using it to receive data from an ADC chip over SPI. The ADC chip has a data ready output which should be used as an ...
markos14's user avatar
1 vote
1 answer
437 views

STM32CubeIDE: Why does Serial Wire Viewer show Unknown Function?

I'm trying to use the STM32CubeIDE's Serial Wire Viever Statistical Profiling tool. The problem I face with is that the result table does not show all functions visited. I, especially, want to see the ...
Caglayan DOKME's user avatar
1 vote
1 answer
2k views

Using different UART pins on STM32 Nucleo

I am trying to use the STM32F103RB Nucleo board. I am learning how to do serial comms so started with the classic 'Hello world' printed to a serial monitor. Eventually, I want to print data to the ...
MCG's user avatar
  • 11.9k
0 votes
2 answers
2k views

Shutdown mode on stm32 consuming a lot of power

I am testing the demo code given in the directory STM32Cube\Repository\STM32Cube_FW_L4_V1.14.0\Projects\NUCLEO-L476RG\Examples\PWR for CubeMX. I am testing the code PWR_ModesSelection and am recording ...
Souvik Saha's user avatar
0 votes
1 answer
431 views

How to set up clock for the STM32 Nucleo-64 with libopencm3/rtos

I was using this code from github on a blue pill. Now I would like to adapt it for STM32F401 on a Nucleo-64 board. I tried changing the GPIO to A7 and attaching an led (which lit up when I attached it ...
Joey Gough's user avatar
-2 votes
1 answer
3k views

STM32 Nucleo UART2 tx/rx pins wired to UART3 tx/rx pins [duplicate]

I am exploring UARTs on the STM32F103RB on a nucleo board. The board is connected via USB to my laptop, and I can send/receive messages using the ...
bas's user avatar
  • 581
4 votes
1 answer
2k views

Why is DMA Continuous Requests not selectable as enable for STM32F446RE?

I have an Nucleo STM32F446RE and I'm used to enable DMA Continuous Requests with ADC. But in this case, I can only select disable. Why? If it's not possible to use DMA Continuous Requests with ADC. ...
euraad's user avatar
  • 1,155
1 vote
0 answers
135 views

Why the current measured form the microcontroller(Stm64 Nucleo L433RC- LPSleep mode) differ from the current value written in the datasheet?

I am using STM32L433RC -p microcontroller for current measurement. The current in the microcontroller is measured using X Nucleo LPM01A module.I was doing a current measurement for Low Power Mode (...
jojo varghese's user avatar
0 votes
2 answers
98 views

Migrating Cortex Application from Development Board to microcontroller chip [closed]

I have been working on different micro-controllers and I am new to Arm cortex architecture. I have developed an application on NUCLEO-F207ZG (powered by STM32F207ZG). The application is supposed to ...
Rajeshwar Singh's user avatar
3 votes
2 answers
6k views

How to solve Keil compiler 'Error: L6218E: Undefined symbol' on STM32

I am trying to run a simple tutorial (external interrupt example) on my NUCLEO-F746ZG board. I use STM32CubeMx software version 5.2.0 and Keil software version 5.28.0.0 as compiler. I get the ...
Mohsen Fallah's user avatar
6 votes
1 answer
1k views

STM32 crashes when FreeRTOS project is converted to C++

I am experimenting with STM32F303RE Nucleo board on SW4STM32 with FreeRTOS v10.1.1 and I was thinking of parsing NMEA sentences by adding the characters to a buffer using UART interrupt and then ...
scriptsNgiggles's user avatar
3 votes
1 answer
471 views

Digital to Analog Conversion with STM32F7 Discovery Board

I am a mechanical engineer interested in Data Acquisition and Closed-Loop Control projects. As a beginner who wants to work with STM32 microcontrollers, I have a specific question about the STM32F7 ...
Mohsen Fallah's user avatar
4 votes
1 answer
1k views

In an ADC, Does UART baud rate affect signal transmission even if they are stored and retrieved from memory? [closed]

If I'm using a NUCLEO-F401RE with ADC throughput rate greater than 2 MSPS and storing the value in an array/memory, will the UART baud rate affect transmission of the signals from memory? How are they ...
Archana Narayanan's user avatar
0 votes
1 answer
340 views

Configuring ADC on Nucleo-F401RE in Arduino IDE gives erratic values for input freq greater than 100Hz

I want to configure ADC on STM32(Nucleo-F401RE) using Arduino IDE and transmit the values through SPI to Basys 3 FPGA(End Goal). The ADC works for input signal frequency only below 100Hz. How do I ...
Archana Narayanan's user avatar
0 votes
1 answer
303 views

Can I use an unmodified ST Nucleo-F303RE to develop USB devices?

I want to use my Nucleo-F303RE to develop firmware for a USB HID. The stm32f303ve data sheet states in section 3.25 that for the USB peripheral to work, the MCU needs a HSE crystal oscillator. ...
Quaternion's user avatar
1 vote
1 answer
601 views

nucleo-f401re button interrupt keep getting into the irq handler

the nucleo board button is pulled up to high to gpioc13 so i made the interrupt on a falling edge , the code keeps getting into the irq handler without me pushing the button my main.c ...
Mohamed Nabil's user avatar
1 vote
2 answers
9k views

STLink 3.3V target power

In order to program a target MCU with STLink you need to connect 4 wires - SWCLK, SWDIO, GND and VCC (3.3V). STLink v2 programmer has 3.3V pin already present and ready to use. But let's say I would ...
jurij's user avatar
  • 251
3 votes
1 answer
564 views

SPI clocking in extra word - STM32F4

I am attempting to interface with the TLE5012B (datasheet here) using SPI. The master in this case is a Nucleo F411RE, which uses an STM32F4 processor. The sensor communicates in 16-bit words, so I ...
Isaac Middlemiss's user avatar
1 vote
2 answers
732 views

Can you simulate a GPIO input on STM32F0?

I'm trying a variety of things out with input pins and customized timers on the STM32F0. All timer functions are alternate functions on the pins and therefore you cannot use the user button (PC13 on ...
Titov's user avatar
  • 39
3 votes
4 answers
4k views

STM32 MCU - Temp sensor gives weird values

I'm fooling around with a Nucleo-F103RB STM32 board and I'm trying to measure the ambient temperature using its internal sensor. I activate the ADC and get data normally via the ...
lightspot21's user avatar
1 vote
4 answers
2k views

Remove 0 Ohm resistor (solder bridge jumper)

I have an STM Nucleo-64 board that I want to power from my own 3v3 rail. To do so you must remove two solder bridges (SB2 and SB12 in the photos), both made with what appear to be size 805, \$0\Omega\$...
TrivialCase's user avatar
8 votes
2 answers
2k views

Receiver issues on STM32H7 interrupt-based SPI

I want to configure a simple interrupt-based SPI slave transmitter/receiver on a STM32H7 MCU. Even though I have quite a bit experience with the older series of STM32 ARM MCUs, it seems that a lot of ...
K.R.'s user avatar
  • 611
1 vote
1 answer
314 views

STM32L476RGTx Nucleo Blink Code in Assembly[Newbie Ques]

...
V.Singh's user avatar
  • 41
0 votes
0 answers
79 views

Cant select NUCLEO-L433RC-P in Keil

I recently received NUCLEO-L433RC-P, which I want to start using with the Keil application. I installed the STM32L4xx_DFP package, but I can't select the board under the "Manage Run-Time Environment" ...
RunoTheDog's user avatar
3 votes
1 answer
2k views

PC14 and PC15 on STM32F401 not working as inputs

I'm trying to use PC14 and PC15 on Nucleo F401RE board, as inputs using this simple code: ...
mactro's user avatar
  • 497
1 vote
1 answer
137 views

How to update MCU application

I'm currently developing with Keil µvision5 and STM32CubeMX on a Nucléo Board L053R8 (LQP64). Now I would like to transfer my program to my prototype board which has a STM32F051K6T8 (LQP32). Do I ...
Olivier Maison's user avatar
1 vote
1 answer
1k views

STM32F4 USART not correctly configured

I'm trying to manually* configure a USART on a Nucleo F401RE to transmit over the USB virtual COM port, which means using USART2 on PA2 (TX) and PA3 (RX). Not only am I not receiving any characters, ...
Isvara's user avatar
  • 514
0 votes
0 answers
3k views

Using a nucleo board as ST-link for STM32F722RET6 (Error: ST-LINK error (DEV_TARGET_CMD_ERR))

we have disconnected the ST-link from the nucleoboard and prepared it correctly for its use. we connected it back to the nucleoboard, and everything worked like it should. We want to use this ST-link ...
Ole Halvor's user avatar
0 votes
1 answer
2k views

Power consumption of Nucleo L432KC board

I'm currently developing an IoT LoRa node using a Nucleo L432KC. I want the node to be alive more than a year, so I want to test its energy consumption very carefully. I intended to cut off any ...
Grany's user avatar
  • 1
4 votes
1 answer
4k views

ADC DMA on STM32, Nucleo F334R8 stops main while loop from executing

I am am reading ADC via DMA on the STM32 Nucleo F334R8. However, after I start the DMA using the code below, the main while loop fails to execute ...
notransients's user avatar
-3 votes
1 answer
293 views

Trying to find documentation on UNV-SIM7100C-EVB MINI-V1.11

As the title states, I have the UNV-SIM7100C-EVB MINI-V1.11 connected to my Nucleo-F401re board and am trying to get GPS working. Can anyone help? EDIT: I'm looking for the one bought from here: ...
Mysti's user avatar
  • 1
2 votes
1 answer
3k views

What is the slave address of the STM32 NUCLEO-F401RE?

I am currently trying to learn I2C communications with two STM32 NUCLEO-F401RE boards and I am having trouble on how to figure out the slave address of the board. I searched the datasheets and the ...
Kevin Wang's user avatar
2 votes
1 answer
3k views

Is it possible to power STM32 Nucleo Boards from a 3.7 Lithium Ion battery?

I have a Lithium Ion Battery that produces 3.7 volts and i would like to use it to power my STM32L476RG Nucleo board to collect data on the ADC and push the data to SD Card. I understand that i can ...
Taako's user avatar
  • 388
0 votes
1 answer
407 views

Why isn't my blinky program working for my STM32F446RE Nucleo board?

My Code: ...
spetty flakson's user avatar
1 vote
1 answer
6k views

Nucleo STM32L476 and Arduino TFT shield pin mapping

I want to use an Arduino TFT shield (ILI9341) on a Nucleo STM32L476 developement board. This shield use 8 bits MCU mode and work well but the pin implantation for the Arduino connector on the Nucleo ...
rom1nux's user avatar
  • 498
2 votes
1 answer
527 views

ADC on STM32, Nucleo-F722ZE

I am trying to read ADC values on the Nucleo-F722ZE board. I have 3V from a power supply connected to pin PA3 on the Nucleo. Verified that the pin on the processor reads 3V. Grounds from the power ...
notransients's user avatar