[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] CLOCK FREQ and TIMER configuration
I have problems with the timer configuration at
arch/microblaze/kernel/microblaze_timer.c
The value for CONFIG_XILINX_CPU_CLOCK_FREQ is 100000000, although the use of
DCM in the FPGA design changes the clock signal to 75000000. If the systems
boots with the original value, the timer goes faster than expected: a minute
is not 60 seconds but 80s. As I know the 100 should be 75, so I have changed
it, and instead of the behaviour expected the timer is now running two times
faster than expected.
After studying the code and the timer documentation, the configuration seems
to be ok for me. So I don't know what is happening.
However, if I set the CONFIG_XILINX_CPU_CLOCK_FREQ to 150000000 the timer
works fine.
Can any one show me the light?
Thanks.
--
Alejandro Lucero
OS3, OS Serveis i Solucions
www.os3sl.com
Ingeniería Informática
+34 665687168
Av.Benjamin Franklin
CEEI. Parque Tecnológico de Paterna
Valencia(Spain)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/