zephyrproject-rtos / gsoc-2022-arduino-core

Arduino Core Zephyr Module (GSoC 2022 Project)
Apache License 2.0
43 stars 11 forks source link

Implementing SPI library #87

Closed soburi closed 1 month ago

soburi commented 9 months ago

We need to implement the SPI library to keep it compatible with standard AVR Arduino.

DhruvaG2000 commented 9 months ago

Just documenting further details here,

  1. SPI.h arduino API
  2. Zephyr SPI API
DhruvaG2000 commented 2 months ago

SPI should be included when writing a device overlay, but I'm not in a position to test it.

@soburi I could probably test the SPI implementation if you're able to raise a PR for SPI using ADXL355 sensor or something that I may have access to.

https://github.com/plasmapper/adxl355-arduino This should be a good library to validate SPI works. Let me know if you are interested, I can definitely help but will be difficult for me to implement fully at the moment.