Hi, I am using an Adxl346 with a CPLD for a project. I have coded a program through VHDL which should set up the accelerometer and have it send it's reading back into the CPLD however I am getting no reaction from the ADXL346 when I connect it to the CPLD.
I have wrote a vhdl file which should initialise the accelerometer and then I have been testing it on an Oscilloscope to see if int1 will go high to indicate Data_Ready however this does not happen and I cannot figure out why.
Also in the ADXL 346 quickstart guide on page 4 Figure 7 the SDI line has the Address 0xF2 but I can't find what this signifies in any datasheet does anyone know?
I have attached the VHDL code I have been using and i know that it works, it just doesn't make my ADXL346 work
Can anyone please shed some light on why I can't get the Acc running as I've tried everything I can think of.
Thanks in advance for any insight.