mutex
March 28, 2018, 9:07pm
1
According to the Autonomo drawing SPI is used for Serial flash and SD Card and is not available on the pin haeders.
Is it with the SPI1 approach feasible to hook up a RDT (Pt100) SPI module?
http://playingwithfusion.com/productview.php?pdid=25&catid=1004
Is there a small example of how to use SPI1 with a SODAQ Autonomo?
Beat
Similar post from 2016
SPI isn't actually available on the headers pins of the Autonomo.
However, there is a sub-variant you can compile for which adds a second SPI bus (see the board list "Autonomo with SPI1").
The pins are as follows:
D5: MISO1
D6: CS1 You can use any IO pin for CS
D7: MOSI1
D8: SCK1
You will need to modify the library as it uses the global instance SPI, you will need to change that to SPI1.
Also, it currently sends any debug output to Serial. You can use that if you like, however, you wi…
As mentioned in the previous post, all you need to do is compile for the board SODAQ Autonomo with SP1
and then change any calls to the instance SPI
to call SP1
instead.
The pin mappings are listed above.
1 Like