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.
UCB0SDA和UCB0SCL必须要接10K上拉电阻吗?
你好,由于I2C接口采用Open Drain机制,器件本身只能输出低电平,无法主动输出高电平,只能通过外部上拉电阻RP将信号线拉至高电平。
因此I2C总线上的上拉电阻是必须的!
MSP430G2231 internal pull-ups内部上拉电阻大约在 35K左右 (具体的内部上拉电阻详见具体芯片手册)如果低速的情况下可以用内部,但是在总线上挂多个设备的时候这种方式不推荐使用,还是要外接上拉电阻。