Skip to main content
HUega.1
Visitor II
September 10, 2020
Question

GPIO pin of STM32F031G4U6 may be broken during connecting LSM6DSL.

  • September 10, 2020
  • 1 reply
  • 684 views

I control LSM6DSL by using STM32F031G4U6.

INT2 of LSM6DSL connects PA8 of STM32F031G4U6.

PA8 of STM32F031G4U6 set output port, no pull-up, no-pull down.

I mistake the configuration of LSM6DSL.

I must set INT2 pin of LSM6DSL to input port, but I set it to output port.

So the current consumption of the circuit board increased.

When I don't use PA8, the current consumption is OK.

I think PA8 was broken.

Why was PA8 broken?

Vdd of STM32F031G4U6 and LSM6DSL is same.

Vdd is generated by the 3.3V regulator.

This topic has been closed for replies.

1 reply

TDK
September 10, 2020

> INT2 of LSM6DSL connects PA8 of STM32F031G4U6.

> PA8 of STM32F031G4U6 set output port, no pull-up, no-pull down.

The INT2 pin should be an input on the MCU, not an output.

"If you feel a post has answered your question, please click ""Accept as Solution""."