Other Parts Discussed in Thread: AWR1642BOOST, AWR1243, AWR1642, AWR1443
Hi,
I am trying to synchronize two radars (AWR1243BOOST and AWR1642BOOST) in FRAME level and I don't want to use an external oscilator.
My plan is to bring out the FRAME START clock from the AWR1243 (which is set in single chip Software trigger mode) and feed it to the SYNC_IN PIN of the AWR1642 (which is set in single chip Hardware trigger mode). Each radars is connected to a separate PC and is connected via mmWave Studio.
From the following post I realized that I can bring out the FRAME START clock to one of the jumpers PINs:
AWR1443BOOST: Realization of SPI control using two AWR1443BOOST
Here it's mentioned that the FRAME START clock for AWR1443 is on the PIN 0x7:
/* Setup the PINMUX to bring out the FRAME START on PADAY */
Pinmux_Set_OverrideCtrl(SOC_XWR14XX_PINN9_PADAY, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR14XX_PINN9_PADAY, 0x7); // FRAME-START TO PAD-AY
This code can be run in MSS_Init, after the other Pin mux changes.
QUESTIONS:
1. What are the FRAME START PIN number for AWR1243 and AWR1642? I could not find anything in the datasheets.
2. How can I run these two commands in the Lua shell of the mmWave Studio? Can I run them with the os.execute command as follows:
AA=os.execute("Pinmux_Set_OverrideCtrl(SOC_XWR12XX_PINN5_PADAX,PINMUX_OUTEN_RETAIN_HW_CTRL,PINMUX_INPEN_RETAIN_HW_CTRL);")
BB=os.execute("Pinmux_Set_FuncSel(SOC_XWR12XX_PINN5_PADAX, SOC_XWR12XX_PINN5_PADAX_FM_CW_CLKOUT);")
Thanks,
Majid