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
  • 274 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
  • 608 Views
  • 8 replies
  • 4 kudos

How to use LwIP on STM32N6570-DK board

Hi everyone,How can I use the LwIP stack to enable Ethernet on the STM32N6 board? I found a tutorial, but it was for the H5 series. Additionally, I couldn't find the LwIP middleware component in the STM32CubeN6 folder.Thanks in advance!

athern27 by Associate III
  • 530 Views
  • 3 replies
  • 2 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
  • 236 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
  • 767 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
  • 263 Views
  • 0 replies
  • 0 kudos