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/TMS570LC4357: problem about the MIBSPI control

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hi,

I want to use MIBSPI function to control the digital potentiometers by sending an 8-bit information.  I attached the timing diagram:

As we could see there are 2 extra CLK pulses, one is generated before the CS drops, and another is generated after transmission. So could you give me some suggestions?

Thanks

Li Jiakai

  • Hello,

    Is the 1st and 10th clocks have to be generated when nCS is HIGH? If this is true, SPI can not be used for this potentiometers. If not, you can configure the charlen=10 to generate 10 cycles clock signal, and skip the 1st and last bit of the read data.