STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Atomic variable for scheduler question

I traditionally use a volatile type for my schedulers. Very simple like so volatile uint8_t myflag; uint8_t ticks; void Func(void){ ++ticks; if(!(ticks % 5)){ myflag = true; } } void User(void){ if(myflag) { myflag = false; //DO ...

Carl_G by Senior
  • 251 Views
  • 27 replies
  • 2 kudos

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 Visitor
  • 50 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
  • 121 Views
  • 8 replies
  • 4 kudos

lib_nfc support for NFC tag Type 4

Hello all,I discovered that selecting in STM32CubeIDE under Pinout & Configuration/Middleware and Software Packs/ X-CUBE-NFC4 the source folder Middleware/ST/lib_nfc is added to the project source tree, containing the source files for the lib_nfc lib...

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
  • 177 Views
  • 3 replies
  • 2 kudos