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.

TMS320F28388D: Problems with SPI and its speed

Part Number: TMS320F28388D
Other Parts Discussed in Thread: SYSCONFIG

Good morning colleagues,

I am becoming familiar with TI processors. I want to develop a communication between my TMS320F28388D ControlCard and an external FLASH memory. I have choose to communicate with it using SPI. I have read the manual and the datasheet and the maximum frequency clock that the SPI can works is 50MHz (which is 1/4 of the clock frequency of the clock from the 2 cores). I am reading an example of SPI communication with a ROM memory "spi_ex6_eeprom.c" and "spi_ex7_eeprom_dma.c" and I have the following doubt: 

I suppose that I can modify here the frequency of the clock but I have read that this device has an High-Speed Mode. I have read in the manual the following part:

In which part I would have to select those configurations? I feel confused because they say that the speed of the SPI is maximum 50MHz and in the example it appears like 100MHz. Moreover, they set the SPIBRR to 3 so the speed decrease to 25MHz (it would be lower speed than 50MHz!!!!). I don't have doubts about GPIO High-Speed  

I wanted to know, first, where I can change these configurations (the SPIBRR, the ClkCfgRegs.LOSPCP.bit.LSPCLKDIV and HS_MODE) and second, to clarify what is the maximum speed it can reach at its maximum speed configuration to this device (if 100MHz, 50MHz, 25MHz or another...)

I expect you could help me with this issue. As you can notice, I feel a little bit confused with it. 

Have a nice day,

Pedro.