I implemented the FMCW RADAR examples as demonstrated in Jon Kraft's YT playlist. It works fine in 2D frame and I want to extend it further in 3D plane. Creating a 2D Virtual Array for Antennas (8Rx, 2Tx) I want to know how to add the 2nd antenna and sync both of them.
I read the CN0566 Datasheet and if I understand it correctly, I can use the ADF4159's MUXOUT pin to toggle TX Switch.
Transmit antenna switching is triggered by the end of a programmable number of PLL chirps. The ADF4159's MUXOUT pin can be programmed to indicate the end of a ramp, and this signal is level-shifted and applied to the clock input of a 7-stage ripple counter, as shown in Figure 17. Three general-purpose input/output (GPIO) signals from the Raspberry Pi drive a data multiplexer inputs, selecting antenna toggle rates of 2, 4, 8, 16, 32, 64, or 128 chirps.
I want to understand in detail on how this can be done. Where are the GPIO_X,Y,Z pins as mentioned in the docs and how do we configure them to enable TX Antenna toggling.
Can you please provide a python script demo using the pyadi-iio library on how to toggle Tx switch.
Also, how can I use the received data to get elevation angle of the detected object