Forum Discussion
Altera_Forum
Honored Contributor
19 years agoCF interface problem
Hi, I used CF interface with Jesse's software on Cyclone 1C20 devkit. With Alteras CF and SanDisk 256M all works fine, but with new Kingston (1G 50X elite pro) during Automated sector write/re...
Altera_Forum
Honored Contributor
19 years agoHi Leszekd,
You may need to change the hardware bus timings for the faster cards. We connect to the CF card via some user logic and have used the following timings for about the past two years: setup=70nS, wait=150nS, hold=20nS. These timings, although slow, were used to allow us the best chance of working with any card. Recently we started having problems with some of the newer and faster cards and, by trial and error, the following timings were found to work with almost all cards (including some very old ones): setup=15nS, wait=60nS, hold=30nS. By coincidence, I've got a Kingston 512Mb x50 and it works ok now but it wouldn't on the old timings. The CFA specification contains the timings for different types of cards but unless you have dynamic bus timings on your system you'll need to find some kind of compromise. Banx.