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.

TMS320F280049: How to configure SPI enable signal STE automatic operation

Part Number: TMS320F280049

Hi Team,

Here's an issue from the customer may need your help:

We want that TI DSP to communicate with A3 MCU through SPI interface. However, it was found that the function of enabling pin STE to automatically set high and set low could not be realized through DSP configuration. The DEMO source provided by FAE is also implemented through IO port simulation. As shown in the figures below, SPI read/write enable signal STE is also realized through IO simulation.

--

Thanks & Regards

Yale Li

  • now we use the SPIB,the DSP tms320f280049 is used for spi master.the wave as bellow

    CH1: SPIB-STE

    CH2:SPIB-CLK

    CH3:SPIB-MOSI

  • the CH1 STE is rested L auto,but can not seted H when the clk is finished

  • Yale,

    The example code you are pointing to uses SPISTE pin as GPIO output pin instead of SPI pin. That is the reason why they use CS_LOW (to bring chip select pin low) and CS_HIGH (to pull chip select pin high). It is not necessary to configure SPISTE pin as GPIO output pin. You can configure them as SPISTE pin itself. This give the SPI HW control over SPISTE pin and SPISTE pin is automatically pulled low to start SPI transaction and pulled high when SPI transaction needs to be ended.

    This would however require you to change the pinmux selection.

    Regards,

    Manoj