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.

using the SPI pins as GIO and configure SPI

Other Parts Discussed in Thread: ADS1271, TMS570LS1224, HALCOGEN

Hi

Im using the TMS570LS1224 for a project of mine and Im having some trouble understanding somethings.... On this first image I have a question. Im using the ADS1271 (ADC Sigma Delta) on the High Resolution mode, which is 52.5kHz, (I still need to check the baudrate I need) but supposing is the same as the converison time, I was wondering... about this image, why is there a Baudrate and then an Actual Baudrate?? what is the difference?? What do I need to check for the SPI to work correctly??

Second: I only need the CLK pin, the RX, and the pin 55 (it causes an interrupt on the MCU when driven low) since the ADS only needs for those three. The clock, the reciever of the MCU and a pin that generates an interrupt when the conversion is done, and for the usage Im given to some of those pins, I needed to use the 55 to generate the interrupt and then start the SPI. I will be using the internal clock so I was wondering if this was correct,.. What are those interrupt options for?? What I did is correct? (I might use the time out interrupt as well, just for safety reasons)

The rest of the pins will be used as GIO, as outputs for me to be able to control the direction of the motors Im using so I used this configuration, for all the SPI modules, with the only difference that the SPI5 is the one that will be working too as SPI

(Here I made a differenciation for the SOMI and a GIO) The on with the blue "circle" is an input (the data) and the one without the blue "circle" is  an output. (Am I correct??)

and so on. This configuration is the same for all the other SPI (1,3,4), except for the SPI functional pins I need on SPI5.

I saw some post that indicated how to make those pins work as GIO, and since Im selecting if is an input or an output here, I guess I only need to change the register that modifies the value right?

But this brings my 3rd question:  I saw that there is a difference on the amount of options on this tab of HALCOGEN between SPI and MIBSPI so I was wondering what is the difference? why the SPI has more options for the pins that the MIBSPI?

I also attach the HALCOGEN files:

3386.pwm_todos.rar

Thanks for the help!!