initialization code for interfacing 89C51 with CS5532 over SPI bus Plse help me for wrting C code for handling this ADC
- posted
13 years ago
initialization code for interfacing 89C51 with CS5532 over SPI bus Plse help me for wrting C code for handling this ADC
If you do not have the data sheet, get it. Just Google for CS5532 and pick the data sheet.
Read the register descriptions, allocate 3 port bits for MISO, MOSI and CS-. Write code to wiggle the port bits according to the diagrams on data sheet page 22.
-- Tauno Voipio
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.