Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
MustardMan Senior Member Joined: 30/08/2019 Location: AustraliaPosts: 175
Posted: 02:00am 02 Nov 2019
Copy link to clipboard
Print this post
Hi, I would like to use an Explore 100 (rev D1) with an SD card adapter fitted to one of the 'click' expansion ports. The question also applies to connection of an SD card through the CON8 'MAIN I/O' header.
The D1 has on on-board micro-SD slot, and the recommended 5" LCD has a full size SD card slot. These can be accessed without problem using OPTION SDCARD with the appropriate SD-pin parameter (47 on the LCD board, 52 on the base board). The SD card data is transferred using pins 10,11,12 (SCK,MISO,MOSI) on the '470 chip (PIC32MX470F5012L).
The SPI bus on the 'click' interface uses different pins (70,71,72 - SCK,MISO,MOSI respectively).
Can I tell "OPTION SDCARD" to use an alternate SPI port (knowing the '470 has two), or tell it to use a different pin mapping for the same SPI port?
Cheers,
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10573
Posted: 06:15pm 02 Nov 2019
Copy link to clipboard
Print this post
The answer is no. The SPI port for the SDcard is fixed
MustardMan Senior Member Joined: 30/08/2019 Location: AustraliaPosts: 175