Hi,
From the two reset options, is there one which is better over the other?
I am asking this because as of now i am using the SPI based reset and sometimes during power up the device will
not reset correctly. The following is a paste from my code:
XCODE void ehifSysResetSpi(unsigned char waitReady) {
// Perform SYS_RESET sequence
EHIF_SPI_BEGIN();
_Delay(2);
EHIF_SPI_TX(0xBF);
EHIF_SPI_WAIT_TXRX();
EHIF_SPI_TX(0xFF);
EHIF_SPI_WAIT_TXRX();
uDelay(2);
EHIF_SPI_END();
if (waitReady) {
uDelay(1);
EHIF_SPI_BEGIN();
ehifWaitReadyMs(100);
EHIF_SPI_END();
}
} // End of ehifSysResetSpi
Am i doing this correctly? any notes?
Thank you!
Nir.