08-01-2023 10:38 AM
We designed a single-chip computer with STM32L562 as the core, integrated the BME688 chip, and the connection mode is three-wire SPI. I plan to use the cubeIDE development platform to read data through DMA cycle, but I don't know which driver I should refer to to write my own driver. I found the BME68X Sensor API, but the API interface in it relies on #include "coines.h", which I can't share. However, the development board does not support Arduino, so I don't know how to choose the reference program and write the corresponding driver according to the scheme we prepared. I hope you can get help. Thank you so much!
08-01-2023 02:47 PM
08-02-2023 03:16 PM
Why didn't the main function in your history initialize BME688, and call the operation, is it handled in multithreading there? Is it necessary to use multi-threaded cmsis_os.h?
08-03-2023 05:55 AM
Why didn't the main function in your history initialize BME688, and call the operation, is it handled in multithreading there? Is it necessary to use multi-threaded cmsis_os.h?
08-17-2023 08:44 AM
Hi MAJINGQI,
The reference code is based on FreeRTOS, and the code for initializing BME688 is in the task, not in the main function.