STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32G4 + USB PD + Switching power profiles

I am studying USB PD now with the demo board B-G474E-DPOW1.I try to program the consumer and need help with switching profiles. When the cable is connected, the charger displays a list of available profiles. I can't figure out how to choose the right...

0693W000007ESB3QAO.jpg
ADoro.2 by Associate III
  • 866 Views
  • 3 replies
  • 0 kudos

Problems with SPI DMA transfer on STM32H743

Hello community,I am facing massive problems using the SPI1 with DMA transfer on the STM32H743 Nucleo board. Using interrupt based transfer works, but when I try to use DMA I always receive zeros in the receive buffer and I get an overrun error from ...

How to flash the compiled code to stm32l431cb

Hi Experts,I am planning to use stm32l431cb - as it is sufficient controller with 48 pin for my use case. Basically I am trying to find out, how to flash my code into stm32l431cb controller.I referred to a. https://www.st.com/resource/en/datasheet/st...

PD S.1 by Associate II
  • 1132 Views
  • 6 replies
  • 0 kudos

Entering into system Bootloader mode with IWDG?

Good electronical morning to everyone.Context:I find myself needing to enter stm32´s system bootloader during runtime on command.I asigned a GPIO with a simple RC circuit to pull the BOOT0 pin high.The system reset is done by IWDG exception, i just s...

0693W000008GH1FQAW.png
Javier1 by Principal
  • 1218 Views
  • 2 replies
  • 1 kudos

ICMP-IPv4 total length exceeds packet length

I have a problem with +500byte ICMP packet, I am using ubuntu 16.04 and firewall inactive. When I try to send ping with this command ping -s 500 192.168.1.127 ping is successfull, but when I try to send this ping -s 580 192.168.1.8 ping reply didnt a...

DCtech by Associate II
  • 928 Views
  • 0 replies
  • 0 kudos

STM32f769II USB_OTG_FS Non periodic TX_FIFO problem

Background of a problem:I am using ST low level libraries for USB OTG and USB HOST. I wrote my own USB class for ASIX USB-ETH adapter based on template and CDC class. The problem was that solution presented by ST driver was to slow. I could only send...

BSzef.1 by Associate
  • 506 Views
  • 1 replies
  • 0 kudos

Hello, i am implementing a HAL CAN Driver for my STM32F405. I am using a TJA1048 as a Tranciever. Down below there is my Source Code. If i want to Transmit one Message, it ends in the Errorcode: HAL_CAN_ERROR_TX_TERR0. So do you know whats wrong ?

My APB1 Clock Frequency is 42Mhz.Init:hcan1.Instance = CAN1; hcan1.Init.TimeTriggeredMode = DISABLE; hcan1.Init.AutoBusOff = ENABLE; hcan1.Init.AutoWakeUp = DISABLE; hcan1.Init.AutoRetransmission = DISABLE; hcan1.Init.ReceiveFifoLocked = DISABLE; hca...

SLeit.1 by Associate
  • 906 Views
  • 1 replies
  • 0 kudos