Post Go back to editing

MAX77675 IIC Cannot work normal

Category: Software
Product Number: MAX77675
Software Version: V1.0

1.MCU probabilistic failure to read registers

2.PVDD periodically drops to 1V, frequency: 682Hz

3.Could you provide Demo Code for me?

4.My Code:

The first time the chip IC is read after nEN is pulled low
max77675 address 0x00 74-----0111 1000---Manual Reset Time 8s Enable internal pullupnEN p
max77675 address 0x01 0
max77675 address 0x02 5
max77675 address 0x03 ff
max77675 address 0x04 f3
max77675 address 0x05 8
max77675 address 0x06 3
max77675 address 0x07 0
max77675 address 0x08 34
max77675 address 0x09 2a
max77675 address 0x0A 18
max77675 address 0x0B 29
max77675 address 0x0C 8


//enter standby mode
index = 0x03;
max77650_pm_i2c_write(dev,MAX77675_INT_GLBL,0x01,&index,0x01);

Read 0X05 register:
max77675 address 0x05 0

Setting the SSB
index = 0x7C;
max77650_pm_i2c_write(dev, MAX77675_CNFG_SBB0_A,0x01,&index,0x01);
index = 0x2a;
max77650_pm_i2c_write(dev, MAX77675_CNFG_SBB0_B,0x01,&index,0x01);
max77675 address 0x02 0

index = 0x7C;
max77650_pm_i2c_write(dev, MAX77675_CNFG_SBB1_A,0x01,&index,0x01);
index = 0x29;
max77650_pm_i2c_write(dev, MAX77675_CNFG_SBB1_B,0x01,&index,0x01);
max77675 address 0x02 28 // here 0x28 exception

// exit standby mode
index = 0x04;
max77650_pm_i2c_write(dev,MAX77675_INT_GLBL,0x01,&index,0x01);


Delay 100ms.

Read the register address of MAX77675 again:
max77675 address 0x00 74
max77675 address 0x01 0
max77675 address 0x02 5
max77675 address 0x03 ff
max77675 address 0x04 f3
max77675 address 0x05 1
max77675 address 0x06 3
max77675 address 0x07 0
max77675 address 0x08 34
max77675 address 0x09 2a
max77675 address 0x0A 18
max77675 address 0x0B 29
max77675 address 0x0C 8

Delay 1000ms and read the register address of MAX77675 again:
max77675 address 0x00 74
max77675 address 0x01 0
max77675 address 0x02 0
max77675 address 0x03 ff
max77675 address 0x04 f3
max77675 address 0x05 0
max77675 address 0x06 3
max77675 address 0x07 0
max77675 address 0x08 34
max77675 address 0x09 2a
max77675 address 0x0A 18
max77675 address 0x0B 29
max77675 address 0x0C 8



Tagged
[edited by: GenevaCooper at 10:36 PM (GMT -5) on 5 Dec 2023]
Parents Reply Children
No Data