<div>20.04.2017, 17:42, "Gedare Bloom" <gedare@rtems.org>:</div><blockquote type="cite"><p>On Tue, Mar 21, 2017 at 2:57 PM, Nikolay Komashinskiy<br /><<a href="mailto:nikolay.komashinskiy@yandex.ru">nikolay.komashinskiy@yandex.ru</a>> wrote:</p> <blockquote> i2c and spi Linux APIs are preferred, see cpukit/dev/*<br /><br /> GPIO + i2c + spi is a realistic scope of work.<br /><br /> I think that way too. For testing I can use a beaglebone.<br /> </blockquote><p>Can you explain what you mean by using a beaglebone for testing?<br />What//how would you test?</p></blockquote><div>I am going to use a beaglebone for functional testing, I mean I want to establish</div><div>connections with a beaglebone board and transfer data from/to it.</div><div>Honestly, I haven't looked at how peripheral is tested in rtems yet.</div><div> </div><blockquote type="cite"><blockquote> Could you expand what do you mean by "i2c and spi Linux APIs"?<br /> As far as I remember, in Linux there were a kernel spi support and<br /> SPIDEV modules (userspace).<br /><br /> Also, there was only a master-mode support in Linux. Should RTEMS support<br /> also a slave-mode?<br /> </blockquote><p>Please have a look at the existing device drivers that have been<br />implemented in RTEMS. You can find them under the c/src/lib/libbsp/<br />directory. Currently I think only arm devices have been supported at<br />all:<br />* libbsp/arm/atsam/i2c<br />* libbsp/arm/raspberrypi/i2c<br />* libbsp/arm/xilinx-zynq/i2c<br /><br />And for SPI I think only atsam has one merged.<br /><br />The GPIO interface was originally designed and implemented for<br />raspberrypi and a student (Ketul) wrote it for beaglebone black:<br />* libbsp/arm/raspberrypi/gpio<br />* libbsp/arm/beagle/gpio<br /><br />-Gedare</p></blockquote><div>Thank you. Currently, I am trying to figure out how to run rtems on top of my board</div><div>which has a slightly different processor from the one which has an RTEMS bsp.</div><div> </div><blockquote type="cite"><blockquote> ---<br /> Regards,<br /> Nikolay Komashinskiy</blockquote></blockquote>