pyb & machine with I2C and STM32 #10612
Unanswered
AutoPilotjn
asked this question in
Hardware & Peripherals
Replies: 1 comment
-
Yes, this is the TODO list.
OK that is good to hear. It is surprising that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestion.
I could not succeed in having pyb.i2c work with sending or receiving more than one byte. Indeed mem_read() did not return the proper bytes read, according to my trials.
Then I lately noticed that pyB.I2C shall be used for legacy I2C support only. Instead machine.i2c shall be used.
Maybe I overlooked at the documentaion, maybe I did not manage to make pyb mem_read & mem_write to work ?
In any case, may I suggest to make it clearer in the documentation that 'machine' shall be used ?
For the sake of clarity machine.i2c.writeto_mem() & readfrom_mem() work satisfactorily as described in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions