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

working PoC I2C slave example #48

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

cr1tbit
Copy link

@cr1tbit cr1tbit commented May 26, 2024

Hello,

I'm working on I2C slave PoC. It's explained in the top of main.c

TL;DR: IMO the best usage for PY32F002 is an "smart" IO-expander replacement, but there are no realistic examples for this kind of operation in "examples". This code emulates PCF8574 communication (handling both "read" and "write" operations)

This PR is not meant to be merged as-is (it replaces User/ directory with basic example), and it also requires a lot of cleanup. But it's already usable, and I hope it will maybe start some discussion, maybe even will get attention from experienced STM32 PY32 developers that know how to make this code better :)

@cr1tbit cr1tbit marked this pull request as draft June 15, 2024 10:00
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.

1 participant