Ram Prasadh
Member level 2
hello everyone,
With PIC16F72 as the master I am interfacing a MAXQ3180 power measurement IC. I have wrote a code to read a register from the MAX which holds a default value on start-up.When I send the adress of the register to be read , to the MAX, it gives te ack perfectly, but the value read always shows 0xFF when read on any register. I am perfectly following all the specifications mentioned in the data sheet.If anyone has worked with a MAX , Please help me solve this ? If needed I will provide the code...
PS* The MAX is only a slave. It can be controlled only from the master(PIC), through SPI.
With PIC16F72 as the master I am interfacing a MAXQ3180 power measurement IC. I have wrote a code to read a register from the MAX which holds a default value on start-up.When I send the adress of the register to be read , to the MAX, it gives te ack perfectly, but the value read always shows 0xFF when read on any register. I am perfectly following all the specifications mentioned in the data sheet.If anyone has worked with a MAX , Please help me solve this ? If needed I will provide the code...
PS* The MAX is only a slave. It can be controlled only from the master(PIC), through SPI.