STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Call HAL lib inside Call back

Hello, Is it Ok to read GPIO pins inside a timer call back as follow:void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef* htim){ if (htim == &htim2 ) //15 ms { BT1 = HAL_GPIO_ReadPin(GPIOx, Pin_x); BT2 = HAL_GPIO_ReadPin(GP...

NASI by Senior
  • 324 Views
  • 2 replies
  • 0 kudos

Hi to everyone. Where can we find the manual of the STM32CubeL4 where it explain how to set up the functionalities of the uC? (For example TIMx -> PWM generation -> with HAL and Cube generator)

I found the manual of the HAL drivers and uC datasheet, but unfortunately I can not find how to setup some configuration on "Device Configuration Tool" such as PWM generation modes and how the peripheral works. Could someone help me?Where can I find ...

Rotolino by Associate
  • 211 Views
  • 1 replies
  • 0 kudos

Ethernet IAP makefsdata

I am trying to change the web page I get in the Ethernet IAP example. If I use the fsdata.c provided in the example everything is ok. But if I grab the pages (example index.html) and create my fsdata.c I had a lot of problem since the server does n...

raffin by Associate III
  • 335 Views
  • 1 replies
  • 0 kudos

USB Audio 2.0 on USB HS issue with STM32H7 series and USB3320 external PHY (Data transmission on Isochronous ISO IN EP (Feedback OR recording) abruptly stops being sent)

I've asynchronous USB Audio 2.0 implementation where speaker with feedback and microphone interfaces are configured.I have strange problem with audio Feedback and microphone respective interface which are Isochronous-in type.The issue observation is ...

Vpada.1 by Associate
  • 765 Views
  • 5 replies
  • 0 kudos

Bootloader: jumping to either App A or App B

Hello​I​ am considering the following approach of the Bootloader.​We will divide the internal flash into :1. Bootloader 2. App A3. App BFor App A or B we will have a version number. Bootloader will read the version numbers of both and depending upon ...

ELitv.2 by Associate II
  • 807 Views
  • 10 replies
  • 1 kudos

Both CAN bus interrupt

Hello, I am using both CAN bus to transmit data with different ID, DLC 8 and it works fine. To receive data in each CAN bus, I use interrupt for both of CAN bus as bellow and I get data only from one of the CAN bus. void HAL_CAN_RxFifo0MsgPendingCall...

NASI by Senior
  • 208 Views
  • 0 replies
  • 0 kudos