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.

MSP432E401Y: Trouble getting QSSI working

Part Number: MSP432E401Y
Other Parts Discussed in Thread: ADS7038,

Hi,

I'm trying to get the QSSI function working on an MSP432E401Y and I'm not having any luck. The first device I want to talk to is an ADS7038 A/D converter. As an initial test I'm setting up the registers as described in Section 23.4 of SLAU723A and looking at pin PD3 which should be the clock signal. After setting up the registers I write a byte to the SSIDR register expecting to see a clock signal on PD3, but I get nothing.

Here are the steps I'm taking to set up the registers:

1. Enable the QSS0 register by writing 0000.0001 to RCGCSSI at 400FE61C
2. Enable the clock to port D. RCGCGPIO at 400FE608 was already 0000.7fff so I just echoed it back.
3. Set the GPIOAFSEL pins for port D by ORing the value at 4005B420 with 0000000F
4. Set the GPIOPCTL register to assign QSSI signals by ORing the value at 4005B52C with 0000000F
5. Set the GPIODEN register to enable the digital function by ORing the value at 4005B51C with 0000000F
6. Set QSSI0 to master mode by writing 00000000 to 40008004
7. Set it to use the system clock by writing 00000000 to 40008fc8

The example at the end of section 23.4 on page 1535 specifies the following:

1. Set SSICR1 to 00000000 at 40008004
2. Set SSICPSR to 00000002 at 40008010
3. Set SSICR0 to 000009c7 at 40008000
4. Enable QSSI0 by writing 00000002 at 40008004

Then I tried to send a byte to the ADS7038 by writing 08 to SSIDR at 40008008 but I didn't get the clock signal on PD3 that i was expecting.

If anyone can see what I'm doing wrong, or if there are any suggestions on how to troubleshoot this, please let me know.

Thank you for any responses.