Tool/software:
In our application we have a Microchip SMbus / USB Converter (MCP2221A), so that we can talk to the battery charger IC from our SBC.
Using the Microchip SMBus Terminal interface, I am trying to set the IIN_Host (3F) command to 5A (4500mA)
The READ command seems to work correctly if I use the following settings :-
Address Length 7 bit
Address 09
Operation READ
Register Index 3F
Data 2
PEC OFF
After a power-up the response is 00 41 (3250mA default)
However, if I then WRITE the following command :-
Address Length 7 bit
Address 09
Operation WRITE
Register Index 3F
Data 5A (4500mA)
PEC ON
When I READ back the IIN_HOST register it has changed to 4F (not the 5A I set it to)
Do you have any idea why it is not reading back correctly or am I not writing the correct command ?
Any help would be much appreciated.
Many thanks