Questions tagged [nucleo]

Nucleo is mbed enabled STM32 board similar to Arduino.

Filter by
Sorted by
Tagged with
1
vote
3answers
44 views

Send Data With Usart STM32

I have to send data using the usart2 in my nucleo64 stm32f446re board. The type of data I have to send is float but until now I always send uint8_t using this code; ...
0
votes
2answers
53 views

STM32 UART send broken frames

I have a NUCLEO-F303RE board and try to send some data by one-wire UART with 57600 baudrate. But frames are sent broken (see images below): How must to be: What I get: I've tried to use different ...
0
votes
0answers
35 views

STM32 Timer - Issues with generating 1 us pulse on GPIO

I am using Nucleo-F767ZI board which has STM32F767ZI controller on it, and am in need of sending out a particular structure of elements bit-by-bit through a GPIO pin once every microsecond (1 MHz freq....
0
votes
1answer
115 views

Has anyone had to sign a form from Mouser before an order was allowed? (Nucleo Board)

Not sure if it's exactly the right place but here it goes. I was ordering a STM32 Nucleo board for the first time (the NUCLEO-F756ZG), along with other parts as I'm working on my own project for one ...
0
votes
2answers
43 views

STM32 enabling clock for port C sets IDR bit 1

Why does enabling the clock for port C set the IDR bit 1? It's the configuration for a Nucleo-F767ZI.
0
votes
0answers
19 views

STM32F746 on Nucleo-F746ZG - difference between PWM1 and PWM2 signal names

I understand that each timer channel can be configured at either mode 1 or mode 2. On the timer signal names, I see "PWM1" or "PWM2." I'm confused by this nomenclature. Does it ...
0
votes
0answers
34 views

STM Nucleo-F722ZE UART weirdness when setting the baud rate (it needs to be set 3 times larger)

For the past days I've been trying to communicate via UART between an Arduino and an STM32 Nucleo F722ZE board. After much troubleshooting with the oscilloscope I realized that when I set a baud rate ...
0
votes
2answers
68 views

Recieving and processsing array of data on STM32

I am trying to use RealTerm to send a .txt file containing a 10X10 array of data to my STM32 NUCLEO board using UART. So far I have been using HAL_UART_Receive_DMA and I have been able to store simple ...
0
votes
0answers
27 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 ...
4
votes
1answer
169 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
84 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
94 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
40 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
21 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
53 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
140 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
45 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
146 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
84 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
46 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
84 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
156 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. ''' ...
1
vote
1answer
413 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
169 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
42 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
64 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
96 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
1answer
514 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
160 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
305 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
273 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
88 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
666 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 ...
2
votes
1answer
749 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. ...
1
vote
0answers
88 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
76 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
1k 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
895 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 ...
3
votes
1answer
215 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
799 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
159 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
180 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
366 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 ...
1
vote
1answer
2k 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
253 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
325 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
2k 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
640 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
1k 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
204 views

STM32L476RGTx Nucleo Blink Code in Assembly[Newbie Ques]

...