TX2440 看手册学习2440-RTC的设置(ADS1.2编译)
上图:
tcls=tals>=12ns;tclh=talh>=12ns;twp=trp>=5ns
HCLK=100M时,周期10ns:
1)TACLS=0 , TWRPH0=0,TWRPH1=0
0+10 < 12ns;10<12ns;10>5ns (错误)
2)TACLS=1 , TWRPH0=0,TWRPH1=0
10+10 >12ns;10<12ns;10>5ns (错误)
3)TACLS=0 , TWRPH0=1,TWRPH1=0
0+20 >12ns;20<12ns;10>5ns (正确)
HCLK=110M时,周期9.1ns:
1)TACLS=0 , TWRPH0=1,TWRPH1=0
0+18.2 >12ns;18.2>12ns;10>5ns (正确)
HCLK=200M时,周期5ns:
1)TACLS=1 , TWRPH0=1,TWRPH1=0
5+10 >12ns;10<12ns;5>=5ns (错误)