# How to work with Python and SPI on the OpenSTLinux SO

**URL:** <https://hub.mender.io/t/how-to-work-with-python-and-spi-on-the-openstlinux-so/3918>\
**Category:** General Discussions\
**Tags:** python, st\
**Created:** [July 22, 2021, 1:05pm UTC](https://hub.mender.io/t/how-to-work-with-python-and-spi-on-the-openstlinux-so/3918 "2021-07-22T13:05:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Demskur](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/demskur/32/1325_2.png) [@Demskur](https://hub.mender.io/u/Demskur)\
**Post date:** [July 22, 2021, 1:05pm UTC](https://hub.mender.io/t/how-to-work-with-python-and-spi-on-the-openstlinux-so/3918/1 "2021-07-22T13:05:06Z")

</div>

Hi, sorry for my english, but i want to know how to make it work an SPI Interface with Python using the OpenSTLinux SO. 🙂 🙂

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [July 22, 2021, 1:33pm UTC](https://hub.mender.io/t/how-to-work-with-python-and-spi-on-the-openstlinux-so/3918/2 "2021-07-22T13:33:47Z")

</div>

Hi @Demskur that’s a bit out of our scope so we don’t have a definite answer for you. As far as I know OpenSTLinux is Yocto based so it should be a standard Yocto setup. It looks like the [meta-openembedded layer](https://github.com/openembedded/meta-openembedded) has a recipe for python3-spidev so that is probably where you should start.

Drew

---

<div class="post-metadata">

**Author:** ![Demskur](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/demskur/32/1325_2.png) [@Demskur](https://hub.mender.io/u/Demskur)\
**Post date:** [July 22, 2021, 1:54pm UTC](https://hub.mender.io/t/how-to-work-with-python-and-spi-on-the-openstlinux-so/3918/3 "2021-07-22T13:54:45Z")

</div>

> [@drewmoseley](#):
>
> python3-spidev

Oh! Thank you, i will try it. 🙂
