Hi Zuopeng,
First of all, sorry about the delayed response, your post kind of fell through the cracks.
At what frequency are you running the TCI6488? Can you describe the error you are receiving?
The clock module will check the tasks pending for execution on every clock tick (every 5 us). It is possible that you are spending too much time servicing the clock tick and not enough time running your tasks.
[quote user="Zuopeng ZHANG"]
PS: When debugging, I also found something related: after moving 2 of my project's files(not TI files) from DDR to L2, 8us can work , but less than 5us will casue error too.
[/quote]
This makes perfect sense, if your application is very large, it is likely it will not fit entirely in L2, so portions may need to be retrieved from DDR. Reading from DDR introduces additional delays.
Does your entire application require a clock tick of 5 us? If you just need a particular task to run after 5 us, you might want to look at using another time on the device to provide you with the proper delay.
Regards,
-- Emmanuel