Questions tagged [nucleo]

Nucleo is mbed enabled STM32 board similar to Arduino.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

DSP on STM32 NUCLEO L476RG board [closed]

I am trying to demonstrate how microcontrollers can be used to perform real-time DSP on nerve fibre signals in an implantable device. I have some programming experience but I am fairly new to working ...
0
votes
0answers
14 views

STM32 NUCLEO-F302R8 UART : RX pin does not trigger RX callback

I'm using an STM32 NUCLEO-F302R8 and wish to communicate with it using any UART instance (1,2,3) through its RX/TX pins. So far, I've managed to read from the TX pin but never managed to send messages ...
0
votes
0answers
21 views

Can Nuttx/ChibiOs OS can be flashed on STM NUCLEO-F412ZG/F746ZG

I am trying to find compatibility between Nuttx OS/ChibiOs (RTOS) with NUCLEO-F412ZG/F746ZG. I want to develop applications compatible with Nuttx and deploy it on STM32 NUCLEO-F412ZG/F746ZG ...
4
votes
1answer
151 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 ...
0
votes
0answers
54 views

Blinky not working. What am I missing?

so after getting my new board - H745ZI-Q - I wanted to start programming with an easy example of the st edu site. I used the default configuration of the chip so excuse the mess of all the ...
0
votes
1answer
49 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 ...
0
votes
1answer
34 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. ...
0
votes
0answers
13 views

Connect Nucleo ST-LINK to another Nulceo Board Target

I am having issues displaying serial data, when I connect a Nucleo ST-link to another Target. My Pins Connections are as follows: ST-Link -> Nucleo Board VCC -> From JP1 of ST-link to 3.3V ...
0
votes
0answers
23 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 ...
1
vote
1answer
44 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. ...
0
votes
0answers
28 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 ...
0
votes
0answers
51 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 ...
0
votes
1answer
53 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 ...
1
vote
0answers
26 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. ...
0
votes
0answers
41 views

Hardfault or otherwise wonky timer behaviour - STM32 Cortex M7

I am using the line marked by the arrow in the code below as such and it works fine. If I uncomment // HAL_TIM_IRQHandler(&htim2); there is one hit on the ...
1
vote
1answer
41 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. ''' ...
0
votes
1answer
167 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 ...
0
votes
0answers
78 views

CubeIDE firmware missing?

When I start a new STM32 project, I chose Nucleo F030R8 board, type in project name and click "Finish", the program downloads and unzips required firmware, but then I get the following error message: ...
0
votes
1answer
36 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 -> ...
0
votes
1answer
41 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. ...
0
votes
1answer
74 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 ...
0
votes
0answers
80 views

How to configure an STM32 development board (MB1355C) to program external devices?

I have an STM32WB55 nucleo pack comprising a main board (MB1355C) and a USB dongle (MB1293C). I am able to program the main ...
0
votes
0answers
203 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 ...
1
vote
1answer
100 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 ...
1
vote
1answer
151 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 ...
0
votes
0answers
148 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 ...
0
votes
1answer
61 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 ...
-2
votes
1answer
360 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 ...
0
votes
0answers
68 views

receive ATR from SmartCard using STM32

I want to get ATR from SmartCard using STM32 (i have STM32 Nucleo F429ZI). I 've connected STM and Card and after that check connection by oscilloscope (i 've checked CLK, RST and I/O). But in code i ...
2
votes
1answer
496 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. ...
0
votes
0answers
43 views

issues with serial printing with broken stlink using arduino ide for nucleo f411re

I am using stm32 nucleo f411re for a project. I have separated the stlink from the board, and I am using arduino ide extension in vscode to program the nucleo f411re. The issue is I am not receiving ...
1
vote
0answers
83 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 (...
0
votes
2answers
75 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 ...
3
votes
2answers
793 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 ...
4
votes
1answer
807 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 ...
2
votes
1answer
181 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 ...
4
votes
1answer
773 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 ...
0
votes
1answer
134 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 ...
0
votes
1answer
155 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. ...
1
vote
1answer
326 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 ...
0
votes
1answer
1k 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 ...
3
votes
1answer
209 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 ...
1
vote
2answers
305 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 ...
2
votes
4answers
1k 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 ...
0
votes
4answers
484 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\$...
6
votes
1answer
883 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 ...
1
vote
1answer
195 views

STM32L476RGTx Nucleo Blink Code in Assembly[Newbie Ques]

...
0
votes
0answers
66 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" ...
2
votes
1answer
899 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: ...
1
vote
1answer
121 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 ...