Comments (4)
Have you tried OpenIndex()
?
from libmpsse.
I believe the Open function essentially uses the OpenIndex function, right?
I have three devices connected to my RPi. If I do:
ls /dev/ttyUSB*
it shows me all three connected (USB0, USB1, USB2). Then I run a code which only implements:
spi=MPSSE(SPI0,ONE_HUNDRED_KHZ,MSB)
after which when I do ls /dev/ttyUSB* again, only USB0 and USB1 are shown. But if I do lsusb, I can still see all three devices there.
Quite confused by this behaviour.
Thank you for your help.
from libmpsse.
Yes.
I've misinterpreted your question. Sure you'll lose one of the /dev/ttyUSB's since you're allocating the FTDI for SPI. You cannot use the same pins for both UART and SPI.
from libmpsse.
Ah thank you. I was concerned it was kicking one of my devices off, but I looked in further and it looks like it first identifies itself as a UART device, that's why I see 3 USB connections, but once I set up the SPI it removes itself from the UART list.
Thank you for your guidance and sorry for the ignorance, first time using SPI over USB with other devices in there :)
from libmpsse.
Related Issues (20)
- Multiple Definition of fast_rw_buf
- FastTransfer failing on build_block_buffer
- compilation warnings
- random parallel compilation failures (-j4) HOT 4
- I2c HMC5883L connection issue to FT2232H
- Problems with libmpsse on OSX 10.11
- Input pins are set to output type, buggy and/or dangerous if using inputs HOT 1
- modified version HOT 4
- Is devttys0/libmpsse the de facto upstream for libmpsse? HOT 7
- dual MPSSE support? HOT 1
- including mpsse.h in projects can cause "duplicate symbol" linker errors HOT 1
- Problems with i2c Read()
- ImportError: No module named pylibmpsse HOT 9
- Error while running C examples HOT 2
- Integrating with OSS-Fuzz
- Erroneous clock frequency HOT 8
- Python 3 support HOT 2
- error: missing fdtdi1 library HOT 2
- Is library up to date? Relationship to FTDI's LibMPSSE 1.0.3 release of August 16, 2022?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmpsse.