STM32H750XB_RT-THREAD/23-I2C—读写EEPROM/必读说明.txt
2025-07-21 14:34:29 +08:00

71 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*********************************************************************************************/
*】 程序简介
-工程名称基本读写EEPROM
-实验平台: 野火STM32 H750 开发板
-MDK版本5.25
-ST固件库版本1.5.0
【 !】功能简介:
读写板载的 I2C EEPROM 芯片。
学习目的学习STM32的I2C驱动。
【 !!】注意事项:
【 !】实验操作:
电脑端使用串口调试助手选择电脑与STM32相连的COM口设置为115200-N-8-1
复位开发板即可接收STM32串口发送给电脑的调试信息。
/*********************************************************************************************/
【*】 引脚分配
EEPROMAT24C02
EEPROM芯片的I2C接口与STM32的I2C4相连,且已接上拉电阻。
SCL <--->PD12
SDA <--->PD13
串口(TTL-USB TO USART)
CH340的收发引脚与STM32的发收引脚相连。
RX<--->PA9
TX<--->PA10
/*********************************************************************************************/
【*】 时钟
A.晶振:
-外部高速晶振25MHz
-RTC晶振32.768KHz
B.各总线运行时钟:
-系统时钟 = SYCCLK = 480MHz
-AHB4 = 240MHz
-AXI = 240MHz
-APB1 = 120MHz
-APB2 = 120MHz
-APB3 = 120MHz
C.浮点运算单元:
使能
/*********************************************************************************************/
【*】 版本
-程序版本1.0
-发布日期2019
-版本更新说明:首次发布
/*********************************************************************************************/
【*】 联系我们
-野火论坛 :http://www.firebbs.cn
-淘宝店铺 :http://firestm32.taobao.com
/*********************************************************************************************/