Go Down

Topic: Using SPI connted to x86 and sensor core of arduino101 (Read 669 times) previous topic - next topic



I am developing an application on Zephyr Operating system for Genuino101 that uses SPI Master to communicate to a single slave. I understand that there are two processor cores
1) X86_core (32 MHz x86 (Intel Quark* processor))
2) sensor_core (32 MHz Argonaut RISC Core (ARC)* EM processor)
I want to know what SPI controller is connected to which core and the clock divider values of system clock for SPI also a basic SPI configuration that i can use to configure the controller.
I need to use pins on IO header to communicate with SPI slaves, Which SPI should i use.



Hi Bharani,
both microcontrollers can interface with all the memory space and control all the peripherals (except one I2C port which is only accessible by the ARC core). For the pins and registers involved in SPI, you can take a look at the Arduino implementation (https://github.com/01org/corelibs-arduino101/tree/master/libraries/SPI/src) and apply it to your Zephyr project (pins are exported to the ICSP header)

Go Up