-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards/b-l475e-iot01a: Add SPI2 and SPI3 buses #17885
Conversation
SPI2 is exposed on the PMOD connector, SPI3 is used internally to communicate with the radio modules onboard
Nice. Are you planning to write a driver for BLE ? |
Indeed that's the plan, by adding the SPI/HCI interface used by the chip to NimBLE which seems to be quite feature rich already (and already handles another chip via SPI, so it shouldn't be too hard). |
I added a new commit to disable the warnings about undocumented macros, just like it's done for the DMA_[0-3]_ISR macros |
Also you should update your last commit message to something like |
050669e
to
446b48d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Thanks!
Just as an FYI if somebody finds this PR and is looking for SPBTLE-RF support: Integrating the chip in NimBLE proved to be harder than I thought. Given the limited time I had, I ended up porting another library to RIOT, which you can find here: SPBTLE-RF-RIOT. It doesn't support all the roles, but if you need Beacon and Observer functionality it's good to go |
Contribution description
This PR adds support for the missing SPI2 and SPI3 buses on the b-l4753-iot0a1 board.
SPI2 is exposed on the PMOD connector, SPI3 is used internally to communicate with the radio modules onboard
Testing procedure
SPI3 was tested by interfacing with the bluetooth module with the following code: