I am trying to write joystick X & Y values to an SD card from within a timer interrupt using the SD library.
The file is being created, but whatever data is supposed to be written to it cannot be seen when I open it...
Is the incrementing of the timer register(s) used by millis() and micros() paused during the execution of an ISR?
To check this I wrote a simple sketch to run on a Teensy 4.1
IntervalTimer timer;
int...
I think I have finally found a way to get the Teensy to initialise and recognise the SD card!!!!
The following instructions were tested on Ubuntu 22.04 LTS
I had to use the SD Card Formatter tool downloaded from...
I have used the T41 with 2 SD Cards (pictures below).
I have verified that the formatting is correct by using the tool from sdcard.org and formatting it to FAT32. I have also verified that both the SD Cards work by...
Could you please provide me with the syntax for doing so? I would greatly appreciate that since I cannot find any resources that would help me use this tool.
Here is are some screenshots that show exactly what I am running:
SD card info:
Would the SD Library CardInfo example sketch indicate if something was wrong with the format that the SD card is in?
SD Library...
Exactly, I have been using a T41 for a long time on this computer.
Are there other things that I could try? Perhaps using a different type of SD card, or a different brand?
What are the things that could've gone...
I have tried running the CardInfo example after setting chipSelect to BUILTIN_SDCARD, it says the same thing, that card initialisation failed.
The SD card is not an old card, it is a 32 gb SanDisk Ultra micro SD HC card
I am trying to write data to an SD card connected to a Teensy 4.1 using the port that's on the PCB (not an external micro SD module). I was trying to check if the Teensy is able to recognise that there is an SD card...