I am trying to run some python scripts that have syntax based around python 3.7 (mostly asyncio commands). The problem is that when I check my version of python3, it says that it is 3.6.13 which is not the most recent version. I cannot find anyway to update this and have been trying for a while now. Any help would be greatly appreciated!
Go-to resource for frequently asked technical questions
Software-based (bit-bang) SPI on the GPIOs is doable!
The hardware SPI can only drive 2 devices, as there is only CS0 (already used by internal flash) and CS1.
If you need more than 1 additional SPI device, you'll need to resort to software (GPIO based) SPI. (Also known as bit-bang SPI).
Setting up a Software I2C Bus
Install the required kernel modules
opkg install kmod-spi-gpio-custom
Then load the spi-gpio-custom kernel module:
# configure software GPIO SPI
insmod spi-gpio-custom bus0=1,11,5,4,0,100000,18
Y just numbers the software SPI "buses" controlled by spi-gpio-custom. If you need multiple software SPI, you need to specify all of them on the same insmod command line, and specify parameters like bus0=... bus1=... bus2=...
devid is the number X you'll have in the /dev/spidevX.0 name
SCK, MOSI, MISO, CS are GPIO numbers for the respective signals
mode is the SPI mode, usually 0
speedinHz is the speed. Note that software SPI speed is limited, you'll not get the HW SPI top speed with it
The example above will get you a /dev/spidev1.0 on pins 11,5,4 and 18, in mode 0 and with 100kHz speed.
Credit for this FAQ goes to @luz from this thread
I have some really nice USB cables
USB to USB-C cables for my phone that are for Qwik charge
I have USB-C to USB-C
3" long USB to USB-C
I have tried nearly 20 different cables and I still get 98% rejected frames. What can I do?
Is anyone else having this issue?
Is there a cable that people are specifically buying for this ?
Is it possible to have the Tau send the same frame twice, albeit at a slower pace, and build one frame from the missing data in the two frames?
EDIT: The Examples all run well except for the recordRawFrames.py It throws frame errors.
"Data error, actual size: 38356, expected size: 38480"