Bonjour Christian,
Vous pouvez utiliser cet exemple comme point de départ.
http://www.matrixmultimedia.com/mmforum ... =26&t=4850
Je pense que vous aurez besoin d'exécuter la puce à 48MHz en utilisant la PLL à se multiplier à partir de votre cristal 20MHz. L'exemple utilise un ECIO mais cela peut facilement être changé pour un dispositif 18F4455. Une chose à noter est que le périphérique SPI n'est pas tout sur un seul port de ce dispositif de sorte que vous devrez peut-être utiliser le mode logiciel pour la composante FAT pour permettre à la carte SD E-bloc pour fonctionner correctement.
Faites-nous savoir votre plus jeune.
Hello Christian,
You can use this example as a starting point.
http://www.matrixmultimedia.com/mmforum ... =26&t=4850
I think you will need to run the chip at 48MHz using the PLL to multiply up from your 20MHz crystal. The example uses an ECIO but this can easily be switched for a 18F4455 device. One thing to note is that the SPI peripheral is not all on one port on this device so you may need to use software mode for the FAT component to allow the SD card E-block to work correctly.
Let us know how your getting on.