SPI

From Frotmail Projects
Revision as of 09:11, 5 April 2022 by Eric (talk | contribs) (Created page with "=Pieken= There will be spurious signals at n/2·crystal oscillator frequency (n is an integer number). RF frequencies at n/2·crystal oscillator frequency should therefore be avoided (e.g. 2405, 2418, 2431, 2444, 2457, 2470 and 2483 MHz when using a 26 MHz crystal). =verse install= sudo apt-get install python-dev build-essential Finally, it is time to install the python SPI wrapper needed for python to access the port. mkdir python-spi cd python-spi wget https://raw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pieken

There will be spurious signals at n/2·crystal oscillator frequency (n is an integer number). RF frequencies at n/2·crystal oscillator frequency should therefore be avoided (e.g. 2405, 2418, 2431, 2444, 2457, 2470 and 2483 MHz when using a 26 MHz crystal).

verse install

sudo apt-get install python-dev build-essential

Finally, it is time to install the python SPI wrapper needed for python to access the port.

mkdir python-spi
cd python-spi
wget https://raw.github.com/doceme/py-spidev/master/setup.py
wget https://raw.github.com/doceme/py-spidev/master/spidev_module.c
sudo python setup.py install