Hi all:
We use dm8168 soc, and mcbsp is used,
In our mcbsp receive irq, we found the RSYNC_ERR bit clear failure,
the follow is our code
irqst_spcr1 = MCBSP_ARG_READ(OMAP_MCBSP_REG_SPCR1);
if (irqst_spcr1 & RSYNC_ERR)
{
MCBSP_ARG_WRITE(OMAP_MCBSP_REG_SPCR1,irqst_spcr1&(~RSYNC_ERR));
}
why this bit can not be cleaned by set bit 0 as TRM telled,
And only set OMAP_MCBSP_REG_SYSCON as follow,
MCBSP_ARG_WRITE(OMAP_MCBSP_REG_SYSCON, 2);
best regards
xavier