1477 views|9 replies

2865

Posts

4

Resources
The OP
 

There is a new discovery (successful) on using the PB8 pin of STM32G431CBT6 as I2C [Copy link]

"The PB8-BOOT0 pin of my board STM32G431CBT6 is designed to connect to the AT24C08 device, but PB8 defaults to the BOOT0 function. I used STM32CubeMX to generate the program, but it does not work properly. Even if I2C is not used as GPIO output, it does not work. I did the same experiment as @damiaa in the forum, and the results are: no matter how the PB8 status is set in the program, PB8 is 0, which is GND. In order to make the system work, my system PB8 uses tool software to set nSWBOOT0=0, BOOT0=0; only in this way can my board work, otherwise the program cannot be burned. I would like to ask for guidance from all the experts. If anyone can contact ST engineers, please give feedback to the original manufacturer. Thank you very much!"

I found today that I can work if I change the settings of STM32CubeMX to the following.

This post is from stm32/stm8

Latest reply

It’s better not to touch these feet, because if something goes wrong, all you can do is cry.   Details Published on 2022-12-29 15:00
 

6062

Posts

4

Resources
2
 

Thanks for sharing

This post is from stm32/stm8
 
 

6742

Posts

2

Resources
3
 

Will it work properly if it is set to hardware IIC?

This post is from stm32/stm8

Comments

There are also OB settings, BOOT0 = 0; swBOOT0 = 0;  Details Published on 2022-12-14 11:03
 
 

2865

Posts

4

Resources
4
 
wangerxian posted on 2022-12-14 10:19 Can it work normally if it is set to hardware IIC?

There are also OB settings, BOOT0 = 0; swBOOT0 = 0;

This post is from stm32/stm8
 
 
 

5998

Posts

6

Resources
5
 

It's really okay. I try not to touch this kind of pins. Don't take risks.

This post is from stm32/stm8

Comments

If I had enough pins, I wouldn't touch them.  Details Published on 2022-12-14 14:30
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

11

Posts

0

Resources
6
 

Enthusiastic reply, like, and support, just for points, come on

This post is from stm32/stm8
 
 
 

2865

Posts

4

Resources
7
 
Qintianqintian0303 posted on 2022-12-14 11:30 It's really good. I try not to touch this kind of pins. I don't take risks.

If I had enough pins, I wouldn't touch them.

This post is from stm32/stm8
 
 
 

224

Posts

0

Resources
8
 

So, the key is to configure the pins to "high speed mode"?

This post is from stm32/stm8
 
 
 

7422

Posts

2

Resources
9
 

It’s better not to touch these feet, because if something goes wrong, all you can do is cry.

This post is from stm32/stm8

Comments

There is no other solution, or you can just replace the chip. There are only so many pins, so it might be better to use it as GPIO.  Details Published on 2022-12-30 14:47
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

2865

Posts

4

Resources
10
 
freebsder posted on 2022-12-29 15:00 It’s better not to touch these feet. Once something goes wrong, all you can do is cry.

There is no other solution, or you can just replace the chip. There are only so many pins, so it might be better to use it as GPIO.

This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list