Connect with us

ADS8344 and HCS12

Discussion in 'Electronic Design' started by [email protected], May 10, 2006.

Scroll to continue with content
  1. Guest

    (*HOW*) can I connect the A/D converter ADS8344 (16-bit out) to the SPI
    module of the MC9S12C32 (ChipS12 / HCS12)?

    It appears quite illogical to me that a 16-bit signal can be acceppted
    and understood by an 8-bit SPI modul, but I am still hoping I got
    something wrong, there is a misunderstanding or even better some trick
    to get around this problem?
    After all this µC is a 16-bit controller... ?!

    I am very thankful for any constructive suggestion what-so-ever!
  2. Guest

    Can't you simply recieve/transmit two 8-bit chunks? I used a 12-bit
    D/A converter once with a micro providing an 8-bit SPI. The D/A
    actually required 16 bits, so I sent out two 8-bit loads.
  3. Guest

    But how do I tell my A/D converter to send only 8 bit?
  4. You don't.
    SPI is clocked by the master. You clock 8 bits, and then another 8 bits.
    The slave doesn't care a 'jot' if there is a slight pause between bit 8
    and 9. It is common practice (most if not all SPI master implementations
    are 8 bit), and works fine.

    Best Wishes
  5. mmm

    mmm Guest

    for the OP :

    don't toggle chip select between the two octets ( bytes )
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.
Electronics Point Logo
Continue to site
Quote of the day