This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIDA-010197: TIDA-010197 - MSP430FR5969-SP to ADC128S102QML-SP SPI Issue

Part Number: TIDA-010197
Other Parts Discussed in Thread: MSP430FR5969-SP, ADC128S102QML-SP

Can you provide the example .c and .h files for this reference design? It is mentioned in the design guide that code will be provided but I do not see it on the product page.

I am currently trying to interface an MSP430FR5969-SP to an ADC128S102QML-SP. However, we are not able to get conversion results that make sense. As we send out bytes using the eUSCI SPI peripheral, the SCLK bursts are in 8 cycle increments as opposed to the 16 continuous SCLKs in the ADC's datasheet. An example scope shot is below.

Is there a way to configure the MSP430 such that the eUSCI SPI peripheral can drive the ADC128 without this pause?

  • Hello Sean, 

    I apologize for the delay in response, thank you for your patience.

    I don't think I can share the file on e2e directly, but if you message me privately I can email you the code to you.

    The ADC128S102QML-SP requires a pause in the programming. If you look at page 10 of the datasheet, you will find that the first write is the address, then you have to wait a clock cycle for the data to write out.

    The other thing to is that MSP430 can only read in 8bit at a time and the  ADC is 12bit so you would have to read the data twice and combine it together. The way we do the paus is by putting in a buffer. to create the pause between writing the address and reading the data. 

    Please message me privately and I can send you files.

    Thank you