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

GPIO HAL question

I'm going to write a new code to replace HAL_GPIO_ReadPin(), HAL_GPIO_WritePin() and HAL_GPIO_TogglePin() using direct low level memory reads, writess, and logical operation on the STM32f4.I think about a lazy way can i use the debugging to track the...

Cl.1 by Associate II
  • 733 Views
  • 3 replies
  • 0 kudos

I am writing the explaination for HAL.

I arrange 3 main advantage for using the HAL rountines compared with direct memory access.HAL will faster than direct access.HAL will offer more easy to remember the function names.HAL will make the code more portable.Is that three advantage is corre...

Cl.1 by Associate II
  • 2122 Views
  • 12 replies
  • 0 kudos

Using with LwIP stuck the task

Hello,​I download a file from server with netcomm_recv.​l write in FreeRTOS, with several tasks.For this discussion, l have two tasks.One is general task and the other​ is for downloading the file from server.From the first task, there is a condition...

Lmali.1 by Associate III
  • 582 Views
  • 1 replies
  • 0 kudos

Resolved! USB PD library Can't source higher than 5V

Hello,We are using x-cube-usb-pd v3 library to implement source/sink application for our product. We've ported it to use on an STM32F030CC and using PTN5110 chip for TCPC controller. We are using configuration USBPD_TCPM_LIB_PD3_CONFIG_1.We have test...

Trying to flash a .dfu file containing micropython onto a nucleo-f767zi board, but have exhausted all options and I'm stuck.

I originally tried dfuse.exe, but it couldn't see the board when I plugged it in. The device shows up as a VCOM port under Ports in the windows 10 device manager list. Next I tried stm32 cube programmer, but in the instructions, it says to uninstal...

JBlac by Associate III
  • 3646 Views
  • 19 replies
  • 0 kudos