User frequently reported that the ArduCAM shield doesn’t work with DUE board, and it is now a known issue.
We figured out that in the Due board the default SD library speed is much faster than ArduCAM shield. The current ArduCAM shield SPI timing only supports less than 10Mbps. So if you want to work ArduCAM and DUE board together, the SPI should be configured with the lower speed.
To work around this issue, you have to modify the SD library below.
1. Please add the last line to \libraries\SD\utility\Sd2Card.h like follows.
/** Set SCK to max rate of F_CPU/2. See Sd2Card::setSckRate(). */
uint8_t const SPI_FULL_SPEED = 0;
/** Set SCK rate to F_CPU/4. See Sd2Card::setSckRate(). */
uint8_t const SPI_HALF_SPEED = 1;
/** Set SCK rate to F_CPU/8. Sd2Card::setSckRate(). */
uint8_t const SPI_QUARTER_SPEED = 2;
uint8_t const SPI_ARDUCAM_SPEED = 3;
2. Please change the SDClass::begin() function in the \libraries\SD\SD.cpp file like follows:
Here are our forum rules to comply with if you want to post a new topic:
Arducam posting rules
The posting rules aim to help you better articulate your questions and be descriptive enough to get help.
Any topic that fails to comply with the posting rules will be unapproved starting from 11/11/2020.
This forum is public. If you prefer a private conversation with Arducam, go to our Contact Center.
If you need help with the Arducam products you’ve purchased, please include the following questions in your post and answer them to help us better understand your needs.
Which seller did you purchase the product(s) from? (Is it Amazon, UCTRONICS, or other Arducam distributors?)
What’s the Model number of the product(s) you’ve purchased? (If you don’t know the model number, show us the link to the product.)
Which Platform are you using the product(s) on? (Is it a Raspberry Pi 3B+/4B, Arduino UNO R3, Jetson Nano B01, or another host?)
Which instruction are you following? (Is it our paper instruction manual, online documentation, or video tutorial? A link will Help.)
Has your product ever worked properly? (Never worked, quit working, or work intermittently)
What problems are you experiencing? (pictures and error codes will help a lot)
What attempts at troubleshooting have you already made?