Part Number: AM3352
Other Parts Discussed in Thread: SYSCONFIG,
for starters Yes i am following section 22.3.12.2 of the tech manual and i have seen this post:
this is a TI-RTOS project on a custom board.
i am not using starterware to program the McASP, just writing to registers. here is the setup
McASP0 connected to codec 320AIC3106 via pins AXR0 (receive), AXR1 (transmit), ACLKX (clock generated by the codec), and FSX (clock generated by the codec). we are running at 8KHz with 2 slots per frame, synchronous.
i can receive just fine. i don't have any problems with that.
my transmit interrupt works just fine. i am getting all my interrupts it seems. my problem is that my pin is dead. i turned the pin into a gpio and set it and cleared it and i watched it go up and down on a scope so i know it functions. i am using serializer 1 as the transmit. i initialize this thing outside of main so interrupts are running when it turns on.
My PFUNC register is set to 0 so everything is McASP for right now. my PDIR register is set to 0x00000002 so i believe my serializer 1 pin is an output. my SRCTL_1 register is set to 0x00000001. my interrupts for XINTCTL are DATA_RDY and UNDERRUN. i am not hitting underrun. i am writing to the configuration bus so i am writing directly to serializer 1's tx register.
i have tried setting my pinmux as both an input and an output and it didn't seem to make a difference. i am not paying attention to the CLKCHK error nor am i doing anything to set up the AHCLK, i just let them be where they are. my AMUTE register is set to 0 so errors should not cause a mute.
are there other errors other than underrun that would cause the TX pin to not function? did i miss a note somewhere telling me out to enable a serializer pin for output?







