Problem in Creating Nano Secs Delay using 1768 in ISP mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem in Creating Nano Secs Delay using 1768 in ISP mode

857 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kishore reddy on Wed Jan 20 06:54:07 MST 2016
i am trying to create Nano secds delay, but i got delay in micro secds so, plz help me ...

Here i am not using PLL here...PCLK=12MHz.... suzzes me which values are Sutable for MR0 And PR0.....to create nano secands Delay...

my timer configurations are......

Original Attachment has been moved to: LCD_code__1768.rar

标签 (1)
0 项奖励
回复
2 回复数

809 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Thu Jan 21 00:51:15 MST 2016
:quest: 1 GigaHertz gives a period of 1 nanosecond... :~  So explain to me how you would reach a delay of 1 nano second with a clock of only 12MHz ?? :quest:
0 项奖励
回复

809 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Jan 20 07:16:01 MST 2016

Quote: kishore reddy
Here i am not using PLL here...PCLK=12MHz.... suzzes me which values are Sutable for MR0 And PR0.....to create nano secands Delay...



:quest:

Just use a prescaler of -83.3  :)
0 项奖励
回复