Skip to content

Commit

Permalink
add correct antenna power switch and crystal configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aldwinhermanudin committed Dec 31, 2023
1 parent 92bd8dc commit 7b7ae5e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/mbedos/test-bme688/mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"lora.device-eui": "{ 0xAC, 0x1F, 0x09, 0xFF, 0xFE, 0x0E, 0x39, 0xE8} ",
"lora.application-eui": "{ 0x0E, 0x0D, 0x0D, 0x01, 0x0E, 0x01, 0x02, 0x0E }",
"lora.application-key": "{ 0xb5, 0x12, 0xfb, 0x72, 0xfc, 0x87, 0x20, 0x2a, 0xb3, 0x90, 0xc1, 0xbe, 0x8e, 0x46, 0x99, 0xf6 }"
},
"RAK3172": {
"stm32wl-lora-driver.rf_switch_config": 2,
"stm32wl-lora-driver.crystal_select" : 0
}
},
"macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_lora_config.h\""]
Expand Down
23 changes: 19 additions & 4 deletions src/mbedos/test-bme688/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# BSEC BME688 Test Example

Tested on:
Expand All @@ -8,7 +7,7 @@ Tested on:
- [BSEC2 Library](https://www.bosch-sensortec.com/software-tools/software/bme688-software/)

## Acknowledgement
Source code is based on https://github.com/Mircerson/AERQ
Source code is based on https://github.com/boschsensortec/Bosch-BSEC2-Library

## TODO

Expand All @@ -18,5 +17,21 @@ Source code is based on https://github.com/Mircerson/AERQ
- `libalgobsec.ar` for ARMC6 ( currently rename the .lib file to .ar from the BSEC library)
- STM32WL55CC is Cortex-M4
- [x] Implement simple AQI reader without proper sleep
- [ ] Rewrite BME688 high-level library
- [ ] Create a different repo for proper AQI reader with sleep
- [x] Rewrite BME688 high-level library
- [x] Implement proper AQI Reader in ULP mode with Deep-Sleep (STOP2)

## Notes

If using RAK3172, then set the following under `mbed_app.json`

"RAK3172": {
"stm32wl-lora-driver.rf_switch_config": 2,
"stm32wl-lora-driver.crystal_select" : 0
}

If using RAK3172-T ( with TCXO ), then set the following under `mbed_app.json`

"RAK3172": {
"stm32wl-lora-driver.rf_switch_config": 2,
"stm32wl-lora-driver.crystal_select" : 1
}

0 comments on commit 7b7ae5e

Please sign in to comment.