Questions tagged [nucleo]

Nucleo is mbed enabled STM32 board similar to Arduino.

Filter by
Sorted by
Tagged with
1 vote
1 answer
18 views

i2c oled display problem with STM32F401RE Nucleo Board

I have an i2c oled display with an SSD1306 driver. I want to drive this display with my nucleo card. Pin configurations are shown below. I provided the i2c connection on the display via i2c1 on the ...
user avatar
1 vote
1 answer
22 views

Logic analyser/trace error in Keil uVision5 with Nucleo M4 Board

I am currently using a NUCLEO-WL55JC board. However, I could not initialize the logic analyzer because of the error "Trace: No Synchronization". I am programming it as single-core (Cortex M4 ...
user avatar
0 votes
1 answer
58 views

HAL_SPI_Transmit does not send the bit pattern expected way

As a beginner, to test HAL_SPI_Transmit function for this Nucleo board, I wanted to send 0b10101010 on MOSI line and observe it on scope. But I don't see that bit pattern on scope, instead I see the ...
user avatar
  • 1,419
0 votes
1 answer
54 views

Reading MPU6050 with Nucleo-32, Arduino IDE

...
user avatar
1 vote
1 answer
63 views

STM32F303RE Nucleo freezes at clock rate >40MHz

I have a STM32F303RE Nucleo board with Mecrisp-Stellaris Forth. The Forth console goes through USART2, the interface connected to the ST-Link part of the Nucleo board (changed from default USART1). ...
user avatar
  • 115
1 vote
0 answers
34 views

Using CAN bus on a NucleoH743 with Mbed

CAN bus is not working on my project. We are using a Nucleoh743 (STM32h743) programming it with mbed (Mbed OS 6.13) I have made sure the bus is properly made, with the correct termination resistors, ...
user avatar
0 votes
2 answers
194 views

How to find the current consumed by an STM32 Nucleo-144 board [closed]

I'm trying to find the current consumed by ST Nucleo board for one of my applications to understand how it can be minimized on requirements.
user avatar
0 votes
0 answers
102 views

Need some help with configuring Custom GPIO Pins using Zephyr RTOS on NUCELO H743Zi

Extremely sorry for a very short description of the problem over here. But the link given below has an extremely detailed description of the problem as well as error logs of the problem we are facing. ...
user avatar
1 vote
1 answer
441 views

STM32F303 ADC Differential Mode Offsets

I am trying to configure ADC1 on the STM32F303RE Nucleo board and I have not been able to find any good documentation on how differential mode works. I used CubeMX to setup the HAL with ADC1 Channel 8 ...
user avatar
  • 461
1 vote
1 answer
88 views

mush instead of signal stm32 nucleo-l053r8

Generating a triangular signal. The "printf" line is commented out. If the "printf" line is uncommented, instead of a signal, mush. How to fix it? (stm32 nucleo-l053r8) ...
user avatar
  • 11
0 votes
1 answer
221 views

What are the connectors CN11 and CN12 on STM32 Nucleo-F103RB used for?

On the STM32 Nucleo-F103RB board, there are two connectors on the upper part named CN11 and CN12 respectively. Next to them there's a text that says GND, but if they are grounded why do they have ...
user avatar
  • 13
0 votes
1 answer
238 views

STM32 HAL VS dual 595 driven 7 segment display

I got this arduino shield with four 7 segment display what I'm trying to make work with STM32 nucleo. The displays are driven with two 74HC595 shift registers. I wrote the following code to control it,...
user avatar
0 votes
0 answers
348 views

STM32L476RG ADC bare metal

I bought STM32L476RG nucleo to learn bare metal programming. Im following a online course on udemy and so far i have suceeded with everything except hitting a wall now with ADC. First of all i have ...
user avatar
0 votes
1 answer
276 views

Recognizing the COM port used with STLINK

I'm using a STM Nucleo as a bridge to flash a BLE EM9304 module and another ST-LINK from another STM Nucleo to flash a STM32. Both MCU are in a third board. So, I'm integrating the sequence of ...
user avatar
0 votes
0 answers
144 views

Issues using printf and Serial in Serial Monitor of Platform.io Arduino with STM32

Has anyone else had issues with using printf and Serial together? If I do some printfs then a Serial.println() no subsequent printfs show in the serial monitor. What I discovered was that if I avoid ...
user avatar
  • 101
2 votes
3 answers
4k 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; ...
user avatar
  • 25
0 votes
2 answers
346 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 ...
user avatar
0 votes
1 answer
452 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 ...
user avatar
0 votes
2 answers
102 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.
user avatar
  • 115
0 votes
0 answers
23 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 ...
user avatar
0 votes
0 answers
110 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 ...
user avatar
  • 3
0 votes
4 answers
524 views

Recieving and processing 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 an UART. So far I have been using HAL_UART_Receive_DMA and I have been able to store ...
user avatar
0 votes
0 answers
167 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 ...
user avatar
  • 101
4 votes
1 answer
333 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 ...
user avatar
0 votes
0 answers
255 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 ...
user avatar
0 votes
1 answer
455 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 ...
user avatar
0 votes
1 answer
52 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. ...
user avatar
1 vote
0 answers
237 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 ...
user avatar
  • 75
1 vote
1 answer
569 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. ...
user avatar
  • 769
0 votes
0 answers
221 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 ...
user avatar
  • 769
0 votes
0 answers
523 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 ...
user avatar
0 votes
1 answer
206 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 ...
user avatar
1 vote
0 answers
118 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. ...
user avatar
1 vote
1 answer
739 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. ''' ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 27
0 votes
1 answer
59 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 -> ...
user avatar
  • 3
0 votes
1 answer
137 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. ...
user avatar
  • 101
0 votes
1 answer
220 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 ...
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 ...
user avatar
1 vote
1 answer
304 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11.5k
0 votes
2 answers
814 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 ...
user avatar
0 votes
1 answer
263 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 ...
user avatar
-2 votes
1 answer
2k 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 ...
user avatar
  • 481
2 votes
1 answer
1k 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. ...
user avatar
  • 769
1 vote
0 answers
110 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 (...
user avatar
0 votes
2 answers
83 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 ...
user avatar
3 votes
2 answers
4k 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 ...
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 ...
user avatar
3 votes
1 answer
324 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 ...
user avatar