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

I am trying to run UART on STM32 MCU using HAL library for one of my application. I would like to receive packet of data which I am not able to do. Can you please guide me in this? I have provide details below.

I have created an application where I can transmit and receive data over UART port one by one. I am also able to receive packets in sets where I know the size of the data.But in my case, I want to receive data packet of unknown length and read from r...

HDesa.1 by Senior
  • 1997 Views
  • 7 replies
  • 0 kudos

I have a question about HAL_I2C_Master_Transmit (I2C_HandleTypeDef * hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout);

Hi, I have a question about HAL_I2C_Master_Transmit (I2C_HandleTypeDef * hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout);I see the second field is a pointer to a 16 bit integer. However the device I am trying to interface ...

Tommino by Senior
  • 943 Views
  • 1 replies
  • 0 kudos

Resolved! I am looking for simplest way to request voltage from USB-PD SOURCE using STM32G0B1RE as a SINK.

Hello,I am working on the STM32G0B1RE processor as a USB-PD SINK.I would like to ask what is the easiest and fastest method (preferably using CubeMX) to request higher voltages from the USB-PD port (for example 9V or 12V)? Can anyone share the simple...

Tarru by Associate II
  • 3753 Views
  • 11 replies
  • 0 kudos

STM32F215 gets stuck

Due to privacy policies I cannot publish my code.I am creating a datalogger that receives information from CAN IT and USART IT and stores it on a microSD via SPI. With each interruption I get the time from the RTC and I also use the ADC to unmount th...

by Not applicable
  • 1280 Views
  • 6 replies
  • 0 kudos

STM32H750VB MODBUS Timer Calculation

I am developing a project using STM32H750VB and for automation purpose I am in need of MOD BUS protocol. I have referred the code in this weblink (https://github.com/srikanth977/ModbusRTUSlave_RS232 ). I have completed the code and its working fine ...