Questions tagged [nucleo]
Nucleo is mbed enabled STM32 board similar to Arduino.
116
questions
0
votes
0
answers
15
views
Framing Error upon LPUART enable on STM32 NUCLEO-G474RE board
In the board's default configuration, LPUART (PA2/PA3) is connected to the debugger MCU to be used as Virtual Com Port (UART via USB). So the Rx-Tx lines only go directly to the debugger MCU and do ...
0
votes
0
answers
36
views
Nucleo F401RE stuck in write protect
I have a Nucleo F401RE board which seems to be stuck in write protect mode 1. I have tried using STM32CubeProgrammer as well as ST link utility to try and set it to mode 0, but it fails with a generic ...
0
votes
0
answers
21
views
Turning off the DEM 128064B SYH-PY display
I'm trying for warming up to turn off and on the DEM 128064B LCD based on the instructions defined in the datasheet page 12 section 10-1, but I nothing changes and the LCD is on always with all the ...
0
votes
0
answers
17
views
How to use Waveshare A7600x / SIM7600x with STM32 NUCLEO board
I need to connect and use a Waveshare A7600x or Waveshare SIM7600x with an ST Micro NUCLEO board. I am actually using the NUCLEO-G491RE, but I imagine the principal will be the same across most NUCLEO ...
0
votes
0
answers
25
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
0
answers
134
views
STM32 Ethernet DMA transmit problem
I am using Nucleo-H743ZI2 for Ethernet.
Ethernet RMII:
First Tx Descriptor Address: 0x30000200
First Rx Descriptor Address: 0x30000000
Rx Buffers Length: 1536
CortexM7 setup:
LWIP:
LAN: Platform
...
1
vote
1
answer
61
views
Nucleo-32 regulator maximum input voltage
I have the STM32's Nucleo-32(NUCLEO-F303K8) board with its data sheet here.
And according to the data sheet powering the board externally is possible up to 12V mentioned as follows:
But in the same ...
0
votes
1
answer
58
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
123
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 ...
1
vote
1
answer
102
views
External power supply for a microcontroller board
I want to power this Nucleo board by a 5V external source using E5V pin. But regarding the external power supply choice there is the following section:
I was planning to use this 5V SMPS. I didn't ...
0
votes
0
answers
70
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
104
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
127
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
191
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
121
views
1
vote
1
answer
113
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). ...
1
vote
0
answers
102
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
579
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
1k
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
403
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
377
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
543
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
760
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
228
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
7k
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
583
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
916
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
212
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
0
answers
30
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
0
answers
142
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
1k
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
231
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
527
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
673
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
68
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
314
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
1
answer
808
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
0
answers
352
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
0
answers
662
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
1
answer
281
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
0
answers
138
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.
...
1
vote
1
answer
1k
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
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 ...
0
votes
1
answer
88
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
1
answer
190
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
1
answer
277
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 ...
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 ...
1
vote
1
answer
359
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
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 ...