This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR2243: CSI2 Lane Configuration

Part Number: AWR2243
Other Parts Discussed in Thread: MMWCAS-DSP-EVM, MMWCAS-RF-EVM, TDA2

Could you tell me how to use CSI2 with only 2 lanes?

I checked to disable lanes by using cascade EVM (MMWCAS-RF-EVM + MMWCAS-DSP-EVM) and mmwave_studio_03_00_00_07.

The data capture is also successful if all lanes are disabled.

1. Delete all captured data files on host (Windows) and target (Linux on TDA2)

   [Linux] /mnt/ssd/Cascade_Capture_22xx
   [Windows] C:\ti\mmwave_studio_03_00_00_07\mmWaveStudio\PostProc\Cascade_Capture_22xx

2. Run Cascade_Configuration_MIMO.lua

3. Set all Lane x Position to 0 to disable all lanes

[RadarAPI]: ar1.CSI2LaneConfig_mult(14, 0, 0, 0, 0, 0, 0, 0,0,3,0, 0)
[RadarAPI]: Status: Passed

4. Run Cascade_Capture.lua

5. Transfer captured data files from target (Linux on TDA2) to host (Windows)

6. Post Processing captured data

Is it correct to set the Lane x Position to 0 to disable each lane?
Does it set DATA_LANEx_POS to 0 in AWR_DEV_CSI2_CFG_SET_SB?

Is it required to set LANE_EN to 0 for each lane in AWR_DEV_RX_DATA_PATH_LANEEN_SET_SB?
Can the LANE_EN be set in using mmwave studio?

Best regards,

Daisuke

  • Hello Daisuke,

    Please find the answer to your questions below:

    Daisuke Maeda said:
    Is it correct to set the Lane x Position to 0 to disable each lane?
    Does it set DATA_LANEx_POS to 0 in AWR_DEV_CSI2_CFG_SET_SB?

    Yes, an entry of "0" means that lane is unused. It sets the DATA_LANEx_POS to 0 in the concerned API. Technically, both of them point to the same API. You can also confirm this in the mmwave studio by using the  "help" feature. 

    For the help feature, click on option "lua shell" in the view tab of mmwave Studio and type “help <API>".

    For eg. Type "help ar1.CSI2LaneConfig_mult()" in the lua shell, and you'll get a detailed description of this API and all the corresponding fields as specified in the Interface Control Document. 

    Daisuke Maeda said:
    Is it required to set LANE_EN to 0 for each lane in AWR_DEV_RX_DATA_PATH_LANEEN_SET_SB?
    Can the LANE_EN be set in using mmwave studio?

    This API is for the LVDS lane configuration in mmwave studio. You need not use this for CSI2.

    Regards,

    Ishita

  • Hi Ishita-san,

    Thank you for your reply.

    Ishita Kochar said:

    Yes, an entry of "0" means that lane is unused. It sets the DATA_LANEx_POS to 0 in the concerned API. Technically, both of them point to the same API.

    Does setting DATA_LANEx_POS to 0 turns off a driver output for each lane?

    As I mentioned in my first post, data capture still succeed after Lane x Position is set to 0 for all lanes. Why is that?

    Ishita Kochar said:

    This API is for the LVDS lane configuration in mmwave studio. You need not use this for CSI2.

    AWR_DEV_RX_DATA_PATH_LANEEN_SET_SB in ICD is explained as below.

    "This sub block contains the con?gurations to enables the lanes of the LVDS/CSI2 path to transfer Radar information to an external host."

    Is this API really not needed for CSI2?

    Best regards,

    Daisuke

  • Hello Daisuke- San,

    1. Technically there should be no capture, but I guess there is something the Firmware is doing. Please give me some time to do this experiment myself and I can check with the design team as well. I'll get back to you on this by next week. Hope that's okay.

    2. Yes, API "AWR_DEV_RX_DATA_PATH_LANEEN_SET_SB" is only required by LVDS and not CSI. I'll correct this in documentation. Thanks for pointing out.

    Regards,

    Ishita

  • Hello Daisuke-San,

    You can disable the CSI2 Lanes using the  AWR_DEV_CSI2_CFG_SET_SB API, but not all of them. Data Lane 1 can never be disabled, and that is the reason why you're seeing objects in the post processed plot. 

    Sorry for not mentioning this in the ICD, but thanks for the feedback, I'll update there.

    Let me know if you have any further queries.

    Regards,

    Ishita

  • Hi Ishita-san,

    Thank you for your reply.

    Ishita Kochar said:

    You can disable the CSI2 Lanes using the  AWR_DEV_CSI2_CFG_SET_SB API, but not all of them. Data Lane 1 can never be disabled, and that is the reason why you're seeing objects in the post processed plot. 

    Is it correct that Lane that can never be disabled is Lane 1 instead of Lane 0?

    Best regards,

    Daisuke

  • Hello Daisuke-san,

    Sorry it was LANE 0.

    Regards,

    Ishita

  • Hi Ishita-san,

    Thank you for your reply.

    Best regards,

    Daisuke