Questions tagged [nucleo]

STM32 Nucleo boards are a line of STM32-based embedded development boards manufactured by ST Microelectronics.

228 questions
0
votes
2 answers

Backup or read settings of a nucleo board stm32

I was wondering if it is possible to back up or read the settings of a nucleo board stm32. It is set up as a P-NUCLEO-LRWAN1 Nucleo pack. Which uses LoRaWAN to send data to a gateway and it works perfectly. I was now wondering if I could change the…
mionnaise
  • 188
  • 1
  • 18
0
votes
2 answers

ESP8266 doesn't respond to AT commands

I have a Nucleo F103RB and a Sparkfun ESP8266. I wanted to send AT commands to the ESP8266 through the Nucleo. The Wiring I used: TX => D8 RX => D2 GND => GND 3V3 => 3V3 I used D8 and D2 of Serial1 because D0 and D1 pins are not available per…
ALDSMQJF
  • 19
  • 5
0
votes
1 answer

How do you make a toggle button with in a for loop?

I am working with a NUCLEO F401R0 micro-controller to make a clock. It has a physical button that outputs 1 when pressed through the "button" object I have initialized. There are 3 nested four loops that control hour, minute, and second…
Kas.C
  • 25
  • 7
0
votes
0 answers

STM32 F302R8 Nucleo I2C Notworking

I have got a problem with the development of a i2c communication between a ATMega328 and a STM32 F302R8 controller. Below the initialisation code of the st controller, generated by Cube. void MX_I2C2_Init(void) { hi2c2.Instance =…
Robybyte
  • 99
  • 1
  • 4
0
votes
1 answer

STM32f103 won't enter UART interrupt after reset

I use HAL_UART_Receive_IT to start receiving data by UART in interrupt mode, and it seems to work fine after I program the board, because UC enters HAL_UART_RxCpltCallback, but after resetting the board it suddenly stops to enter it. Does anybody…
0
votes
1 answer

Motor PI regulator structure code

I am actually working on a robot project base on freeRTOS. I faced some problems with PI controller which controls robot's wheels speed. #define To 100 // 100 ms #define Te 5 // 5 ms #define Kp 0.01 #define Ti 10 //0.1*To …
F.MANNOU
  • 23
  • 1
  • 7
0
votes
1 answer

LPUART1 not working on STM32L476 (based on VisualGDB)

Hi I am developed a board based on the Discovery L476 board (STM32L476VGT6) using MBED and after porting it to VisualGDB everything works great. The only thing that doesn't work is LPUART1. I hooked it to PB10(LPUART1_RX), PB11(LPUART1_TX) but…
Rotem H.S
  • 1
  • 1
0
votes
1 answer

I cannot get an MBED ticker within a class to call a member method

I wrote the following MBED-based C++ program as an experiment for a more detailed project I am working on for my Nucleoboard Microcontroller: #include "mbed.h" DigitalOut greenLed(PA_5); #include "mbed.h" class TimedLED { public: …
Terry Rozmus
  • 396
  • 3
  • 17
0
votes
1 answer

Nucleo F401RE - Interrupt not working

I have problem with my Nucleo F401RE: When i'm trying to trigger interrupt by changing value on PA9, nothing happens :( My code: void EXTI_Config(){ SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOA,EXTI_PinSource6); …
Kris_1313
  • 79
  • 9
0
votes
1 answer

STM32F4 (Nucleo) SPI line doesn't transmit

I can't seem to get my SPI line to work. It doesn't want to transmit at all although it does generate a clock signal on sck pin. The Clock signal has a frequency of 62 kHz, the MOSI and MISO pins remain high indefinitely. I've built the code…
0
votes
1 answer

How can send speech with STM32F401 nucleo boards?

I am working on stm32f401 nucleo boards and I want to communicate 2 boards each others with uart for sending speech. I am using Nucleo-CCA02M1 mems microphone kits. Should I use which one? RS422 or RS485 for a full dublex communication? Are there…
overall
  • 1
  • 2
0
votes
0 answers

SPI example not working on NUCLEO-F411RE

I have set up a very simple spi master example, but looking at the logic analyser there is no spi clock line. So what have I done wrong in the configuration of the spi. #include "mbed.h" #include SPI spi(D4, D5, D3); // mosi, miso,…
homeGrown
  • 375
  • 1
  • 8
  • 25
0
votes
1 answer

Nucleo STM32f103RB/F4 Discovery

Has anybody used Duplex communication via VCP on Nucleo/or discovery single USART with RX TX interrupts. Would appreciate sample code to Echo back(transmit) what is received .
TonyP
  • 5,655
  • 13
  • 60
  • 94
0
votes
2 answers

Definition of High/Low Signal on STM32 Nucleo

I just started to learn how to program with Nucleo board and decided to do a simple task. When I press my User button I want my LED to turn on (Off at the start). I have the following issues and I am not quite sure of what is the answer. I am…
Hawk_08
  • 89
  • 8
0
votes
1 answer

STM32 SysTick counting twice as fast as it should

I have a STM32L476RC nucleo board that I am using to learn STM32. I am using STM32Cube HAL and AC6 System Workbench to develop on. I am trying to stay away from CubeMX as my goal is more towards learning than just getting something to work. The…
Chris
  • 115
  • 2
  • 12