Hello sos,
You could refer example code from github to check if your code didn't work well, so you code couldn't run into expected part. https://github.com/BoschSensortec/BMI270-Sensor-API/tree/master/examples
Other suggestion is that you could test more than 30 second. For example: from still to walking, from walking to running. But for "ON_BICYCLE", "IN_VEHICLE" recognition, I think it is not good way to move board to simulate this activity status, it is better to test by bike, by car.
... View more