I couldn't find SPI command set of ADXL375 in the datasheet. I tried the SPI commands of ADXL362 but that didn't work out, response was always 0xE5. I also searched on the internet but I found nothing.
Any help will be appreciated much.
I apologize but it was not our intention to make you read hex code. The ADXL375 is fairly new as my colleague mentioned but it uses the same signal conditioning ASIC as the ADXL345 so all communication and register settings will be identical. Please refer to the following link for the SPI example code.
That isn't something that is always going to be in the product datasheet. Check out the ADXL375 firmware link at this site, for some code examples. Perhaps that will help.
I can only disagree because I2C commands are given specifically in the datasheet. I tried to look at firmware but it was just a hex file. How can they expect me to read hex code? I mean a project with sensors could be created even by a high school student. Did they expect that a high school student can read hex code? I don't know how to disassemble it. I don't want to invent the whole accelerometer, I just want to read data from it.
After I checked out the datasheet again, I noticed the SPI figures 25 and 26 and I added R/W mode bit and multiple read bit in front of the adress and I managed to communicate finally. So my question is, was that so hard to add what I wrote here? My 2nd question is, why does not companies stick to just one principle for their entire products to use common procedures like SPI?
I sent an e-mail to technical support for the same question 2 days ago, but all I got was an apology saying that they were facing a delay because of the other "COMPLEX" products, basically saying my question doesn't matter to them. If they don't want me to ask questions, they have to realize that they should write the datasheet or manual whatever more comprehensible and detailed.
I am sorry that this does not meet your expectations. We appreciate your feedback, as we are always trying to improve our documentation and support tools. The ADXL375 is relatively new and sometimes it takes some time to work through filling out these support items. Perhaps my one of colleagues (one of them wrote the posted firmware) will have some example code to share in this discussion. Since this is a very simple task, high-school level according to your response above, we hope that this will not slow you down too much. Can you share the email or link that you used to submit your technical support request? While I understand where you are coming from, I doubt that truly reflects this team's perspective on your needs. So, I would like to check into that and find out more details.
OK, don't worry about example, I solved my problem with the way I explained above I just wrote. I was just disappointed with the way the datasheet was written. Also your message didn't meet my expectations because you just expected me to understand the firmware without giving any detail of how to use it. Therefore I reacted in this way.
I sent the email to European Center via https://form.analog.com/form_pages/support/integrated/techsupport.aspx
Its case number is E14DW01781. I still didn't get any response from them.
Great work! We greatly appreciate your persistence in making this work and look forward to hearing how things progress for you! Good luck on your project! I will check on the case number and share anything I find out. Might not learn much but I want to find out what to expect from this service. Thanks again for the feedback!
Retrieving data ...