STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Bug HAL_delay() off by 1ms

By coincidence I discovered a bug in HAL_delay(). __weak void HAL_Delay(uint32_t Delay){ uint32_t tickstart = HAL_GetTick(); uint32_t wait = Delay; /* Add a period to guaranty minimum wait */ if (wait < HAL_MAX_DELAY) {   wait++; } while((HAL_GetTick...

Lama by Associate III
  • 937 Views
  • 9 replies
  • 0 kudos

STM32Cube FW-F4 V1.21.0 Uart Driver Bug

I'm using STM32 Cube FW-F4 V1.21.0 to generate UART driver code, it seem has a bug for:HAL_UART_Transmit_IT(UART_HandleTypeDef*huart, uint8_t *pData, uint16_t Size).The UART will not send thepacket if any data in *pData = 0. For example:HAL_UART_Tran...

New.Fish by Associate III
  • 503 Views
  • 5 replies
  • 0 kudos

Hello, I try to upload my STM32 F446RE using bootloader through CAN. I get the STLINK V3SET and the utility STM32CuebeProgrammer. But the connection with the target is impossible.

I get few questionning:The STLINK does not detect any target voltage on the T_CAN_VCC pin, whereas I put 3.3V from my STM32 on it. What can I do ?The documentation says to put BOOT0 high and BOOT1 low. that's what I did. But connection's still imposs...

Zephyr S by Associate II
  • 238 Views
  • 0 replies
  • 0 kudos

Resolved! Fatfs create folders

Hi All,I am currently working on creating a file system on an stm32f207, using the nucleo board for the time being while I wait for my custom boards.The board will have an SD card as well as a USB. I have made a simple function for creating a folder ...

stm32h7 nucleo clock setting

I use stm32h7 nucleo board and there is gpio example in stm32cubeh7 and I changed clock configuration ,but it doesn't work.STM32CUBEh7-project-nucleo-example-gpio-gpio extstatic void SystemClock_Config(void) { __IO uint32_t StartUpCounter = 0, HS...

Bilge by Associate III
  • 264 Views
  • 0 replies
  • 0 kudos