1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

initialization code for interfacing 89C51 with CS5532 over SPI bus

Discussion in 'Embedded' started by amit, Jan 14, 2010.

  1. amit

    amit Guest

    initialization code for interfacing 89C51 with CS5532 over SPI bus
    Plse help me for wrting C code for handling this ADC
     
    amit, Jan 14, 2010
    #1
    1. Advertisements

  2. amit

    Tauno Voipio Guest

    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, Jan 14, 2010
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.