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.

AWR1642BOOST: Can we access AWR1642BOOST GPIO pins through python code

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Hello Team Members,

I am developing software for AWR1642 sensor based application. I want to control AWR1642 PWM output through python code. Using python code we can control Raspberry pi GPIO's likewise can we access AWR1642 PWM GPIO ports. IF yes, please suggest the solution for the same. 

Few more queries regarding AWR1642 programming-

  1. As per my understanding we can define the multiple detection zone through chirp setting, is it right? If yes, please suggest method of defining different zones for obstacle detection.
  2. How can we reduce the scan frame frequency? Please suggest the method.
  3. To evaluate the direction of detected object is it using relative velocity formula or some different concept? (this question is just for confirmation from your side we have study the velocity detection formula).

 Your kind reply to all this queries is expected asap.

Thanks in advance.

Regards, 

Sonal Chavhan. 

  • Hi Sonal,
    I really don't get whole picture of what you want to do here with AWR1642+Raspberry + Python. Do you want to read PWM output of AWR1642 from R-Pi over GPIO connection.
    You can read any output which are available at external pins of AWR1642.

    1. For getting more zone bsaed info I would suggest you to refer Occupancy Detection demo where it uses by default two detection zone. Accordingly you can change the configuration.
    2. You can change the frame periodicity in CLI 'frameCfg' command which effectively set that value to rlFrameCfg of mmwavelink:rlSetFrameConfig API. where you can set the frame period for a single frame.
    3. Velocity is relative to device and it can be +ve or -ve based on approaching or going away.


    Regards,
    Jitendra
  • Hello Sir,

    Thanks for your reply.

    For first query, c code for PWM generation from AWR1642 channel is already developed. my question is as we are getting detected object output data in python so, for decision making we are thinking to process the output data in python code only and then send decision making output to AWR1642 ARM processor PWM channel (i. e. duty cycle input to PWM channel)to drive the load accordingly.

    Here, my question is can I access AWR1642 PWM Channel(GPIO’s) with python code??

    Waiting for your reply.

    Thanks and Regards.
    Sonal R. Chavhan,
  • Hi Sonal,
    I assume you are planning to send PWM signal from outside to AWR1642 and AWR1642 will decode that PWM sequence and take decision based on that.
    AWR1642 PWM can be used as input but you need to do the appropriate pinmux to those PWM lines as input to device.

    On top of this, there are other interfaces available in the device over which you can notify AWR1642 like UART/SPI/CAN.

    Regards,
    Jitendra