Reduce smbus speed to 50 KHz

This commit is contained in:
Jeremy Soller
2019-11-10 20:25:15 -07:00
parent 7b30477009
commit 285e9bc437
2 changed files with 9 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ void smbus_init(void) {
SMB45P3USL = 0x5C;
SMB45P3USH = 0x01;
// Clock to 400 KHz
SCLKTSA = 3;
// Clock to 50 KHz
SCLKTSA = 1;
// Enable host interface
HOCTL2A = 1 << 0;