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! USB-PD Software expansion; maximum port number?

HiWe are working on the USBPD Software expansion pack, with TCPM/TCPC architecture. Indeed we are trying to establish firmware with PortNumbers=8. WE are getting USBPD_ERROR when the number of ports is 3. We realised that there is internal USBPD_MAXP...

FaikN by Associate II
  • 983 Views
  • 2 replies
  • 0 kudos

How to monitor status of I2C using HAL

HelloI am using NUCLEO-G431KB to talk to a sensor using i2c. Its working nicely using the 'HAL_I2C_Master_Transmit' HAL function.I would like the system to generate an error if an ack is not received from the sensor.This is the working code:HAL_I2C_M...

JB.16 by Associate
  • 949 Views
  • 1 replies
  • 0 kudos

why need so many timeout

void sEE_ReadBuffer(uint8_t* pBuffer, uint16_t ReadAddr, uint16_t* NumByteToRead) { //__IO uint32_t timeout = 0xFFFF; __IO uint32_t timeout = 0xFF; /*!< Wait the end of last communication */ for (;timeout > 0; timeout--);   /* Set the point...

I think there is a bug in HAL_TIM_DMABurst_WriteStart (in V1.15 at least), where the timer burst length is used both for the number of registers to write into the timer peripheral and the number of total DMA transfers. Thanks, Aris

There is an identical discussion but for a different mcu:https://community.st.com/s/question/0D50X00009XkdocSAB/timer-dma-burst-mode-arbitrary-waveform

AEfth by Associate II
  • 445 Views
  • 0 replies
  • 0 kudos

Issue with the USB mass storage device class

Hello,We are using STM32L4R5 micro-controller, external NOR flash as a storage media and ST USB device library.We are getting the pop-up as "The last USB device you connected to this computer malfunctioned" on windows 10 system when directly remove t...

Bhushan by Associate II
  • 291 Views
  • 0 replies
  • 1 kudos

How can I use dp83848 for stm32h7?

Hi ,I made ethernet communication with lan8742a phy driver on stm32h743zi but I have to use dp83848 and cubemx doesn't support dp83848 for stm32h7.Is there anyone who can help ?

Bilge by Associate III
  • 489 Views
  • 1 replies
  • 0 kudos