Other Parts Discussed in Thread: AWR1642, MMWAVE-SDK,
Hello. I am working with the AWR1642, and I want to implement a code to turn off and turn on the radar depending on the input of a external sensor.
1) I need to know how to configure a GPIO pin to enable the entrance of the external sensor signal.
2) I want to know how to send the commands 'sensorStart' and 'sensorStop' depending on the input of the sensor.
I am thinking something like:
if(sensor_in){
CLI_write("sensorStart") }
else {
CLI_write("sensorStop") }
3) Finally, I'd like to know if such implementation can be done with an interrupt (enable an interrupt to stop/start the sensor depending on the incoming signal in the GPIO pin).
Thank you in advance,
Richard.