Hi
I am trying to get an SD card reader working on a metro M0 or M4 using the ultimate GPS logger shield - unsuccessfully.
I have been working through the documentation on the product page - which is rally helpful :-)
I have a question about pins 11-13 on the Metro M0 and/or M4. Are these still miso, mosi and the clk for SPI?
I am asking because they are not identified as so in the pinout.
If so, do I need to do anything special to set them up to do this?
Else, should I be trying to connect them to the hardware SPI pins instead?
Many thanks,
Mark
SPI on metro M0 and M4
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15658
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SPI on metro M0 and M4
I would use the 2x3 SPI/ICSP header as you know that will work without consuming digital pins.
If you want to use D10-13, see https://learn.adafruit.com/using-atsamd ... rial-ports.
Dave
If you want to use D10-13, see https://learn.adafruit.com/using-atsamd ... rial-ports.
Dave
- mnaylor
- Posts: 4
- Joined: Mon Aug 30, 2021 4:04 am
Re: SPI on metro M0 and M4
Many thanks for the link :-)
Does this mean that if I want to use the ultimate GPS logger:
- I should cut the pins under 11-13 on the ultimate hat (is this necessary??)
- solder in stacking headers onto the ultimate above the 6 hardware SPI pins
- wires between pins 11-13 across to the hardware SPI pins
- set pin 10 high for chip select
Something like in the picture attached.
Does this mean that if I want to use the ultimate GPS logger:
- I should cut the pins under 11-13 on the ultimate hat (is this necessary??)
- solder in stacking headers onto the ultimate above the 6 hardware SPI pins
- wires between pins 11-13 across to the hardware SPI pins
- set pin 10 high for chip select
Something like in the picture attached.
- Attachments
-
- IMG_4059.jpg (140.06 KiB) Viewed 170 times
- dastels
- Posts: 15658
- Joined: Tue Oct 20, 2015 3:22 pm
Re: SPI on metro M0 and M4
I don't know if the 2x3 header lines up with the pades in the prototype area of the shield.. it's be wonderful it it does.
But overall, yes. That's how I'd approach it.
Dave
But overall, yes. That's how I'd approach it.
Dave
Please be positive and constructive with your questions and comments.