Skip to content

i2c.master: this port has not been initialized, please initialize it first #494

Answered by YanKE01
OzerOzdemir asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @OzerOzdemir . You can ignore this error. This design is intended to handle the scenario where the I2C bus is first initialized by the application, and then sensors using the I2C_BUS component attempt to initialize the bus again. If the I2C_BUS component detects that the I2C bus has already been initialized, it will only initialize the resources required by the I2C_BUS component, rather than reinitializing the I2C bus. Devices created by the I2C_BUS component afterward will be attached to the already-initialized bus.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by OzerOzdemir
Comment options

You must be logged in to vote
1 reply
@YanKE01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants