SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By jayguarprince
#56659
I am using the ez430-f2013 to send data to the slave via SPI protocol. I notice that there're 9 pulses on SCK line for the first data byte when i analyze it with the scope. After trying to change my code here and there, I noticed that the Clock Phase (USICKPH) if it's set to 1 then the 9 pulses occur and if it's 0 then it doesn't. I've also tried the TI code example by doing the same thing (changing the clock phase) and the same problem occur. I don't know if anyone experience this problem like me or anyone has a solution. the clock phase must be set to 1 as required by the slave.