Hi all!
I am confused by FSX signal of McBSP3. I try to make McBSP3.FSX as output, and generate a signal through it. I configure the register as following:
struct omap_mcbsp_reg_cfg mcbsp_cfg = {
.spcr1 = !ALB | RJUST(0) | DXENA | RINTM(2),
.spcr2 = FREE | SOFT | !FRST | !GRST | XINTM(2) | XSYNC_ERR,
.pcr0 = !IDLE_EN | !XIOEN | !RIOEN | FSXM | FSRM | CLKXM | CLKRM | !SCLKME | !FSXP | !FSRP | !CLKXP | CLKRP,
.rcr1 = RFRLEN1(7) | RWDLEN1(0),
.rcr2 = RPHASE | RFRLEN2(7) | RWDLEN2(0) | RCOMPAND(0) | RDATDLY(1),
.xcr1 = XFRLEN1(7) | XWDLEN1(0),
.xcr2 = XPHASE | XFRLEN2(7) | XWDLEN2(0) | XCOMPAND(0) | XDATDLY(1),
.srgr1 = FWID(7) | CLKGDV(186),
.srgr2 = !GSYNC | !CLKSP | !CLKSM | FSGM | FPER(7)
};
Then I call omap_mcbsp_config() with the struct above, and set GSYNC, GRST, RRST,XRST and FRST before calling omap_mcbsp_config() again. All looks fine except FSX. CLKX had output a signal with the frequency of 513kHz. But nothing outputed through FSX. How to make FSX output? I hope someone could help me. Thank you!
BR
John