Skip to content

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