Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

CCS/TMS320C203: Changing SPI Configuration in Runtime

$
0
0

Part Number:TMS320C203

Tool/software: Code Composer Studio

Hello everyone,

I have a quick question. I want to change SPI configuration in run time. Because I've two different chip on the same SPI bus. These chips are proper for different configurations like one chip works when clock polarity bit (SpiaRegs.SPICCR_BITS.CLKPOLARITY)is 0, and other one works when clock polartiy bit is 1. Another point is that FIFO usage, I used FIFO with one chip but not other one.

I read some suggestions from datasheet about this topic like reseting peripheral by forcing low to SPISWRESET bit of SPI register. But it didn't work.

Regards

Oguz Atsiz


Viewing all articles
Browse latest Browse all 17527

Trending Articles