2019-11-01 01:14 AM
Hello,
As far as I understand, I2C access with STM32H7 supports only 8-bit data.
But we need 7-bit data. Is that possible ?
Thanks
Solved! Go to Solution.
2019-11-01 05:46 AM
I2C specification states 8 bit data + ACK bit.
If 7 bits then it's no longer called I2C.
2019-11-01 05:46 AM
I2C specification states 8 bit data + ACK bit.
If 7 bits then it's no longer called I2C.
2019-11-01 05:47 AM
And then the answer is no. Use SW I2C with GPIO to build customized waveforms for the pseudo I2C.
Or maybe there is confusion for the slave address, it's 7 bit + Read/write bit = 8 bits
2019-11-01 05:53 AM
Perhaps you can post information about what device you're trying to communicate with, and the "7-bit" mode you're talking about.
The address is 7-bit wide, perhaps you're confusing terms/requirements, but question lacks sufficient context.
2019-11-01 06:14 AM
Hi,
I was speaking of data width - not address mode.
So, according to previous answers here, it seems that data must be used with 8-bit bytes only.
Thank you
2019-11-01 06:25 AM
Ok, but it what context? What device needs/provides such a mode?
2019-11-01 08:52 AM
It is not for a specific device, but only optional for any for future device requiring 7-bits data.
Thanks