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.

TMS570LS0714: Using two SPI with different configurations in the same project

Part Number: TMS570LS0714


We are working on project which has three different SPI communications(SPI1, SPI2, SPI3) each one of them has dissimiliar configrations 

SPI2 

dataconfig1_t.CS_HOLD = TRUE;
dataconfig1_t.WDEL = FALSE;
dataconfig1_t.DFSEL = SPI_FMT_0;
dataconfig1_t.CSNR = 0xFE;

SPI3

dataconfig1_t.CS_HOLD = TRUE;
dataconfig1_t.WDEL = TRUE;
dataconfig1_t.DFSEL = SPI_FMT_3;//8 bit icin fmt2
dataconfig1_t.CSNR = 0xFE;

so my question is how should i do in this situation??? should I rewrite the configs every time when i use different spi ??