Tool/software: Code Composer Studio
Hello,
My TIVA has to send few bytes as master to an SPI slave.
According to the slave datasheet, the timing should be like the following:
In ROM_SSIConfigSetExpClk, the 3rd parameter is protocol and can be:
SSI_FRF_MOTO_MODE_0
SSI_FRF_MOTO_MODE_1
SSI_FRF_MOTO_MODE_2
SSI_FRF_MOTO_MODE_3
SSI_FRF_TI
SSI_FRF_NMW
1. How can I choose the protocol ?
In my project, the SPI is sent from PD3 (clock), PD1 (MOSI), PD0 (MISO).
2. I'm using SSI2. Am I right ?
3. Must I use SSIAdvModeSet ? It is not mentioned in the sample code.
Thank you,
Zvika