All Questions
117 questions
0
votes
0
answers
43
views
STM32F4 SDIO keeps failing CRC check
I'm trying to get 4-bit SDIO with FATFS working on an NUCLEOF411RE board and so far, it isn't going well. Here's my current code to start.
...
0
votes
0
answers
91
views
I2C pins running at 3.5 V instead of 3.3 V
I'm using the I2C on a Nucleo STM32H723 and have a scope connected to pins PB8 and PB9.
When I use the internal pullups for the I2C, I can see that the voltage on the line is 3.5 V.
If I don't use ...
0
votes
1
answer
36
views
NUCLEO stm32 board and gpios [closed]
Im looking for a microcontroller with a lot of gpio. I have looked into NUCLEO-H755ZI-Q. As I understand it shall provide me with 144 gpio but im not sure if I need some header for this to happen? I ...
0
votes
1
answer
74
views
Problem with SPI Communication - STM32 Nucleo U575ZI-Q/STEVAL-MKI168V1
I am currently learning by working on a project in which I have to establish a SPI communication between a Nucleo U575ZI-Q and a STEVAL-MKI168V1 (IIS2DH eval board). To set up the Nucleo board and its ...
0
votes
1
answer
134
views
EEPROM READ/WRITE Issue with STM32?
I am using 24AA16 EEPROM to store my data. I have write the code for read and write using STM32Cube IDE. I am using Nucleo-F410RB Dev board. Below code is for write,
...
0
votes
0
answers
102
views
UART only succesfull on first transmit
I have a STM32 NUCLEO-L031K6 board that I am trying to test some UART on.
Following this guide: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART
I get TeraTerm to show &...
0
votes
1
answer
71
views
Nucleo microcontroller board clock stability modifications
I have an STM32 MCU board namely Nucleo-F303K8 and its schematics is given here.
For a better clock stability, I configured this board(by modifying some resistors as shown in the document) such that I ...
3
votes
1
answer
135
views
NUCLEO-F207ZG / STM32F207ZG supply voltage
I need to change the wait states via the Flash access control register for an STM32F207ZG on a NUCLEO-F207ZG board.
The reference manual gives a table that tells you how many wait states you need ...
0
votes
1
answer
109
views
STM32H755ZIT6 STLINK Debug
I've just got new NUCLEO STM32H755ZIT6 board with STLinkV3 on it.
I just want to debug simple empty STMCube project and after configuring board According it's
Please look in the UM2408 User manual (...
0
votes
0
answers
172
views
Can I use an ST-LINK of a Nucleo-mini board to program a black pill?
I have a Nucleo-l432kc board that I actually fried by accident touching one of the pins with my power supply probes while they shared the same ground during a risky test of mine.
Anyway the problem ...
1
vote
1
answer
337
views
STM32 Nucleo F401-RE no I2C with external power source
So I have a Nucleo F401-RE that I'm using with a Huskylens AI camera via I2C. During development I use the USB to debug and power the board which works fine. I also added 4.7k pull-up resistors to the ...
3
votes
1
answer
402
views
Can someone explain USB ESD-protection on Nucleo 144?
On the STM32 Nucleo-144 eval board, there are 3 different ESD protection devices for the USB port:
U19 = USBLC6-2SC6
U21 = ESDA7P60-1U1M
U22 = ESDALC6V1-1U2
Source:
https://www.st.com/en/evaluation-...
1
vote
3
answers
841
views
Scoping the UART on a STM32 Nucleo
I have a Nucleo F446RE, which writes to UART which is handled by the built-in ST-Link over VCP on USB.
I'd like to be able to see the serial signals on my oscilloscope as well. There are two exposed ...
-1
votes
1
answer
597
views
NUCLEO-H723ZG HAL LWIP won't ping
I am having issues creating the simplest setup with this board. LWIP initializes, I can see my static IP address in the debugger. I can detect if cable is plugged-in/unplugged. MPU is configured and I ...
0
votes
1
answer
333
views
How connect the STlink on NUCLEO f401RE to communicate with STM32F4 discovery?
I have this configuration of MCUs.
I need to know how connect the STlink on NUCLEO to discovery because I need the Virtual com PORT.
0
votes
0
answers
240
views
stm32duino nucleo l432kc - No space left on device error
I started writing an example code for a new board I purchased: STM32L432KCU6 32 PINS (Nucleo-32).
I'm using Arduino IDE to write the code and upload it to the STM32 board.
Unfortunately after a few ...
0
votes
0
answers
1k
views
STM32 Nucelo board's LD1 LED color and ST-LINK Utility
When I program my STM32 Nucleo board(STM3232 F302R8) through PC's USB, the LD1 LED of the board is always red after I upload the code by using ST-LINK Utility.
And color remains red even though I ...
0
votes
0
answers
172
views
"Textbook" example of UART doesn't work on stm32f756zg. HAL_UART_Transmit() returns HAL_BUSY
I want to send a message through uart5 of my nucleo board. I configured UART5 appropriately as per https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART .
Here is main():
...
2
votes
0
answers
90
views
Nucleo32 with STM32F303K8 crashes when setting PA2 as Interrupt and triggering it
I am using a nucleo 32 for my project. I am using arduino and creating a TCP modbus and RTU modbus server.
I have set the pins as folows:
Description
Type
Arduino
STM32
Pin Number
Pulse input 1
...
1
vote
0
answers
349
views
Nucleo F303RE STLink connection problems in STM32CubeIDE
I have tried to flash/debug Nucleo F303RE using STMCubeIDE and I have encountered several problems.
First when trying to start debugging I receive following message:
"Starting server with the ...
-1
votes
1
answer
1k
views
GPIO and pinouts?
I am about to start a project with an STM32 in my internship and the board that I am supposed to be using is the STM32H750-dk. I am new to all of this and was told get myself familiar with the ...
0
votes
0
answers
148
views
Nucleo64 Vdd maximum output current
I'm trying to power an ESP-01 (8266 chip) using the 3.3v pin of a nucleo 64 stm32F446re board, but the module won't power up (red LED off). I've searched the web for information on the maximum current ...
0
votes
1
answer
138
views
Doing several UART transmissions at the same time
I am trying to transmit three (65535 bytes) buffers through a UART. I just want to transmit all of them.
The main buffer is separated into three buffers. When I tried to transmit all of them I was be ...
0
votes
0
answers
710
views
Transmit large data through UART OR Ethernet
I followed the AN4666 to read data from GPIOC ports triggered by timer input capture mode and save into a large buffer of uint8 in size of (510000) arrays, all I want to do is to transmit the full ...
0
votes
0
answers
182
views
STM32 Nucleo f401RE 1.44 inch OLED ST7735
I try to drive ST7735 OLED display with nucleo board. I worked with a ready-made example I found on the internet, but I could not print anything to the screen. When I compile my code, I don't get any ...
1
vote
1
answer
234
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 ...
1
vote
1
answer
345
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 ...
0
votes
1
answer
579
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 ...
0
votes
1
answer
329
views
1
vote
1
answer
235
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). ...
2
votes
0
answers
218
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, ...
0
votes
2
answers
2k
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.
1
vote
2
answers
3k
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 ...
1
vote
1
answer
91
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)
...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
619
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,...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
334
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 ...
2
votes
3
answers
13k
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
2
answers
973
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
1
answer
2k
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
2
answers
447
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.
1
vote
0
answers
208
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
4
answers
3k
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 ...
0
votes
0
answers
326
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
1
answer
752
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
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
...
0
votes
1
answer
129
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. ...
1
vote
0
answers
480
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 ...