Hi,
I am having a trouble with AIF2 RM synchronization.
What I am trying to do now is to capture the CPRI SYNC symbol in between the window specified by pi_min and pi_max parameters.
I'm setting pi_min = 0x0 and pi_max = 0x3E66, which is about the same size as one CPRI hyperframe. Since there must be a SYNC symbol within this period, I'm expecting the pi_capt value (at_pivalue_lk[0]) would fall somewhere between pi_min and pi_max.
However when I do run the test the pi_capt value reports some very large value such as 0x255AE9 (close to the end of one 10ms radio frame).
Any idea?
Other things to note:
- No LOS is detected
- AIF2 is operating in CPRI mode
- So far I was able to bring the receive statemachine to ST3 (which is equivalent to CPRI HFNSYNC state) so the external CPRI transmitter is surely transmitting SYNC once per hyperframe. This was further confirmed by applying a protocol decoder on the SerDes waveform.
- The SYNC control symbol is {K28.5 + D16.2}(IDLE2 by CPRI Spec) but not {K28.5+D5.6} (IDLE1). I'm not sure if this is okay for AIF2.
- The AT is configured for 10ms LTE mode. It is triggered by external radsync and physync pins.
BR,
Naoki