STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_GPIO_TogglePin() bugs!

Hi All,I notice a bug in the HAL_GPIO_TogglePin() when there are two pins with different voltage level. E.g. GPIOF, Pin9 = 1 and Pin 10 = 0. It turns out Pin9 was 1 and Pin10 =0, then Pin9 and 10 = 0 then 1 and so on. Support it should be Pin9 != Pin...

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
  • 644 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
  • 1831 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
  • 503 Views
  • 1 replies
  • 0 kudos