Part Number:MSP430F5529
Tool/software: Code Composer Studio
I wanted to study and implement a one wire connection using the MSP430 MCu and
I tried that with the DHT22 humidity and temperature sensor .
After I read the datasheet of the sensor and saw the specific timings
I found a code ,searching in the web,which was implementing the DHT11 with another msp mcu so I changed the necessary values in order the code would work in the MSP430F5529.
I get no bugs or errors but the result is not right. I think the problem has to do with timing but I cannot figure it out.
Below is the function for reading the DHT which is called in the main().
I use TImer0_A5 in continuous mode TA0CTL = TASSEL_2 + MC_2 ;
(the code is not mine I was just trying to study it )