Part Number: AM3358
In multi-channel 4pin mode, I can get timing with SPIEN automatically active/inactive between transmit.
but in SINGLE channel mode, SPIEN doesn't change automatically, always keep low.
I tried to manually control SPIEN with FORCE=1, then set EPOL/clear EPOL, the waveform as below with below code. there is delay of SPIEN, looks strange, like use GPIO to control SPIEN.
while(1)
{
f
or(i=0; i<512; i++)
{
*(unsigned int *)(OMAP3_MCSPI1_BASE + 0x138) = tx[i];
while(( *(unsigned int *)(OMAP3_MCSPI1_BASE + 0x130)&0x4)==0); //wait tx data register empty
{
*(unsigned int *)(OMAP3_MCSPI1_BASE + 0x12C) &= ~(1<<6); //SPIEN
*(unsigned int *)(OMAP3_MCSPI1_BASE + 0x12C) |= 1<<6;
}
}
Question:
In Single channel mode, Can I get wave with SPIEN automatically active/inactive? the TRM did not describe it clearly.

