Mahendravarman Rajarao (RBEI/EAA3) <Mahendravarman.Rajarao@...>
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"
From: Chuck Jordan [mailto:Chuck.Jordan(a)synopsys.com]
Sent: Tuesday, January 03, 2017 11:48 PM
To: Tomasz Bursztyka <tomasz.bursztyka(a)linux.intel.com>; devel(a)lists.zephyrproject.org
Subject: [devel] Re: Re: reg: Routing SPI signals connected from x86 core to the Arc core
OR, the ARC can utilize SPI too and talk to the accelerometer directly.
It just depends upon which CPU you want to OWN which resource.
From: Tomasz Bursztyka [mailto:tomasz.bursztyka(a)linux.intel.com]
Sent: Tuesday, January 03, 2017 5:09 AM
Subject: [devel] Re: reg: Routing SPI signals connected from x86 core to the Arc core
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 ?