Other Parts Discussed in Thread: OMAPL138, AM5728
Dear all,
My platform is AM57x.
I want to write a code to access timer2 by dsp (c66).
Is any document or sample code for reference?
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.
Hi,
I download ti-processor-sdk-rtos-am57xx-evm-02.00.00.00-Linux-x86-Install.bin .
Any sample can be reference?
Hi Yordan,
22.2.4.6 part I already read, I will read again to find more information.
I just find the table 22-10 in am572x datasheet, it can "interrupt" by 37h, 2s, 500us, 62.5 us, but I want to increment (with 1) every 1us, not 1 second.
Because omapl138 have chained mode to set it, but I don't find the chained mode for my purpose in am572x datasheet.
I want to find the overall clocking diagram like omapl138 in am572x datasheet, but I don't find.
Do something I miss?
Hi,
descent sung said:I want to find the overall clocking diagram like omapl138 in am572x datasheet, but I don't find.
Do something I miss?
Please use AM57xx Clock Tree Tool & PRCM chapter in TRM:
Best Regards,
Yordan
Hi Yordan,
Regarding this 1us increment in counter issue, OMAPL138 uses chained mode to let the timer counters.
I cannot find this kind of feature in AM5728 GPTimer.
I checked the AM57GPEVM clocksource is default as below:
So I can only get a 50ns time period, and it will not get a 1us = 1000ns increment in TCRR even with the prescalers from 2 to 256.
50ns * 16 = 800ns
50ns * 32 = 1600ns
Am I right??
other clock sources is 22.5Mhz and 32.768Khz. All cannot match the 1Mhz clock with the divisor 2-256.
In conclusion,
Is this mean I have to use a external reference clock 0~3 for this application on AM5728 GPEVM? (1us incrementation of TCRR)
Please advise.
Thank you.