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.

CCS/TMS570LC4357: Getting started with programing - Calculate rotational speed

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hello there,

I want to calculate the rotational speed of a shaft. The HET should count the Edges and trigger an interrupt after a certain number of edges, where the speed will be calculated.

But at first I train easy examples without the IDE-Editor. I have serious problems to find things that I need.

At first I used HCG to generate a PWM-signal. This works.

Now Im trying to use another Pin from the HET as input for this PWM-signal and want to calculate the frequency. I need the number of edges and the time for this calculation.

 I want to use a timer but I have no idea, how i can realize the timer...

I have some  experience with the Atmega and used the timer on the Atmega. The datasheet for the Atmega was in my opinion more useful/easy for me than the datasheet for the launchpad from TI.

Do you know any books or literature which would help a beginner for problems like this?

Best regards

Kenan