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.

SDK 1.1.0.3

Other Parts Discussed in Thread: AM3359

Hi,

We are using SDK 1.1.0.3 Ethercat application on ICE AM3359

We are referring to SPI , Digital Input functions

In function UTILSReadHVS(), It is observed in function McSPICycle() there is a use of function McSPICSAssert

But where as the SPI CS (chip select) is not connected to Digital Input module, why is this function McSPICSAssert used, Is there any need that when we use SPI communication we have to use McSPICSAssert  and McSPICSDeAssert

What is the need of SPI System register configuration 481A_124 ?

Regards,

Bindu

 

  • Bindu,

    The SPI CS logic is redundant in the current source. Thanks for pointing that out, it will be fixed in the next release. You can avoid using the GPIOPinWrite, but make sure the pinMux for the same is modified at line 130 of ecat_appl_cnfg.h

    { 0x099c , 3 , AM335X_PIN_OUTPUT }, // spi1_cs0_mux4: spi1_cs0 mode 

    Regarding SPI System register, you can find more info here - http://www.ti.com/lit/ug/spruh73j/spruh73j.pdf

    Regards,
    Vinesh