Tool/software: Code Composer Studio
Hello,
I'm using:
- cc1352.
- sdk 3.10.01.11.
- sensor example project (as base for modifications).
- coprocessor project
I have 2 questions:
1) Is the data transmission from the [coprocessor -> sensor] asynchronous (no need for poll from the sensor)?
2 ) What's the use of POLL in the context of sensor?
The reason why I'm asking this questions is because from one experiment I did, I could infer that I can send data ASYNCHRONOUSLY from the coprocessor to sensor without having to wait the poll in the sensor.
The experiment was as follows:
- setup:
* I changed the behavior of the sensor and the coprocessor so a specific config sent from the coprocessor will change the payload of the data sent by the sensor whenever it receives a specific byte in the config (the sensor is sending 300 bytes with with 0x0 as data each 100 ms. It will change its payload to 0x55).
* CONFIG_POLLING_INTERVAL was set to 1000 (ms), CONFIG_REPORTING_INTERVAL was set to 100 (ms), NON_BEACON_MODE was selected (no frequency hoping).
- Results:
* After having the coprocessor sending the config data, the sensor received and changed it's payload after aprox 200 ms.