Hi! I hope somebody can help me with this problem or at least give me som suggestion how to solve it. I have a DSPIC CPU conected to at CF to store Data of course. To save power the CF power is turned off where ever it is possible.
Power on sequense is as follows. CF_WE=1 CF_OE=1 TRISD=TRISD_CF_ON TRISG=TRISG_CF_ON CF_ON=0 nop() nop() CF_CS1=1
Next i wait for CF_READY signal to go high, but in 1 of 100 this doesnt happen. I remains low and i must reset the whole system to get i working again. I have also noticed that the longer i wait between the turnon writes the more frequent the hang is.
Doest anyone have a clue what could be wrong.