Running a Raspberry 3 I installed a SparFun QWIIC HAT for the Raspberry and tried to connect the SparkFun XA1110 Titan X1 breakout via the HAT. Looking up the address of this I2C device on Raspberry (i2cdetect -y 1) did not show the address. The raspberry is prepared for I2C.
When I connect my SparkFun LSM9DS1 breakout via GPIO 1 3 5 9 directly to the Raspi I get the connection and see its address. When I connect the LSM9DS1 via daisy chain through the XA1110 it does not work!
Thanks for reply. That’s what I first thought as well. I checked different cables and also checked the voltage on the 3.3V breakout pin. It runs at about 2.3 V with a cable length of 500mm and also with 100mm. Is the drop in voltage reasonable?
Here is a solution to my problem… I sent you a photo of the Raspbery HAT installation and you didn’t find any abnormalty. Lately I checked your > Get started with the Qwiic Pi HAT guide< and saw that the HAT had to be installed 180 deg the other way around… Fixing it I expected the XA1110 to work… but it didn’t. Probably I fried the chip, because it was supplied by 5V instead of 3.3V. A new XA1110 now works fine.
Now as the chip is working I am using your Qwiic_Titan_GPS module for the Raspberry Pi. And here comes the next problem around the corner. As I use the XA1110 for measurements in airplanes I need to crank up the output to 10Hz. Familiar with PMTK Packets I do not know how to send these commands to the chip via your Qwiic I2C connection.So my questions are:
Is it correct if I sent the commands using >bus.write_i2c_block_data(ADDR,0,BytesToSend)< ?
What is the offset the command has to be sent to?
Is it 0x10,0 for the XA1110 ?
Which part of the PMTK command has to be sent ?
E.g. $PMTK220,100*2F Do I have to include the ‘$’, checksum and carriage return - linefeed command ?