This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E411Y:MSP432E411Y I2C 复位功能

Guru**** 2589265 points
Other Parts Discussed in Thread: MSP432E411Y

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/912410/msp432e411y-msp432e411y-i2c-reset-capability

器件型号:MSP432E411Y

是否可以在不复位整个 MCU 的情况下仅复位 MSP432E411Y 上的 I2C 控制器? 如果是、是否有记录的程序?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我想您要关闭 I2C 外设、您可能需要:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的- I2C 是否有等效的硬件复位、在这里寄存器被复位、类似于硬件复位?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我认为您需要设置 SRI2C 中的相应位、然后将其清零。 [参考 TRM (SLAU723A)第4.2.72节]

    driverlib 中似乎有一个用于此操作的函数、如下所示:

    > SysCtlPeripheralReset (SYSCTL_Periph_I2C1);