When I send Address then I receive AF bit of I2C_SR1 register equals "1" (Acknowledge failure). But the diagram taken from the oscilloscope shows that after the address there is a Acknowledge bit equal to "0". Which does not correspond to the AF bit in I2C_SR1 register. Why?...
初始化代码:#define I2C1_SLAVE_ADDRESS7 0x30 #define ClockSpeed 320000 void RCC_Configurati...
使用I2C 外设通讯时,在通讯的不同阶段它会对“状态寄存器 (SR1 及 SR2)”的不同数据位写入参数,我们通过读取这些寄存器标志来了解通讯状态。 1.2.3.1. 主发送器 见图1 - 10 。图中的是“主发送器”流程,即作为 I2C 通讯的主机端时,向外发送数据时的过程。 图1 - 10 I2C 主发送器通讯过程 主发送器发送...
CR2: 424 SR1: 240 SR2: 2 I think I have answered all your points. Tell me if can investigate others. Thank you again for your insights.Member fpistm commented Jul 13, 2023 • edited I have no more insight. Or maybe related to stretch feature anyway as I can not reproduce I could...
Delta Electronics, Inc. E36SC3R335 587Kb / 15P Industry standard footprint and pinout V48SR1R225 528Kb / 14P Industry standard footprint and pinout More results Html Pages 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 数据表 ...
在外设工作时,控制逻辑会根据外设的工作状态修改“状态寄存器(SR1和SR2)”,我们只要读取这些寄存器相关的寄存器位,就可以了解I2C的工作状态了。除此之外,控制逻辑还根据要求,负责控制产生I2C中断信号、DMA请求及各种I2C的通讯信号(起始、停止、响应信号等)。 22.2.2.7. 低功耗唤醒功能控制 STM32MP157的6个I2C外设均...