2015-10-10 07:53 AM
Hi,
I would be very grateful if anyone could post some sample code to implement... i2c 7-bit protocol with combined write and read, multiple data bytes to be read in a sequence.Basic std FW library compatible sample code not involving Cube or CPAL would be preferable!!!Thanks in advance.P.S. Just wondering - the people who post those lovely clean sample snippets - where do you get them?2015-10-10 09:12 AM
where do you get them?
Well I'm an engineer, and I write stuff, either from scratch, or by synthesizing what I need from other code I've written, or other code examples that don't do exactly what I want, but can be bent into shape. That and I can digest technical manuals. ST provided their own subset of examples in most of the SPL, DISCO, EVAL and Cube releases.There's really not a magic spring in the ground where they bubble out of the ether.I'm also really good at static code analysis, from machine language on up.2015-10-10 09:54 AM