h3lis331dl ID problem
Hi,
I have a board with h3lis331dl and asm330 on it. And the 2 sensors are weld on the same SPI wire. The MCU uses CS signal to select the sensor it wants to read. everything is going on well with asm330. But when I select h3lis331dl, the read out ID is correct at around first 3 times. But after that, the read out h3lis331dl ID becomes 0xff. I have no idea what's wrong here. Maybe some registers were set wrong? Did someone else suffer from this problem before? thanks.
lyc
