Associate
December 28, 2018
Solved
How to read/write HTS221 over SPI1
- December 28, 2018
- 4 replies
- 1595 views
Hello I am brand new to STM32F0xx chip set. I have on board HTS221 and need to read temperature and humidity over 3 wire SPI interface. Can anybody point me in the right direction. Maybe there is an example code on how to setup SPI1 for half duplex so I can read and write to HTS221 registers correctly. I tried implementing the SPI on my own but have some strange timing issues. please see attached image and the source code
