Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c Transfer and WriteRead #49

Open
9names opened this issue Aug 9, 2023 · 0 comments
Open

i2c Transfer and WriteRead #49

9names opened this issue Aug 9, 2023 · 0 comments

Comments

@9names
Copy link
Collaborator

9names commented Aug 9, 2023

When reading the datasheet I had assumed we can't do multiple operations without a stop bit.
But the SDK does look like it supports this.
https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/bsp/common/image_sensor/image_sensor.c#L41-L49
https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/drivers/lhal/src/bflb_i2c.c#L407-L419

It seems to be related to sub-address size? Need to work out what is required to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant