STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! HAL ADC multi channel in polling mode

Hi everyone, I have a STM32F042F6P6 chip. I want to read 9 analog channels on it.I guess there are at least 2 options: configure a scan mode with DMA, and staying in polling mode.I decided to stay in polling mode to avoid a potential problem due to D...

Arthur21 by Associate
  • 3451 Views
  • 3 replies
  • 1 kudos

Resolved! NetX Duo driver & link-down state

Hi All,I am working at project with STM32H7 and NetX Duo. At current version of Ethernet driver from ST (X-CUBE-AZRTOS-H7 v3.0.0) is not handled by any way state when link is disconnected. Link status variable nx_interface_link_up is set at "Enable L...

JDosp.1 by Associate III
  • 3665 Views
  • 8 replies
  • 4 kudos

Resolved! PWM with DMA makes unwanted pulse stream

Hi,I want to make PWM stream with various duty, so I'm testing PWM with DMA using NUCLEO-G0B1RE and HAL library.The first image shows weird pulse train. I set DMA buffer with [duty 1] * 8 + [duty 17] * 8 + [duty 5] * 8, but oscilloscope captures eigh...

2024-07-29 165014.png
click8 by Associate II
  • 1882 Views
  • 5 replies
  • 0 kudos

STM32F767 Ethernet at different rate

Hi everyone. I'm using stm32f767zi board with lwip stack and I need to transmit at different rate through Ethernet: 50mbit/s, 80mbit/s and 100mbit/s. When I tried to send a buffer of 6554 byte every 1ms (in order to send 6553600 byte aka 50mbit every...

Al3 by Associate II
  • 2926 Views
  • 14 replies
  • 0 kudos

EEPROM Emulation in FLASH STM32L432KC

I am working on EEPROM Emulation in STM32L432 using its internal flash memory so is there any specific address for making EEPROM emulation in stm32l432kc or can we take any random address of flash memory? give the solution. 

vpn by Associate
  • 643 Views
  • 2 replies
  • 0 kudos

I have an STM32H742VGT based project with ethernet connection (LAN8742AI-CZ phy ) the problem is that I get HAL_ERROR when the HAL_StatusTypeDef HAL_ETH_Transmit(ETH_HandleTypeDef *heth, ETH_TxPacketConfig *pTxConfig, uint32_t Timeout)

When the HAL_ETH_Transmit is called by the driver it seems the code below (part of HAL_ETH_Transmit ) times out as the DMA TX complete callback are not called. I've followed the STM32H743 example but I guess STM32H742 memory map is a bit different th...

NMach.1 by Associate II
  • 2274 Views
  • 9 replies
  • 0 kudos