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.
I am trying to use the high speed mode for the SPI in F28377S Launchpad XL ver:1.0. I compared the maximum SPI clock speeds that can be achieved in normal GPIO pins with HS_MODE=0 and high speed GPIO pins with HS_MODE=0/1. I monitored the SPICLK waveform on 200MHz Oscilloscope with the suitable probe. I do not see any difference if waveform between the normal mode and high speed mode on both normal and high speed pins. Please refer to the waveforms for the following cases (CLKPOLARITY and CLK_PHASE is 0 for all)-
Case 1) 40 MHz HS_MODE=0, pin 18 SPI A - 40mHs0pin18.jpg
Case 2) 40 MHz HS_MODE=0, pin 60 SPI A - 40mHs0pin60.jpg
Case 3) 40 MHz HS_MODE=1, pin 60 SPI A - 40mHs1pin60.jpg
In one of the discussion https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/403001 , it is mentioned that for non high speed GPIO the speed limit is 25MHz and high speed pins can approach speeds up to 40MHz is enabled for SPI. In another discussion https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/355840 , it is mentioned that "The maximum toggling frequency of the GPIOs on F2837xD is 50MHz". But in this case I do not see any difference in SPICLK between non high speed mode and high speed mode GPIO pins for SPI.
Is there any limitation of the HS GPIO pins that are provided on the Launchpad that causes the distortion of high speed clock even with HS_MODE = 1? Is there any specific settings to be done for GPIO pins for HS_MODE=1?
Is this the expected behavior for both normal mode and high speed mode? Is so then why do we have a separate setting to enable high speed mode HS_MODE in the SPI registers?
Is there any drawback if we enable HS_MODE and work on normal mode SPI or disable HS_MODE and work on High speed SPI as I do not see the difference between them?
Sorry for the delays Aditya,
1) There are no problems supporting the standard speeds on high speed pins if HS_MODE = 1. Please be sure to check the Master mode input timings as they are slightly different.
2) The only hardware requirements that we have documented is the maximum load capacitance of 5 pF. See the note in section 5.10.5.1 SPI Electrical Data and Timing in the Device Datasheet. SPRS881. If the Hardware requirements are met and the traces and signals are clean, then the SPI should be able to achieve the maximum possible Speed of 50MHz. (200MHz/4)
I hope I have answered your questions.
Mark