Reply by hasan mustafa June 16, 20102010-06-16
Ciao Tutti,

kindly advice, im facing really annoying problem,

EALLOW;
GpioMuxRegs.GPFMUX.all |= 0x000F;
EDIS;
SpiaRegs.SPIFFTX.all=0xE040;
SpiaRegs.SPIFFRX.all=0x204f;
SpiaRegs.SPIFFCT.all=0x0;
SpiaRegs.SPICCR.all =0x0008;
SpiaRegs.SPICCR.bit.SPICHAR = 0x7;
SpiaRegs.SPICTL.all =0x0006;
SpiaRegs.SPIBRR =0x007F;
SpiaRegs.SPICCR.all =0x009F;
SpiaRegs.SPICCR.bit.SPICHAR = 0x7;
SpiaRegs.SPIPRI.bit.FREE = 1;
SpiaRegs.SPICCR.bit.CLKPOLARITY = 1;
SpiaRegs.SPICTL.bit.CLK_PHASE = 0;

strange, i did make it 07,,,,,,but i write directly the 0xFFFF to the
SPIBUF,

SpiaRegs.SPICCR.bit.SPICHAR = 0x7;

for the when it was 07, it transmit only the 0xFF, and when its 0F, it
transmit 0xFFFF but in the lowest,,,,,

Always transmit the Full as the half, and the Clock is double than the
setting, and when its normal i mean when the clock is right, the no output
data come out

no idea, does anyone faced that before :(

Any guide, help, will be highly appreciated, thanks all
hasan mustafa