STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

stm32g071 HAL_I2C_Slave_Seq_Transmit_DMA DMA TC flag is set even if one element less than requested was transferred

I am using a stm32g071 as an I2C slave.Problem is, that I2C_SlaveTxCpltCallback() callback is called even when the master read one byte less than previously configured.I.e. With RXSIZE = 4 (as in code below),if master reads 1 byte -> okif master read...

Resolved! Issue With Discovery Kit Debugger

Hi, I have a problem with my discovery kit stm32f072.I usually use that board as a debugger for my personal embedded projects, so only the debugger part.I recently tried for a moment to download my project to the discovery MCU and since then, when I ...

AFato.3 by Associate II
  • 740 Views
  • 2 replies
  • 0 kudos

Why is my buffer corrupted when for-loop is split up?

Hello,I have a project on a Nucleo board that samples the ADC and typecasts the result.The typecasted value and the original value are sent via UART and virtual com to my PC.When I put this code in a single for-loop, I can receive both the raw and co...

RSpoo.1 by Associate
  • 1329 Views
  • 4 replies
  • 0 kudos

How to set SDA line of I2C low using software

I'm using LC709203F to measure RSOC. It is going to sleep mode after 1.2 Ms.To wake up from sleep mode , I have write 0x0001 to register 0x15 in fuel gauge.Prior to that , I have to set SDA line to low for particular time.Please help me to set SDA li...

JT.1 by Associate II
  • 826 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F407 (STM32F427). Is it possible to configure PH1/OSC_OUT pin as GPIO when HSE BYPASS (external clock generator on PH0/OSC_IN pin) is enabled?

I need to feed STM32F427 with external clock generator and at the same time use PH1/OSC_OUT pin as GPIO output.What I doing.STM32CubeMX 6.3.0, FW_F4 v1.26.2 Firmware, "Pinout & Configuration" TAB -> Categories -> RCC -> High Speed Clock (HSE) BYPASS ...

0693W00000JQ7fEQAT.jpg 0693W00000JQ7gWQAT.jpg
ARaid.1 by Associate III
  • 2285 Views
  • 1 replies
  • 0 kudos