AlexARL

SPI Driver enters infinite loop

Discussion created by AlexARL on Feb 21, 2013
Latest reply on Feb 25, 2013 by CraigG

If you change the bits per word from 16 to 8 while dataflow is still enabled, the SPI driver decrements the ByteRemaining field past zero to -1, causing the driver to send out data on the SPI port indefinitely (well, until there's a Hardware Error).

 

Driver should not allow changes to bits per word while dataflow is enabled.

Outcomes