STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM DMA generation with variable period

Hi all,I am trying to generate a PWM signal with both variable pulse width and period. I think the HAL_TIM_Base_Start_DMA function can only generate it with variable pulse width but not variable period. I have checked the timer cookbook and found the...

OFN by Associate II
  • 3075 Views
  • 9 replies
  • 0 kudos

LIN

Bonjour, J'essaie de faire communiquer ma carte Nucleo-723ZG avec un périphérique LIN.Apriori, ma carte est adapter au protocole LIN et j'arrive à configurer mon périphérique USART1 en LIN. J'utilise avec ma carte un transceiver LIN. Quand j'envoi un...

L4 Flash erase issue

MCU is STM32L4R9 with 1MB. I'm having trouble getting the device to erase the upper half of the flash programmatically. Apparently the device ships with opt bytes set for dual bank.I connected the device to the STM32 programmer through USB and turn...

EFrie.3 by Associate II
  • 1810 Views
  • 6 replies
  • 0 kudos

Resolved! STM32 F7: lock flash CR and avoid bus fault

Hi,On a STM32 F7, I would like to lock access to the FLASH_CR by writing a wrong key to the FLASH_KEYR register. Writing a wrong key results in a bus fault (disabling the bus fault raises it to a hard fault).Could someone help me with a way to write ...

LeeK by Associate II
  • 3705 Views
  • 7 replies
  • 3 kudos

Resolved! STM32G0 USBPD periphery seems to be deaf

Hello,I am developing a USB PD sink application on custom board with STM32G0B1VETI am using periphery UCPD2. I followed AN5418 to set up eveyrthing in CubeMX and add the specified pieces of code.Hovewer, ithe USBPD stack doesn't seem to send or recie...

Tadeas_Pilar_0-1695580295446.png

Resolved! USB HOST bootloader, start application

Starting from this video (https://www.youtube.com/watch?v=CGUC1wqSLCE) I'm trying to write my bootloader for DFU from an USB stick. The code works but I would like to tweak it such that:if at boot an USB stick is detected, than start the update, othe...

DamianoF by Associate III
  • 1814 Views
  • 2 replies
  • 1 kudos

STM32F4 + LAN8720

Hi all!I'm trying to send a page to the browser using a microcontroller. I use instructions and code from YouTube. I generate fsdata.c. I connect LAN8720 with a cable directly to the computer. As a result, the ping passes, but the site is not display...

Ping.jpg
ATima.1 by Associate
  • 1832 Views
  • 2 replies
  • 0 kudos

MKBOXPRO: Enabling 3A supply

Hi, I need to enable 3A supply on MKBOXPRO - referring to the attached schematic section; if I install 5.1K (1%?) pulldown resistors to GND, that are already provisioned for on R42,and R43, would that be all that I need to accomplish this?Another rel...

AVigh.1 by Associate II
  • 1649 Views
  • 2 replies
  • 0 kudos