Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

Reading digital inputs with TMS320F2812

Other Parts Discussed in Thread: TMS320F2812

Hello

I have a question about receving digital inputs using TMS320F2812. i have a digital unit which is giving digital  outputs (0-3.3 volts PWM squarewave) which is being fed into the DSP. My question is, how can I read/retrieve/get a specific value, For example;

0,2 volt = 2

0,8 volt = 8

1 volt = 10

(...)

3 volt = 30

I have looked in the "C281x C/C++ Header Files and Peripheral Examples", but I could not find anything directly related to my problem. 

A small code example would be very helpful.

Best regards Jonas