STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! SFR view, wrong address of registers bit field?

I am working with STM32G474RET6U MCU and I would like to check the values of bit filed EXTSEL (ADCx->CFGR.EXTSEL) the problem is that according to SFR view this bit field starts on 6th bit of CFR register, but according to the reference manual it sho...

0693W00000WJYL9QAP.png 0693W00000WJYKuQAP.png
GHrib.1 by Associate III
  • 462 Views
  • 4 replies
  • 0 kudos

STM32G474 FMAC for 3p3z controller

Hi all,I am trying to study the buck converter program provided by ST for the STM32G474 discovery kit. From previous study, I know that buck converter uses the 3p3z (3 poles 3 zeros) structure to calculate the current output, as shown in the figure b...

OFN_1-1704956047725.png OFN_0-1704955992301.png OFN_2-1704956342348.png OFN_3-1704956380277.png
OFN by Associate II
  • 287 Views
  • 1 replies
  • 0 kudos

Resolved! CUBE MX usbd_dec.c unique Serial Number

Hi,I am using STM32G491 for the project. For USB HID class the Cube MX generates usbd_dec.c file. In this file, there is a Get_SerialNum functionstatic void Get_SerialNum(void){  uint32_t deviceserial0, deviceserial1, deviceserial2;   deviceserial0 =...

Egemen by Associate II
  • 391 Views
  • 2 replies
  • 0 kudos

How to disable the USB cable detection?

Hello, I am using a STM32G473RC microcontroller and want to use usart3 to update the firmware.I also use the CAN-BUS on pin PA11 and PA12. These pins (PA11, PA12) are also USB pins (DP and DM).When I start the bootloader (BOOT = 1 + RESET), the "USB ...

GHese.1 by Associate II
  • 1012 Views
  • 8 replies
  • 0 kudos

AN5142

Where can I find example source code for AN5142 ? I try to find it in STM32Cube_FW_G4_V1.1.0 without success.

PAmsz.1 by Associate
  • 582 Views
  • 6 replies
  • 0 kudos

Add an Essential feature

Hello, Please add an empty function on HAL for other MCU's what doesn't have that functions.For example HAL_ICHACHE_Enable() for F1 series. This feature can help to easy porting to other series of MCUs.Thanks.

nimaltd by Associate III
  • 318 Views
  • 1 replies
  • 0 kudos