Part Number: TMS320F28069M
Hi TI team,
I would use 2 SPI devices on SPI-B but only a single chip select is available. I do not find a way to set another chip select pin than the default one.
How can I do it ?
Thanks,
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.
Part Number: TMS320F28069M
Hi TI team,
I would use 2 SPI devices on SPI-B but only a single chip select is available. I do not find a way to set another chip select pin than the default one.
How can I do it ?
Thanks,
Hi,
You can use other GPIO pins and drive them using software instead of using the dedicated CS pins
Regards,
Veena
Hi,
Ok thanks for the help. So I just have to set high or low the desired GPIO ? No other action needed (how the SPI module knows that I won't use the usual CS pin wired to another device) ?
regards
Hi,
You can use 2 GPIO pins on the master and connect these to the CS pins of the slaves. You can just these GPIO pins high and low based on which slave the data to be sent to.
You need not configure the STE pin on the the master
Regards,
Veena
Hi,
Ok so you mean using GPIO_setHigh // GPIO_setLow for the 2 CS and not using the CS pin ? You confirmthat I have to set the GPIO_27 as a GPIO_27_Mode_GeneralPurpose and not as the GPIO_27_Mode_SPISTEB_NOT to be able to use an other CS pin ?
Thanks