# SPI using legato issue on wp76xx

**URL:** <https://mangoh.discourse.group/t/spi-using-legato-issue-on-wp76xx/2185>\
**Category:** Uncategorized\
**Created:** [November 29, 2018, 5:01pm UTC](https://mangoh.discourse.group/t/spi-using-legato-issue-on-wp76xx/2185 "2018-11-29T17:01:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [November 29, 2018, 5:01pm UTC](https://mangoh.discourse.group/t/spi-using-legato-issue-on-wp76xx/2185/1 "2018-11-29T17:01:05Z")

</div>

Hello

I am using example from:

> **[coastalbrandon/SpiTest](https://github.com/coastalbrandon/SpiTest)**
>
> Example program to read from an MCP3004 using SPI and Legato Framework - coastalbrandon/SpiTest

I have uploaded the spi module :

insmod /mnt/legato/system/modules/spisvc.ko

root@swi-mdm9x28-wp:/data# lsmod | grep spi  
spisvc 894 0 [permanent], Live 0xbf000000 (O)

root@swi-mdm9x28-wp:/data# ls -l /dev/spidev1.0  
crwxrwxrwx 1 root root 153, 0 Nov 29 16:27 /dev/spidev1.0  
root@swi-mdm9x28-wp:/data#

- I modified on the example code to use spidev1.0

code is running OK but I see nothing on SPI lines.

however when I am using a default Linux SPI utility I can use the SPI, issue read and write

please advice
