2015-09-30 12:51 PM
Hi, I'm using the HTS221 with an STM32F205. The communication channel is SPI. I'm finding that when I reboot my processor without cycling power, once the processor is back up and running it is unable to write to any of the HTS221's control registers so I am unable to put it in active mode. I am running the SPI bus at ~1MHz.
Any advice/ideas would be greatly appreciated!Thanks,Doug #hts2212015-10-02 06:01 AM
Hello Doug,
from the information you provided, the only thing I can think of as a cause of the behavior that you describe is the reboot falling right in the middle of an SPI tran saction, leaving the transaction pending and the sensor interface state machine wai ting for completion of the previously started transaction. In general what I would recommend to take actions to reset the sensor every time you reboot the micro. If you stilll have the same problem after sensor reset let me know. Regards, Adalberto