-
Notifications
You must be signed in to change notification settings - Fork 8
SD Card Log Notes
referencing this library for general MCU <--> SD card interface via SPI: https://github.com/1nv1/ulibSD
SAMD21 help with interfacing a microSD: https://www.avrfreaks.net/forum/samd-21-trouble-sd-card-spi-read
Data Block Organization: https://docs.google.com/spreadsheets/d/1dCQ0tn_JHHExXTlAtg-uQ40pm18PqK0MG8-BITm3Omw/edit#gid=0
Useful info on interfacing with a microSD: https://openlabpro.com/guide/interfacing-microcontrollers-with-sd-card/
Reassigning pins, look in this directory (C:\Users\candre1\AppData\Local\Arduino15\packages\SparkFun\hardware\samd\1.4.0\variants\SparkFun_SAMD_Mini) or similar --> look at the file variants.h and switch the redefine. NOTE: you will still need to tell a pin when it is in alternate mode (ie. pinPeripheral(7, PIO_SERCOM_ALT); ) in your setup()