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.

RM48L952: hetGetTimestamp value is only 0.

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Hello, I want to make the timer with HALCOGEN and CCS, HET IDE.

But I don't understand why I played HetGetTimestamp and got zero.

Can you tell me where I made a mistake?

I wrote it down in detail on the PPT. Please check the project through the attached file.

Timestamp.pptx

  • Hi Jo,

    Your code should work if the input signal at pin 0 has a rising edge or rising edges. Be aware of that the RISING event (your config) triggers the capture.

    It is more readable to add another instruction at the end:

    L02  BR     { next=L00, cond_addr=L00, event=NOCOND};