Re: [Zephyr-devel] I2C or SPI Driver Example for ARC (Sensor subsystem) for Quark_se
Mahendravarman Rajarao (RBEI/EAA10) <Mahendravarman.Rajarao@...>
Hi
Iam using zephyr 1.6.0 downloaded from the site
If I need to toggle a simple GPIO on the Sensor subsystem, In the Kconfig file of the ARC Config options given are GPIO_QMSI , GPIO_QMSI_SS & GPIO_QMSI_SS_0_NAME (default name is GPIO_SS_0)
So In device binding we need to give as device_get_binding(“GPIO_SS_0”); If I give as device_get_binding(“GPIO_0”); then x86 gpio is toggling.
Can you confirm this ?
Do you have any example of gpio with sensor subsystem ?
Thanks
From: Dinh, Kien T [mailto:kien.t.dinh@...]
Sent: Thursday, May 11, 2017 2:41 PM To: Mahendravarman Rajarao (RBEI/EAA10) <Mahendravarman.Rajarao@...>; users@...; devel@... Subject: Re: [Zephyr-devel] I2C or SPI Driver Example for ARC (Sensor subsystem) for Quark_se
Hi Mahendravarman,
You might try to look at the samples folder in the repository. The below examples are using I2C and SPI on ARC: https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/drivers/current_sensing https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/environmental_sensing https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/sensor/bme280
Regards, Kien
From: <zephyr-devel-bounces@...> on behalf of "Mahendravarman
Rajarao (RBEI/EAA10)" <Mahendravarman.Rajarao@...>
Hi Team
Do you have any sample/example of Using I2C or SPI driver of ARC ( sensor subsystem) in Quark_se ?
Thanks
|
|