Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Code Composer Studio
Could I have some pointers on how to modify the LPSTK-CC1352R 15.4 Stack sensor/collector code example to get as greater update rate as possible for the accelerometer readings. I note that the ADXL362 accelerometer on the LPSTK has a maximum update rate of 400Hz. I am looking to write a program that can achieve this update rate on the collector and print to a console.
[https://dev.ti.com/tirex/explore/node?node=AIKcHFRMmg0MRAyz1RySsg__pTTHBmu__LATEST]
I have followed the other example, Sensor and Collector TI 15.4 Stack Project Zero, which gives guidance on updating the reporting and polling rates to 1.5s. Code Composer Studio warns that changing these reporting and polling rates to below 1.5s will cause instability.
[https://dev.ti.com/tirex/explore/node?node=AFU6dryAU8NukjdRPy4T4Q__pTTHBmu__LATEST]
Interestingly, running the LPSTK 15.4 Stack example, the accelerometer values are updated at a much greater rate than 3s, which is the reporting and polling rate settings in the .sysconfig files, and seems to update based on movement, i.e an event is triggered and the accelerometer value updates. This is in contrast to the other sensor values such as temperature and humidity which only update every 3 s. Does this mean that the accelerometer already reports to the collector at its maximum rate already? Could I have some guidance on how to modify this code to just report accelerometer values to the serial monitor, without any other sensor values.
Thanks,
Richard