You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| backend | 4 years ago | |
| nucleo-wb55-ble | 4 years ago | |
| nucleo-wb55-blinky | 5 years ago | |
| nucleo-wb55-dongle-ble | 4 years ago | |
| nucleo-wb55-dongle-blinky | 5 years ago | |
| nucleo-wb55-dongle-usb | 5 years ago | |
| nucleo-wb55-i2c | 5 years ago | |
| nucleo-wb55-usb | 5 years ago | |
| out/ble-client-seq | 4 years ago | |
| .gitignore | 4 years ago | |
| .pre-commit-config.yaml | 4 years ago | |
| README.md | 4 years ago | |
| ble-client-seq.puml | 4 years ago | |
| config_example.yml | 4 years ago | |
| download.py | 4 years ago | |
| pyproject.toml | 4 years ago | |
| request-sequence-diagram.puml | 4 years ago | |
| requirements.txt | 4 years ago | |
| serial_communication.py | 4 years ago | |
| setup.cfg | 4 years ago | |
README.md
STM32WB55 boards
Board
Wireless stack update
- download https://github.com/STMicroelectronics/STM32CubeWB
- Use DFU mode: https://www.youtube.com/watch?v=wheGvdXsi4o @ 1min 47s
- Jumper at
- USB MCU
- CN7, Pin 5&7
- Connect with ST-Link, in STM32Programmer/Option bytes/User configuration/ set
nSWBOOT0to true - Switch USB to user USB
- Connect with USB
- Jumper at
- Update FUS: https://community.st.com/s/question/0D53W00000377Nq/pnucleo-wb55-fus-error-imagenotfound
- Select First Install checkbox
- Download binary, for example
stm32wb5x_Zigbee_FFD_fw.bin
Dongle
Just update FUS and download binary
BLE
GAP
GAP concepts: https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gap
GATT
GATT concepts: https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gatt
Client
Backend
DEBUG config
VS Code:
"configurations": [
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "backend/wsgi.py",
"FLASK_ENV": "development",
"FLASK_DEBUG": "0",
"SECRET": "\\\x10#\xd9\x89,2|hBN\xe4\xdf\xe0\xf7W"
},
"args": [
"run",
],
"jinja": true
}
]