m6c7l / pymmw

Pythonic mmWave Toolbox for TI's IWR Radar Sensors
Other
278 stars 82 forks source link

Can I avoid the use of NRESET and FTDI? #15

Open obabarin opened 2 years ago

obabarin commented 2 years ago

Thanks for the great tool. I am using it with a IW6843AoP and the MMWAVEICBOOST.

Since I will want to have a stand alone setup, I am wondering how I can override the request for NRESET. Is it compulsory/necessary to always issue this command (via pressing the switch)?

Also, I am trying to make connection between the BP headers of the MMWAVEICBOOST and the UARTS on a raspberry pi. Seems to me that the setup works as it got to the stage of asking for the NRESET command, but since I can't issue this command via the headers. Any help to bypass this?

m6c7l commented 2 years ago

Hi, there are three ways of doing a reset: 1) pressing nrst, 2) via ftdi of the carrier board, 3) via the xds interface of the board itself. Unfortunately, the most straightforward way doing a reset with the xds is dependent on the actual type of device, so the exact procedure differs a little from one type of device to another. As I was able to look into the details about doing a reset on the IWR1443 since this was my setup, I did not spend too much time on other devices. Having that said, yes, it is possible to do the reset on your device with the XDS not pressing NRST or using FTDI, however it is not supported by pymmw yet.

obabarin commented 2 years ago

Thanks for the quick comment @m6c7l. Do you mind to let me know how the reset 'with the XDS [without] pressing NRST or using FDTI' was implemented in your setup?

I do understand that it is not supported yet in this package. But maybe I could borrow some ideas from you? Just maybe also that the implementation can be done for IWR6843 same way you did for IWR1443.