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

Use appropriate size for i2c memory regions #123

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

Kswin01
Copy link
Contributor

@Kswin01 Kswin01 commented May 29, 2024

The I2C data region is currently bound to 12,800 bytes. The request/response regions are currently limited to 4008 bytes.

@Ivan-Velickovic
Copy link
Collaborator

One page should be plenty for everything in the example no?

@Kswin01
Copy link
Contributor Author

Kswin01 commented May 30, 2024

One page should be plenty for everything in the example no?

In this example yes, one page should be sufficient. But the i2c components expect the above sizes, we can reduce these as well if needed. Would you prefer to have everything in the example as small as possible?

@Ivan-Velickovic
Copy link
Collaborator

There is only one client and its always waiting on a response for each request. The payloads are very small and so a page is plenty I think.

It would be good to have a comment in the SDF justifying the sizes.

Signed-off-by: Krishnan Winter <krishnanwinter1@gmail.com>
@Ivan-Velickovic Ivan-Velickovic merged commit eb43b9b into main Jun 26, 2024
4 checks passed
@Ivan-Velickovic Ivan-Velickovic deleted the i2c_example_mr branch June 26, 2024 02:05
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

Successfully merging this pull request may close these issues.

2 participants