This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2652R: How to best read a digital signal.. GPIO Interupt?

Part Number: CC2652R


Tool/software: TI-RTOS

Hello everyone.  I'm a novice for TI products but I've been working on this quite a while. I am trying to interface with a temperature sensor that has a 20 bit digital signal in response to a 18ms pull down then 40ms pull up start signal.  I have written the code to initiate the start signal and then set the GPIO to input with both edge detections and a callback function.  I'm trying to capture the length of each pullup by the temp sensor since this determines whether or not it is a 1 or a 0.  How would I do a time stamp of each edge so that I can accomplish that delta time?  Am I on the right track?

By the way, since I'm using a MAC the sensor controller studio is out.  I've tried using Wine to make it work and it is just too much of a pain.  I figured I could implement this digital reading fairly easily but I'm not sure I'm approaching it correctly.

thanks for any input.

Travis