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.

TMS320F28377D use McBSP as SPI Master

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I try to config the McBSPB Pins as a SPI Master. I used the example from the ControlSUITE. 

Now my question: There are 6 Pins for the McBSP_B (MDXB, MDRB, MCLKXB, MFSXB, MCLKRB, MFSRB).

For the SPI Master I only need 4 Pins (MDXB=MOSI, MDRB=MISO, MCLKXB=CLK, MFSXB=CS).

Is it possible to use the Pins MCLKRB and MFSRB for other functions e.g. for PWM or do I

also have to mux them as McBSP Pins although I do not need them in a SPI Master wiring?

In the datasheet I found following:

"The receive clock signal (MCLKR) and receive frame-synchronization signal (FSR) are not used in the
clock stop mode because these signals are internally connected to their transmit counterparts, CLKX and
FSX."

Although it says that I do not have to wire the pins, it does not say that I can use it otherwise.

I am looking forward to your answer.

Best regards,

Werner

  • Werner,

    You only need to configure the pins you have to use. For example, if you are ONLY transmitting in SPI mode there isn't a need to even configure the MDRB for the data input. You are free to Mux whatever other function you need with no impact to the functionality. 

    Thanks,

    Mark