Skip to content

i2c on Spike Prime #1047

Answered by laurensvalk
dmusican asked this question in Q&A
Apr 25, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

It's not out of the question, but it will need quite a bit of work if we want to do it properly. See pybricks/pybricks-micropython#159 for some very early ideas about making the ports multi-functional.

A small number of ports on SPIKE may support I2C via hardware, but the more likely route may be a software based solution so that it could work on all hubs/ports. This is essentially still bit-banging, but with a lower level process so it doesn't depend on the timing of Python code.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by dmusican
Comment options

You must be logged in to vote
2 replies
@laurensvalk
Comment options

@dmusican
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
3 participants