Other Parts Discussed in Thread: HALCOGEN
Hello, thank you for always answering my questions today.
Today I am going to implement a 1us timer utilizing HET using only CCS. Using the HALCOGEN setting and the hetGetTimestamp(hetRAM1) function, we experimented with how many times hetGetTimestamp(hetRAM1) counts per second. As a result, hetGetTimestamp(hetRAM1) counts 2000000 per second. So I thought I could use it with a count of 500ns. However, hetGetTimestamp(hetRAM1) needs to be initialized every second, that is, every 2000000 counts, but in order to initialize hetGetTimestamp(hetRAM1) correctly, a clock faster than the hetGetTimestamp(hetRAM1) clock is required. Therefore, I want to initialize hetGetTimestamp(hetRAM1) in a place that does not interfere with the CPU, but I do not know how to do it. If hetGetTimestamp(hetRAM1) can be initialized every 1 second, I think that 1us timer can be implemented by expressing the value as hetGetTimestamp(hetRAM1)/2.
Thanks for reading. Below is my code.


