Tool/software: TI-RTOS
HI,
I am using starterware to program the McASP. McASP1 connected to BT module via pins AXR1 (receive), AXR0(transmit), ACLKX (clock generated by the bt module), and FSX (clock generated by the bt module). we are running at 8KHz with 2 slots per frame.
But my program was stuck when I activate the serializers.
/* Activate the serializers */
void McASPRxSerActivate(unsigned int baseAddr)
{
HWREG(baseAddr + MCASP_RSTAT) = 0xFFFF;
/* Release transmit serializers from reset*/
HWREG(baseAddr + MCASP_GBLCTL) |= MCASP_GBLCTL_RSRCLR;
while((HWREG(baseAddr + MCASP_GBLCTL) & MCASP_GBLCTL_RSRCLR)
!= MCASP_GBLCTL_RSRCLR) ; -------stuck here
}
Does ACLK and AFS clock need before activate the serializers?