STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to use two ucpd port in stm32g0?

I generated my code by stm32cubemx, and use ucpd1 as sink&dead battery, use ucpd2 as drp. But got USBPD_ERROR in USBPD_DPM_InitCore after execute " CHECK_PE_FUNCTION_CALL(USBPD_PE_Init(USBPD_PORT_0, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0...

Gbang by Associate III
  • 1708 Views
  • 5 replies
  • 1 kudos

Seems like a bug in HAL DMA driver

I am transferring 307200 bytes (640x480 gray) from DCMI to AXI SRAM using DMA1. When I do single transfer mode to do snapshot captures the DMA driver state never changes back from BUSY to READY so I can't start another. I did 'fix' it with a hack in ...

BillR by Associate III
  • 697 Views
  • 4 replies
  • 0 kudos

Resolved! FreeRTOS sprintf %f not working.

I'm working on STM32F746 Discovery try to use STemWin. I using cubeMX to gen code for cubeIDE. But i'm stuck, sprintf %f not working. It's return 0x00 and dot instead. For example char str[32];float a = 123.456;sprintf(str, "%f", a);the resultstr[0] ...

Jame DEV by Associate III
  • 1058 Views
  • 2 replies
  • 1 kudos