From: Mahendravarman Rajarao (RBEI/EAA3) [mailto:Mahendravarman.Rajarao@in.bosch.com]
Sent: Tuesday, January 3, 2017 10:09 PM
To: Chuck Jordan <Chuck.Jordan@synopsys.com>; Tomasz Bursztyka <email@example.com>; firstname.lastname@example.org
Subject: [devel] Re: Re: Re: reg: Routing SPI signals connected from x86 core to the Arc core
As you said I have tried to compile directly using arc and its compiling
I thought to route the debug prints through UART over usb.
But I think the current version supports UART over usb only on x86 (quark_se_c1000_devboard) not on arc (quark_se_c1000_ss_devboard)
Because while compiling I am getting error as
“In file included from /home/mahendra/guestshare/mahendra/zephyr-v1.6.0/drivers/usb/device/usb_dc_dw.c:32:0:
/home/mahendra/guestshare/mahendra/zephyr-v1.6.0/drivers/usb/device/usb_dw_registers.h:211:2: error: #error "Unsupported board" #error "Unsupported board"
OR, the ARC can utilize SPI too and talk to the
It just depends upon which CPU you want to OWN which resource.
You can use IPM API to send data from one core to another.
Your accelerometer implements sensor API I guess? So it can trigger
a callback, which in turn would send the information to the ARC core
For the sensor trigger part, see samples/sensor ones. (bmi160 for instance).
And for ipm: samples/ipm ones.
We have connected an Accelerometer to the x86 core of C1000 (Quark_se) through SPI interface.
Interrupt line of accelerometer is also connected to the AON_GPIO_3
Now I need to route the SPI connection of x86 to Arc core. Is that possible ?
Any sample code in zephyr I can refer for this activity ?