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

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
  • 1174 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
  • 552 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
  • 408 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
  • 649 Views
  • 1 replies
  • 0 kudos

STM32F777: Strange NETCONN behavior?

Hello!There are two FreeRTOS tasks, each of which creates its own NETCONN object. In one task (the first one begins to execute) there are no oddities when creating a NETCONN object. And in the second task there is: the object returned by netconn_new ...

0690X00000AQuwwQAD.png 0690X00000AQuxLQAT.png
Dimonira by Associate II
  • 419 Views
  • 0 replies
  • 0 kudos