SD card not initialising using 18F47K42 FC9
Posted: Tue Apr 02, 2024 1:36 pm
Morning all
I have been using the PIC18F47K40 and have had the SD card working without a problem. On changing to the PIC18F47K42 the SD card does not pass the initialise component macro.
The code is identical between the two devices mentioned as are the pins, the clock frequency, the initial pre-scaler and the high speed pre-scaler.
The clock at the time of the card initialisation is 8 meg and the pre-scaler is f/64 which gives 125kHz to the card.
I have checked that all other pins used have been correctly allocated and have seen this problem on more than one PIC18F47K42
Any ideas?
Thanks Howard
FC9
I have been using the PIC18F47K40 and have had the SD card working without a problem. On changing to the PIC18F47K42 the SD card does not pass the initialise component macro.
The code is identical between the two devices mentioned as are the pins, the clock frequency, the initial pre-scaler and the high speed pre-scaler.
The clock at the time of the card initialisation is 8 meg and the pre-scaler is f/64 which gives 125kHz to the card.
I have checked that all other pins used have been correctly allocated and have seen this problem on more than one PIC18F47K42
Any ideas?
Thanks Howard
FC9