Helio V. wrote:

Hi all,

A quick SPI question....
I have to interface my msp430f149 to a few tlv2543 ADCs. At some point,
this ADC requires shifting in data, but at the same time it shifts out the
result of the last conversion. I have not been successful doing both in
the same clock cycle. Do you know if that is even possible?  Will I have
to resort to "manual bit banging"?

Thank you in advance.

helio

The 149 has a proper SPI mode in one of its UARTs (maybe both - I can't quite remember). This offers full fast SPI operation, with accurate timing. It is, therefore, ideal for driving things like ADCs, which need precise timing to avoid sampling jitter.

There are examples around of programming the 430 UARTs to make use of the SPI mode. If you can't find any in the mspgcc archive, there are certainly some on the TI web site, amongst the bundles of examples in assembly language and C.

Regards,
Steve




Reply via email to