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! BUG in HAL_UART_Transmit() and HAL_IRDA_Transmit()

This is the signature of the function: HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)where pData is the pointer to the data to be transmitted and Size the amount of data to be sent. In ...

redmig by Associate III
  • 1492 Views
  • 5 replies
  • 0 kudos

Resolved! Blink led with 2 multithread, sinch problems

Hi all,I'm starting a new app with two threads.If I run as debug step by step it works great.But if I run free on the board, the second thread not works good (it doesn't blink the required times).I've use CubeMX for the code generation with Time Base...

0690X000008AUj4QAG.png

STM32F769 Disco LWIP DHCP Can not get IP address

Hello,I am currently working on the project with STM32F769 Disco and i want to use ethernet (with RTOS).I configured all the options in CubeMX and I have a problem with getting IP address using DHCP.The problem is that I get the IP address only in 50...

qqAnton by Senior
  • 3032 Views
  • 6 replies
  • 0 kudos

Resolved! Gaps when playing audio file with DAC

I'm trying to play a sound file with raw PCM data using the DAC:uint8_t buffer[16384]; // 4-aligned uint8_t *bufptr[2] = {buffer, buffer + sizeof(buffer) / 2}; int curr_buffer = 0; volatile int audio_dma_half_complete = 0;   f_read(fh, buffer, sizeo...

0690X000008ASjiQAG.png

How to get UART data properly?

Hi, I'm using stm32f401RE.I set UART functions by using CubeMX and I'm trying to get data from UART and distinguish them.Here is the code.uint8_t RxBuffer[8]; HAL_UART_Receive_IT(&huart2, (uint8_t*)RxBuffer,sizeof(RxBuffer));​ // Writed in while loop...

dlee.0 by Associate II
  • 774 Views
  • 2 replies
  • 0 kudos