STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Unexpected output of a function

Hello. I have a problem with my code. I's supposed to send to the computer "00 82 00 00 01 01", however it sends "00 82 00 00 00 00". It can happen that the last four bytes are garbled. I've tested by printing pretty much up to the HAL functions, yet...

Adar71 by Associate
  • 404 Views
  • 1 replies
  • 2 kudos

Resolved! STM32H753: Receiving Messages via UART

I'm working with an STM32H753 MCU and trying to receive messages from a PC via UART to implement a simple state machine. The idea is that the MCU should switch to different states based on the received message.Initially, I attempted to use fgets(mess...

doronzzz by Associate II
  • 920 Views
  • 8 replies
  • 4 kudos

Strange Output in I2C

I am using STM32F103C8T6 and developed on STM32CubeIDE. This equipment has  six similar  I2C boards (same ICs, same function)  connected to the master which are addressed accordingly. Each of these boards have 8 digital Inputs amounting to 8 bit valu...

CK.3 by Associate III
  • 326 Views
  • 2 replies
  • 1 kudos

Unable to communicate with SPI bootloader

Hi,​I am trying to use the ROM bootloader on the STM32G071 to change the contents of specific flash sections. I was able to enter the bootloader just fine, at least I think so because I can see in the debugger how different points in the address spac...

FLewz.1 by Associate III
  • 906 Views
  • 3 replies
  • 0 kudos

Use Internal OPAMP as Inverting AMP

Hii, I have a query regarding internal op amp , i.e. how we use internal op amp as a inverting amp. , what are the process to initialize the internal op amp in cubemx (HAL driver) and the output is shared to the adc pin.

Harsh_18 by Associate III
  • 405 Views
  • 0 replies
  • 0 kudos

1 PPS (GPS) STM32F429

Hello,I want to develop a firmware to synchronize an Ocxo on a 1PPS GPS reference signal. I have a Nucleo card with a stm32f429 to do the first tests. The configuration: 1 1PPS input (1 second), 1 10Mhz input reference of the OCXO, 1 DAC output, the ...

PSEBA.1 by Associate II
  • 457 Views
  • 1 replies
  • 1 kudos