I am working on a "Basic RX and TX lab exercise" which is available at SimpleLink Academy for CC1352R1 under the following link:
This is a Proprietary RF example for sending and receiving packets between two CC1352R1 devices. In this example I want to enable time synchronization between the transmitter and receiver. I designate the transmitter device as a master and the receiver device as a slave and I want to synchronize the slave clock to the master’s clock. In a SimpleLink Proprietary RF User’s Guide I saw a method of synchronizing the clocks under the following URL:
This manual provides snippets of the code for both the sending and receiving devices so that the clocks are synchronized. Just want to ask if I should just copy and paste these snippets of code into the firmware of my "Basic RX and TX lab exercise" mentioned above to synchronize the clocks of RX and TX devices? If not, then how can I use the method given in the user manual to synchronize the clocks in my Basic RX and TX lab exercise?
Second, how can I validate the correctness when I have achieved clock synchronization between the devices?
Thanks.