Instructions

326Libraries
© 2013 Conrad Electronic
triggered. In the demo programs this part is commented out for the AVR32Bit Unit.
SD-Card Support for C-Control Pro Mega 128 and Mega 128 CAN
The C-Control Pro SD Card interface (Conrad Order No. 197220) is used for connecting a microcon-
troller, such as C-Control Unit 128 Mega (Conrad Order No. 198219) to a 3.3 SD card. The SD-card
expansion features a level converter, which bidirectional converts the signals, allowing a direct con-
nection of the SD card to a 5V microcontroller. All memory cards, on the market this time, such as
SD, SDHC, MMC and other cards can be used with a corresponding SD card adapter.
The SD card is not supported on the C-Control Pro Mega32 because there is no room in the
flash memory (32kb) to contain the FAT file system routines.
When the SD card is used in conjunction with USB and the application board, there is a collision
on the SPI bus. Unfortunately, the USB interface on the application board allows no sharing of the
SPI interface. The Projectboards are not affected, because they communicate via the serial inter-
face. If you want to use the SD Card interface, you have to remove the jumper on the application
board (Mega128 PB.0 to PB.4 and PE.5).
The signals PB.5 to PB.7 are not absolutely necessary, in the demo programs they will be used
for the enable signals and LED control. You can save these pins, if you decide to hardwire these sig-
nals.
Card holder
PIN Mega128
WP
PE.5
CD
PB.4
MISO
PB.3
MOSI
PB.2
SCK
PB.1
SS
PB.0
EN1
PB.5