# MangOH Green: GPIO doesn't work

**URL:** <https://mangoh.discourse.group/t/mangoh-green-gpio-doesnt-work/6468>\
**Category:** Uncategorized\
**Created:** [March 23, 2021, 3:19pm UTC](https://mangoh.discourse.group/t/mangoh-green-gpio-doesnt-work/6468 "2021-03-23T15:19:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 23, 2021, 3:19pm UTC](https://mangoh.discourse.group/t/mangoh-green-gpio-doesnt-work/6468/1 "2021-03-23T15:19:55Z")

</div>

Hi!  
I have a mangOH Green with a wp7607 module. I have a serious problem with communicating via SPI: it seems not to work.

I installed the basic version of the system:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/5/5ce01f98ef03ed61d5134b300d2909ef7c35210c.png)

I compiled the mangOH layer and the green.sdef file is here:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/6/635354393519d21927f2b804811b14386c2b56f5.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/a/ab1b0d3a4a6fe4ae27c9e4f3aa45057741845472.png)

SPI is not present in the drivers installed on the board. I obtain the following problem in the logfile:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/7/73cba302fc702acd0aa3355c7809a4db30724dd7.png)

I tried also the way of download yocto and compile and modify the quic-menuconfig, but I obtain the same result: SPI doen’t work, since I’m trying to use a CAN device that needs SPI and I see “cannot find device can0”.

I also tested on the oscilloscope: when I give the command mux 4 (or mux 5) I see high only the Slave Select and so the SPI clock, MISO and MOSI are zero and nothing happens. What sould I do in order to solve this problem? Have I to modify the file green.sdef or other files, since nothing changes if I use yocto config?  
Ironically, if I wanted to drive the gpio SPI 51 at a low value, what could I do?

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 25, 2021, 11:22am UTC](https://mangoh.discourse.group/t/mangoh-green-gpio-doesnt-work/6468/2 "2021-03-25T11:22:41Z")

</div>

no one can help me?? please 😥
