I have some issue using spi dll (last V5.3) on Colibrì T20 working on CE6 (original image provided by Toradex “Tegra_WinCE_Image_1.4”) .NET CF 2.0.
The first time it is initialized it works properly, but if I call
SPIDeinit(txSSPport); to deallocate it and after that I try to restart with
spiError = SPIInit(txSSPport, Constant.dataBits, Constant.SPI_CLOCK_1_MHZ, false, 0, null); ///< Initialize SSP (master)
SPIReadWritePolling(txSSPport, buffIn, buffOut, 1, 0);
This function of write read freezes in an infinite waiting. No windows Exeptions but I lose program control that need to be be closed.
Thanks in advanced for any suggestion.