8 years, 7 months ago.  This question has been closed. Reason: Unclear question

I2C doesn't work at version 106

update version from 104 to 106, and I2c is not working, there is Fragment simple code like the sample code, Using stm32F411, and only send first address, no second data

include the mbed library with this snippet

             addr=pc.getc();
                //out.printf("%x",addr);
                pc.gets(buffer,2);//02 54 XX
                
                NTP.write(addr, buffer,1);
                NTP.read(addr,readbuffer,1);

Question relating to:

Hello,

ca n you provide moroe details ? Does not work? no write or reat? what's NTP? i2c object I assume.. If you can, share more details to help to pinpoint to a real issue. FYI, The cube driver was updated for v106.

posted by Martin Kojtal 03 Sep 2015