LA1224 LS-DCS & TBGen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LA1224 LS-DCS & TBGen

Jump to solution
700 Views
flappy
Contributor II

Hello!
Could you tell me how to enable continuous synchronous operation of 4T4R on the LA1224-RDB-LS?
I'm using 0-3 VSPA cores to run LS-DCS0 and LS-DCS1.
1DAC and 1ADC are running on each core.
I have interrupt handlers for TBGEN, and I configured TBGEN in FDD mode. But I'm not receiving interrupts from it on the VSPA.
I was able to run 2T2R synchronously, but in this case, either the ADC or DAC is running on each core.
Perhaps I haven't configured all the TBGEn timers?
I'm transmitting a single-tone signal generated using NCO with 8192 samples. I'm sure I generated the NCO parameters correctly.
But why do I see phase jumps on the ADC during loopback?

0 Kudos
Reply
1 Solution
686 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The key point is that TBGEN timed-interrupt timers 1–11 are VSPA trigger sources, not VSPA interrupt sources . Only Timed Interrupt Timer 0 can generate an MCU interrupt through INTSTAT[TI] and CNTRL1[TIIE] ; timers 1–11 only generate VSP platform triggers and set TISTAT[TITRIG1..11] . So if you configured TBGEN in FDD mode and are waiting for a TBGEN “interrupt” on a VSPA core, that expectation does not match with TBGEN/VSPA interface.

For LA1224 4T4R, TBGEN timers 1–11 are VSPA trigger sources via ext_go rather than VSPA interrupt sources, so the most likely issue is trigger routing/enablement ( TMREN , correct TBGEN1/2 ext_go input, and TISTAT verification) rather than a missing VSPA ISR.

 

Regards

 

 

View solution in original post

2 Replies
596 Views
flappy
Contributor II

@Bio_TICFSL Thank you, the problem is solved

0 Kudos
Reply
687 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The key point is that TBGEN timed-interrupt timers 1–11 are VSPA trigger sources, not VSPA interrupt sources . Only Timed Interrupt Timer 0 can generate an MCU interrupt through INTSTAT[TI] and CNTRL1[TIIE] ; timers 1–11 only generate VSP platform triggers and set TISTAT[TITRIG1..11] . So if you configured TBGEN in FDD mode and are waiting for a TBGEN “interrupt” on a VSPA core, that expectation does not match with TBGEN/VSPA interface.

For LA1224 4T4R, TBGEN timers 1–11 are VSPA trigger sources via ext_go rather than VSPA interrupt sources, so the most likely issue is trigger routing/enablement ( TMREN , correct TBGEN1/2 ext_go input, and TISTAT verification) rather than a missing VSPA ISR.

 

Regards

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2366928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELA1224%20LS-DCS%20%26amp%3B%20TBGen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366928%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello!%3CBR%20%2F%3ECould%20you%20tell%20me%20how%20to%20enable%20continuous%20synchronous%20operation%20of%204T4R%20on%20the%20LA1224-RDB-LS%3F%3CBR%20%2F%3EI'm%20using%200-3%20VSPA%20cores%20to%20run%20LS-DCS0%20and%20LS-DCS1.%3CBR%20%2F%3E1DAC%20and%201ADC%20are%20running%20on%20each%20core.%3CBR%20%2F%3EI%20have%20interrupt%20handlers%20for%20TBGEN%2C%20and%20I%20configured%20TBGEN%20in%20FDD%20mode.%20But%20I'm%20not%20receiving%20interrupts%20from%20it%20on%20the%20VSPA.%3CBR%20%2F%3EI%20was%20able%20to%20run%202T2R%20synchronously%2C%20but%20in%20this%20case%2C%20either%20the%20ADC%20or%20DAC%20is%20running%20on%20each%20core.%3CBR%20%2F%3EPerhaps%20I%20haven't%20configured%20all%20the%20TBGEn%20timers%3F%3CBR%20%2F%3EI'm%20transmitting%20a%20single-tone%20signal%20generated%20using%20NCO%20with%208192%20samples.%20I'm%20sure%20I%20generated%20the%20NCO%20parameters%20correctly.%3CBR%20%2F%3EBut%20why%20do%20I%20see%20phase%20jumps%20on%20the%20ADC%20during%20loopback%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2367394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LA1224%20LS-DCS%20%26amp%3B%20TBGen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2367394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%2C%20you're%20right%2C%20I%20wasn't%20entirely%20correct.%20It's%20the%20ext_go%20timers%20that%20aren't%20reaching%20VSPA.%20It's%20probably%20necessary%20to%20enable%20the%20TimedCTRL_0%20-%20TimedCTRL_11%20timers.%20Right%20now%2C%20I've%20only%20initialized%20TDD0_CTRL%20-%20TDD7_CTRL%3B%20see%20my%20dump.%20I%20don't%20understand%20how%20to%20set%20TimedINTRVL0%20-%20TimedINTRVL11%20correctly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LA1224%20LS-DCS%20%26amp%3B%20TBGen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EThe%20key%20point%20is%20that%20TBGEN%20timed-interrupt%20timers%201%E2%80%9311%20are%20VSPA%20trigger%20sources%2C%20not%20VSPA%20interrupt%20sources%20.%20Only%20Timed%20Interrupt%20Timer%200%20can%20generate%20an%20MCU%20interrupt%20through%20%3CCODE%20class%3D%22%22%3EINTSTAT%5BTI%5D%3C%2FCODE%3E%20and%20%3CCODE%20class%3D%22%22%3ECNTRL1%5BTIIE%5D%3C%2FCODE%3E%20%3B%20timers%201%E2%80%9311%20only%20generate%20VSP%20platform%20triggers%20and%20set%20%3CCODE%20class%3D%22%22%3ETISTAT%5BTITRIG1..11%5D%3C%2FCODE%3E%20.%20So%20if%20you%20configured%20TBGEN%20in%20FDD%20mode%20and%20are%20waiting%20for%20a%20TBGEN%20%E2%80%9Cinterrupt%E2%80%9D%20on%20a%20VSPA%20core%2C%20that%20expectation%20does%20not%20match%20with%20TBGEN%2FVSPA%20interface.%3C%2FP%3E%0A%3CP%3EFor%20LA1224%204T4R%2C%20TBGEN%20timers%201%E2%80%9311%20are%20VSPA%20trigger%20sources%20via%20%3CCODE%20class%3D%22%22%3Eext_go%3C%2FCODE%3E%20rather%20than%20VSPA%20interrupt%20sources%2C%20so%20the%20most%20likely%20issue%20is%20trigger%20routing%2Fenablement%20(%20%3CCODE%20class%3D%22%22%3ETMREN%3C%2FCODE%3E%20%2C%20correct%20TBGEN1%2F2%20%3CCODE%20class%3D%22%22%3Eext_go%3C%2FCODE%3E%20input%2C%20and%20%3CCODE%20class%3D%22%22%3ETISTAT%3C%2FCODE%3E%20verification)%20rather%20than%20a%20missing%20VSPA%20ISR.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2369465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LA1224%20LS-DCS%20%26amp%3B%20TBGen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2369465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F34846%22%20target%3D%22_blank%22%3E%40Bio_TICFSL%3C%2FA%3E%26nbsp%3BThank%20you%2C%20the%20problem%20is%20solved%3C%2FP%3E%3C%2FLINGO-BODY%3E