Other Parts Discussed in Thread: CC2541
I have a cc2541 communicating over SPI wit an accelerometer.
So far I have used HCI_EXT_ConnEventNoticeCmd to read and write over SPI after a connection event to keep current consumption low. When I activate the accelerometer (which takes one SPI write) it takes a few milliseconds to provide reliable data. Best practice to reduce current consumption would be activate the accelerometer right before the connection event or somewhere at the beginning of a connection event so that the acceleromter could settle during the connection event and would be ready to be read afterwards.
Any thought how this could be done?
Best Regards.