Other Parts Discussed in Thread: AWR1243
Hello Team,
i am currently working on porting the mmwavelink API to a Linux based Host (Nvidia Jetson Nano) . I am working along the given examples and the porting guide. From my understanding, i can mainly copy the examples and just have to make major changes in the rls_osi.c and the mmwl_port_ftdi.c files. The first two steps of the porting guide are straight forward. For Communication Interface Callbacks, i am using the I2C library's provided by Linux. Is there anything that would speak against using I2C instead of SPI?
Now i am struggling to understand the the functions rlsEnableDevice and rlsDisableDevice.
From my understanding, i have to mainly handle triggering of the nReset with those functions, to power on and off the AWR2243. In the examples, those functions are defined in the FTDI lib. I looked into the source code of this file, given by the mmWave Studio Reference Code. From those functions, I cant really read out how and when the nReset needs to be pulled low. Could you help me with that, perhabs explain those functions.
Furthermore, i am not quite sure how to implement the HostIRQ Masks. Do I just need to write a function that detects changes on a GPIO pin of my host that is connected to HostIRQ and the mmwavelink API handles the rest of it? Or do I need to implement this in my Communication Interface Callback Functions as well?
Are there more implementation examples available then those provided in the DFP Package?
Best regards,
Tim