06-15-2022 12:48 PM
We want to read time synchronised acceleration and gyroscope data from the BMI088 chip with the application board 3.0 using the COINES-PC lib, rather than the MCU lib.
Is this possible? Could example code be provided if so?
The read_synchronized_data_mcu example found here: https://github.com/BoschSensortec/BMI08x-Sensor-API/tree/master/examples/read_synchronized_data_mcu does not work when using the coines-pc lib as the `coines_attach_interrupt` function is only available for the mcu version of coines.
It is worth noting that the Development Desktop 2.0 outputs the acc and gyro data with synced timestamps, which implies that synchronisation is either assumed or infact can be run on the PC.
06-16-2022 03:36 AM
Hi Chris89,
This example is running on MCU. You can run this example on the MCU and send the data to the PC.
06-16-2022 10:02 AM
I appreciate we can run this code on the MCU, but would prefer a solution specific to the PC rather than having to flash the code to the MCU. Is this possible?
It's worth noting that we are only using the example as a guide for setting up synchronization as we need to also utilise the fifo - if this complicates the issue further, please advise.
06-17-2022 10:27 AM - edited 06-17-2022 12:04 PM
@BSTRobin I noticed in the readme for the mcu_app30 (COINES\v2.7.0\coines-api\mcu_app30\README.md) the following:
```
### Unsupported APIs
- `coines_config_streaming`,
- `coines_start_stop_streaming`
- `coines_read_stream_sensor_data`
- `coines_trigger_timer`
Use the below APIs instead
- `coines_attach_interrupt`
- `coines_detach_interrupt`
```
Does this imply that when using the PC versions we could replace the `coines_attach_interrupt` call with a combination of the 4 unsupported APIs? If so, could you provide an example?
Thanks,
Chris
06-22-2022 10:49 AM