STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Can I use the blocking API in RTOS's tasks?

Hi there,I have an IIC sensor connected to the MCU. And I read the sensor data at 50Hz.However, there are sometimes some IIC communication errors present with HAL_I2C_ERROR_TIMEOUT.My project is based on FreeRTOS with 4 Tasks, the sensor data collect...

Junde by Senior III
  • 269 Views
  • 5 replies
  • 2 kudos

how to use flash memory "the bare metal way".

Hello, everybody! I'm relatively new to STM32 microcontrollers and have a moderate knowledge of C programming and a fair understanding of electronics.Over the past few months, I've been learning to properly set up STM32F4 series MCUs, specifically th...

HellasT by Associate III
  • 1039 Views
  • 15 replies
  • 4 kudos

Resolved! STM32L031 I2C (SHT40) driver help

Hello. I have STM32L031 nucleo board: https://www.st.com/resource/en/user_manual/um1956-stm32-nucleo32-boards-mb1180-stmicroelectronics.pdfAnd I am trying to write SHT40 driver for it. I have Adafruit SHT40 I2C temperature/humidity sensor:https://www...

LPetr1_0-1695020911951.png LPetr1_1-1695021176962.png LPetr1_2-1695021357630.png LPetr1_0-1695024574843.png
LPetr.1 by Senior
  • 4609 Views
  • 12 replies
  • 2 kudos

Resolved! Standard Peripheral Library for STM32H7

Hello all, I am using STM32H747 in my project, previously I was using HAL library for my project, but now I want to shift my code to standard peripheral library, my question is do STMH7 series support to standard peripheral library if Yes then can an...

Resolved! LwIP_IAP: html files?

Heyho,I'm about to start writing an ethernet bootloader for the H7.I found the F7's LwIP_IAP example, a good way to get ideas how to realize the bootloader, although I'll probably put the new bin into an external SPI flash.As I have an http-webserver...

LCE by Principal
  • 1661 Views
  • 10 replies
  • 5 kudos

Resolved! Timer Output Compare example TIM_OCActive

I am using a NUCLEO-G071RB, STM32CubeIDE v1.17.0, and STM32Cube_FW_G0_V1.6.0 with patch STM32Cube_FW_G0_V1.6.2. I compiled and downloaded the timer example TIM_OCActive.Please confirm that the four output signals turn permanently active (high) after ...

Kmax18 by Senior II
  • 128 Views
  • 1 replies
  • 1 kudos

Resolved! Generated private variables in main.c

In the generated code in main.c file, there are variables that are declared as "private variables" by the software, such as "ADC_HandleTypeDef hadc1"; "TIM_HandleTypeDef htim1". Since these variables are declared only in main.c and not in main.h, doe...

neel1311 by Associate
  • 325 Views
  • 3 replies
  • 4 kudos