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.

CCS/EK-TM4C1294XL: CS pin ADC161S626EVM

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: ADC161S626EVM, , TM4C1294NCPDT

Tool/software: Code Composer Studio

I'm trying to use the booster pack from TI the ADC161S626EVM with the LaunchPad through the SSI on the BoosterPack 1 Pins, but in the pin_map.h,  doesn't have the proper configuration pin for CS, which would be the SSI2FSS on pin PE4. Instead, the library has the SSI2FSS on pin PD2 (#define GPIO_PD3_SSI2CLK        0x00030C0F) which is located in the BoosterPack 2 pins. How will I be able to connect/configure the CS pin in the board?

  • To use the ADC161S626EVM on the EK-TM4C1294XL launch pad you configure PA7 as SSI2CLK, and PD7 as SSI2DAT1 (MISO). PD6, SSI2XDAT0 (MOSI) is not used. You configure PE4 as a digital output to do the CS function. I suggest you drive PE4 low, then do two 9 bit transfers in Legacy Freescale SPI format with SPO=1 and SPH=1. At the end, drivePE4 output high. You will need to reassemble the 16-bit data by taking the least 7 significant bits from the first transfer and pre-pending them to the 9 bits from the second transfer.

  • Hello Box,

    Thank you so much for your reply. It really helped me.

    I'm new to the SSI kinda stuff. So just to make sure I'm on the right path. I'll have to manually (in the code) turn PE4 high/low in order to activate/deactivate CS, right?

    Cause, as I can see in the datasheet of TM4C1294ncpdt, the GPIO PE4 don't have the SSI function FSS, but it is possible to set it as SSI1XDAT0 instead, which won't work for me.

    Thank you.

  • You understand correctly. Make PE4 a GPIO that is output high, then make it GPIO output low to be the active chip select during the ADC conversion, returning it to high at the end.