Hi,everbody:
when i debug the code of pmbus,the bit of I2CEMDR what i used in the default ,the data transport fallaciously,in the last i write 0 in the bit of I2CEMDR (bcm),the data transport correctly.how to use the register of the I2CEMDR (bcm)?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,everbody:
when i debug the code of pmbus,the bit of I2CEMDR what i used in the default ,the data transport fallaciously,in the last i write 0 in the bit of I2CEMDR (bcm),the data transport correctly.how to use the register of the I2CEMDR (bcm)?
Hi User,
BCM is backward compatability mode . It is pretty well explained in the TRM:
So if your code needs BCM=0 it just means that it is designed to handle the TXRDY in slave mode the 'new' way.
Customers who had existing code when the change was made could set BCM to '1' to have the old behavior so that their code could easily be migrated without breaking it. But I think the new behavior BCM=0 must be advantageous (avoids extra interrupt as described) so if that is how your code needs it to be set you should be in good shape.