0

(Sorry, I'm not a native English speaker)

I have a chip with Serial Input, Serial Output, and a Clock (used by both serials). I want to read the output with an Arduino or ESP-32.

The device I want to read is: https://statics.cirrus.com/pubs/proDatasheet/CS5460A_F5.pdf

How can I do this? I don't have too much expertise in serial communication.

Do I need anything else?

I would appreciate any help.

  • In the Arduino world "Serial" means UART (though that is really misleading sometimes). Your sensor uses SPI. There is a SPI library incorporated into the Arduino IDE. You will have to learn how to use it. And maybe you can also learn from this github project that uses your device – chrisl May 26 '19 at 0:57
  • 1
    Currently your question is too broad. Try to research more, trying out some codes, think about what exactly you don't understand in SPI communication and the devices datahsheet after researching. Then you can come back with a more specific question. – chrisl May 26 '19 at 0:59
  • Do I need anything else? - code – Jaromanda X May 26 '19 at 23:12
-1

This device seems to communicate via SPI. Google for "serial peripheral interface" and learn how it works. You will then be able to know what to do with the information in chapter 4 of the datasheet.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.