Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nucleo]

Nucleo is mbed enabled STM32 board similar to Arduino.

0
votes
1answer
30 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
57 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 ...
0
votes
0answers
25 views

Use NFC05A1 shield with STM32F070RB

I've come across a problem when trying to utilize the NFC shield for my STM32 board. I'm very new to all this and I know I should start with something easier (already order arduino) but here's the ...
1
vote
2answers
106 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 ...
0
votes
0answers
70 views

Is it possible to implement a 96KHz USB audio interface with STM32F401?

I have an STM32F401 Nucleo and an X-Nucleo boards, and I'm trying to implement a 96KHz USB audio interface so I can capture "audio" in the ultrasound range for my application (using ICS-41350 MEMS PDM ...
2
votes
4answers
274 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
3answers
110 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\$...
4
votes
1answer
197 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
107 views
0
votes
0answers
30 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
270 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
112 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 ...
1
vote
1answer
256 views

STM32F4 USART not correctly configured

I'm trying to manually* configure a USART on a Nucleo F401RE to transmit over the USB virtual COM port, which means using USART2 on PA2 (TX) and PA3 (RX). Not only am I not receiving any characters, ...
0
votes
0answers
300 views

Using a nucleo board as ST-link for STM32F722RET6 (Error: ST-LINK error (DEV_TARGET_CMD_ERR))

we have disconnected the ST-link from the nucleoboard and prepared it correctly for its use. we connected it back to the nucleoboard, and everything worked like it should. We want to use this ST-link ...
0
votes
1answer
270 views

Power consumption of Nucleo L432KC board

I'm currently developing an IoT LoRa node using a Nucleo L432KC. I want the node to be alive more than a year, so I want to test its energy consumption very carefully. I intended to cut off any ...
0
votes
0answers
602 views

ADC continuous conversation mode with STM32F411RE without DMA

Hi I have a code with STM32 peripheral libraries in which I could convert in continuous mode value from ADC channel 0 with in microcontroller STM32F411RE on NUCLEO-F411RE board. After each conversion ...
1
vote
1answer
823 views

ADC DMA on STM32, Nucleo F334R8 stops main while loop from executing

I am am reading ADC via DMA on the STM32 Nucleo F334R8. However, after I start the DMA using the code below, the main while loop fails to execute ...
-3
votes
1answer
171 views

Trying to find documentation on UNV-SIM7100C-EVB MINI-V1.11

As the title states, I have the UNV-SIM7100C-EVB MINI-V1.11 connected to my Nucleo-F401re board and am trying to get GPS working. Can anyone help? EDIT: I'm looking for the one bought from here: ...
2
votes
1answer
669 views

What is the slave address of the STM32 NUCLEO-F401RE?

I am currently trying to learn I2C communications with two STM32 NUCLEO-F401RE boards and I am having trouble on how to figure out the slave address of the board. I searched the datasheets and the ...
1
vote
1answer
509 views

Is it possible to power STM32 Nucleo Boards from a 3.7 Lithium Ion battery?

I have a Lithium Ion Battery that produces 3.7 volts and i would like to use it to power my STM32L476RG Nucleo board to collect data on the ADC and push the data to SD Card. I understand that i can ...
0
votes
1answer
211 views
1
vote
1answer
721 views

Nucleo STM32L476 and Arduino TFT shield pin mapping

I want to use an Arduino TFT shield (ILI9341) on a Nucleo STM32L476 developement board. This shield use 8 bits MCU mode and work well but the pin implantation for the Arduino connector on the Nucleo ...
2
votes
1answer
206 views

ADC on STM32, Nucleo-F722ZE

I am trying to read ADC values on the Nucleo-F722ZE board. I have 3V from a power supply connected to pin PA3 on the Nucleo. Verified that the pin on the processor reads 3V. Grounds from the power ...
0
votes
0answers
415 views

ADC on STM32 Nucleo 64

I am trying to simply read the value of the PCO ADC on a Nucleo-L476RG Board. I connected a power supply to the PC0 Pin with 2 V and the grounds of the board and the powersupply. When I read the value ...
0
votes
1answer
767 views

FR_DISK_ERR while interfacing 8GB SDHC card with FATFS + SPI + STM32L0

I am trying to interface a SDHC 8GB card with STM32L0 (SPI + FSTFS). I am using Chan's Library v0.11 with Adafruit Shield library where Lower Level SPI I/O code is handled by Nucleo driver's. I have ...
11
votes
4answers
6k views

What's causing my microcontroller LED program to stop working?

So, I am a COMPLETE and utter novice at programming. I have done some basic stuff on Arduinos (literally toggling LEDs and displaying something on an LCD) and I am trying to self teach myself how to ...
1
vote
3answers
1k views

stm32 gpio to dma

I have a few questions regarding using the DMA of the stm32f7 board (nucleo F722ZE ). 1) So to get started I'll explain what I'm doing: I need to read data from 2 GPIO pins (ADC) and will have a ...
3
votes
1answer
994 views

STM32F303 STM32CubeMX __HAL_TIM_SetCompare macro does not exist

I am using CubeMX to generate code for my NucleoF303. I am a bit confused how to set the pulse width of a timer in PWM mode. Previously (using an F4) there has been a __HAL_TIM_SetCompare macro in ...
2
votes
1answer
434 views

STM32F303K8 Nucleo Restart ADC For Continuous Scans (Using Interrupt?) STM22CubeMX

I have a project generated from CubeMX for my STM32Nucleo F303K8. My IDE is SystemWorkbench. I am using a total of 8 Analog inputs split between two ADC's ADC1: 1, 2, 4, 12. ADC2: 1, 2, 3, 4. I ...
0
votes
1answer
546 views

Powering a STM32 Nucleo board using batteries/power bank

I was wondering if it's possible to power a STM32 Nucleo L073RZ using a power bank via USB or a battery. I tried using the power bank to power the board however, LD1 would constantly flash red. I ...
1
vote
3answers
314 views

The NUCLEO F411RE Works with float point?

I need a MCU to works with Wifi and Floating point for PID application. In the later I acquire a Wifi expansion board, but I wants know if the STM32 NUCLEO FR11RE works with a Floating Point. I don't ...
0
votes
1answer
334 views

STM32F103RB Nucleo - no PLL multiplicator?

I am using HAL to set up the core clock. When I add RCC_OscInitStruct.PLL.PLLMUL = *any RCC_PLL_MUL*; to my SystemClock_Config ...
-2
votes
2answers
1k views

where can I found STM32L4 DSP and standard peripherals library? [closed]

I want to use standard peripherals library for stm32l476rg(stm32-nucleo). But I could not find it. I dont want to use HAL Library. Do you any suggestion?
0
votes
1answer
224 views

PG2 GPIO output on Nucleo-F767ZI doesn't function

I have made a board on which I plug the Nucleo-F767ZI microcontroller board. There is one GPIO pin that I cannot get to function as a digital output: PG2. This is ...
0
votes
1answer
733 views

Change internal voltage reference on an STM32L0

I'm using a Nucleo board with an STM32L073RZ. With an "AnalogIn" object on PA_0, I measure the voltage of a TMP36 (temperature sensor), but the accuracy is not great at low temperature. I want to ...
0
votes
2answers
221 views

I2C Connection Mbed

I2C Comms I'm trying to connect an I2C 16x2 display (PCF8574T) to a nucleo-L476RG Connections Code i'm trying to run Output of printf RUN 0x0 ACK 0x1 ACK 0x2 ACK 0x3 ACK 0x4 ACK 0x5 ACK 0x6 ACK ...
2
votes
3answers
3k views

Get internal temperature or voltage STM32L0

I'm trying to obtain the internal voltage and temperature of my STM32L073RZ with the mbed librairy (Intialize and read an internal channel with ADC). Currently I didn't know how to do that and all the ...
1
vote
1answer
783 views

I2C ACK bit glitch

I'm using an SMT32F030R8 to communicate via I2C with some other devices, and the problem is that I'm capturing some glitch in the I2C ACK bit. As shown in the picture, at the end of one of the bytes, ...
0
votes
4answers
2k views

Can I use just plain GCC to compile program for Nucleo?

I have a ST Nucleo F446RE. It's an ARM board which provides quite an interesting interface for uploading programs - it presents itself as USB storage device and the program can be copied on it, which ...
0
votes
0answers
85 views

STM32L073RZ freeze because of an InterruptIn

I have a problem, I use an InterruptIn in a class to generate interruption when a button is pressed. In this class I just have constructor, destructor and callback for the rise and the fall. When I ...
1
vote
1answer
900 views

ADC STM32L476RG : Why do I have an offset when connected to 0V?

I'm working on a software solution which set the Pin PC2 to "reset state" if my input signal (connected to ADC) is above 2V. I testing my code with STM32 Studio to watch in real time the digital ...
4
votes
1answer
731 views

How to obtain exactly the same state after deepsleep() mdbed function on a STM32L073RZ?

I try to configure my STM32 to obtain the lowest power consumption. For that I'm using deepsleep() function from mbed librairies. Before that I disable GPIO with this function ...
2
votes
2answers
4k views

STM32 SPI, can't get it working

SOLUTION: CubeMX set the MOSI pin to be on another bus/port on the nucleo board (not sure why). Setting MOSI to the required GPIO pin manually worked. I'm trying to set up a basic SPI interface using ...
5
votes
2answers
676 views

How to correctly configure deepsleep for STM32L0xx

I'm trying to configure my Nucleo Board with a STM32L073RZ in deepsleep mode to get the lowest power consumption. To do that I use the mbed librairies with the deepsleep() function (This function use ...
1
vote
0answers
816 views

Use 2 RTC Alarm on STM32L073RZ

I'm trying to configure two different alarms on my STM32L073RZ with the given example by StMicroelectronics. The problem is, when I try something like the script below, only the first Alarm turned on ...
0
votes
1answer
779 views

RTC Alarm deepSleep STM32L073RZ

I'm trying to configure 2 differents Alarms on my STM32L073RZ to leave the deepSleep mode but unfortunately after the first wakeUp the memory is reset and the second alarm never wakeUp the STM32. My ...
3
votes
2answers
316 views

Why is there a buffer before an SD socket?

I'm studying the SD card section of an electronic circuit of Sparkfun can bus shield that I have to connect on a Nucleo STM32F411RE. In the electriconic circuit, that you can see here. There is a ...
0
votes
1answer
1k views

STM32 HAL_PCD_EP_Transmit work only once

I'm developing a USB composite device with the Nucleo-F446ZE. I'm adding a Virtual com port and I have some trouble to send back data. I receive everything from the computer but when I try to send ...
0
votes
1answer
3k views

Nucleo F401RE ADC sampling Time

I would like to know how many samples I have per second for the ADC and what is its maximum samples per second and can I achieve a sample per 1 µs? Clock : 84 Mhz The board is Nucleo F401RE Here ...
6
votes
1answer
2k views

STM32F4 : Floating point instructions too slow

I'm working on an audio application on the Nucleo F411RE and I've noticed that my processing was too slow, making the application skip some samples. Looking at my disassembly I figured given the ...