SPI communication with MSP430P169 Board

Hello guys!

I’m new to programming, and I was asked to do some changes on an existing program :S

It currently uses the internal ADC of the microcontroller to do the sampling, but now I have to use an external ADC, with higher sampling frequency, which communicates with the uC through SPI.

These concepts are new to me, so can anyone help me please? I have the previous code for the MSP430F169, but I don’t really know how to change it to get the conversion results from another source…

Sara

This TI example shows an SPI connection to an ADC.

msp430x22x4_uscib0_spi_01.c

Thank you, I’ll check it :slight_smile: