2011-05-19 10:03:19     setting bfin simple timer period

Document created by Aaronwu Employee on Aug 27, 2013
Version 1Show Document
  • View in full screen mode

2011-05-19 10:03:19     setting bfin simple timer period

Chandrashekhar Lavania (INDIA)

Message: 100750   

 

Hi,

 

I am trying to set the period for the bfin_simple_timer by using the BFIN_SIMPLE_TIMER_SET_PERIOD ioctl.

 

I am using BF527, with 2010R1-RC5

 

My system clock is 100 MHz. Hence according to the BF52xHRM_Rev.1.0 the max period is according to the following formula:

 

max period = (2^32 -1)/(100 MHz) (formula is given on page 443 i.e Chap 10 page 3 of the HRM)

 

This comes out to be around 43 sec.

 

But, the max period I am able to set is around 43 msec.

 

 

 

Any idea what I am missing?  and is this normal behaviour?

 

 

 

Regards,

 

Shekhar

QuoteReplyEditDelete

Attachments

    Outcomes