I haven't tested this but I am interested in using the AUX functionality as well. On the BMI270 datasheet, it mentions on page 162 to set register (0x7D) PWR_CTRL.AUX_EN = 0xb1. I don't see this in your code, perhaps it is not enabled correctly.