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.

TMS570LS0432 SPI connection with LTC6804HG-2

Other Parts Discussed in Thread: HALCOGEN, TMS570LS0432

Hi,

I want to communicate via SPI  with LTC6804HG-2 IC .I have TMS570LS0432 microcontroller .I made example which given by halcogen.I can send and get data to tms570 itself but i cannot make communication with this IC.What kind of settings I have to do?.What kind of information do ı hvae to know for this communication

thanks

  • While I am not an expert on the Linear Technology part, it looks like you should connect LTC-SCK to SPICLK, LTC-SDI to SPISIMO, LTC-SDO to SPISOMI (with a pull-up) and LTC-CSB to  SPICS. You did not tell me which SPI you want to use on the TMS570LS0432, so I am just using the generic pin names. The TMS570 should be the master. The data format should be polarity=0, phase=1.

  • Hi,
    I used mibspi1 but how can I know these settings appropriate for LTC6804?what kind of information do I have to know?
    What kind of code do I have to develop for communication?
    I didnt find any video or tutorial about SPI communication with TMS570 and other kind of devices?
  • Page 36 of the LTC6804 data sheet shows the required SPI timings. Section 21.2.7 of the TMS570LS04x Technical Reference Manual shows the different timing formats supported. Notice that figure 21-9 matches the format for the LTC6804.

  • Hi,

    At the datasheet of LTC6804 page 34 its written "system using CPHA=1 CPOL=1"but you said it seems like pol=0 phase=1 and I think it seems pol=1 and phase=0 :)

    how can we  be sure about true format ? and

    the important thing sorry for this question but I am new at programming "How can I write a code  for supply communication ? You can say you must know these things like that.... 

    Thanks