sleep time is doubled, xilinx_zynq_zedboard

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Thu May 1 12:38:21 UTC 2014


Giovanni,

without knowing the BSP: You are talking about CPU clock, the macro is
call Periphclk. Can it be that the peripheral bus is clocked with half
of the CPU frequency?

wkr,

Thomas.

Am 01.05.2014 12:52, schrieb Giovanni Macciocu:
> I've made some tests by changing the value of  BSP_ARM_A9MPCORE_PERIPHCLK.
> The value should be 666666667U as this is my cpu clock speed. 
> 
> However in the following cases
> 
> #define BSP_ARM_A9MPCORE_PERIPHCLK (2 * 666666667U)
> 
> --> a Sleep now takes 4 times as long
> 
> #define BSP_ARM_A9MPCORE_PERIPHCLK 2 (666666667U / 2)
> 
> --> The sleep is now correct
> 
> In all cases the serial port keeps working at half of the normal buadrate.
> 
> Regards,
> 
> Giovanni
> 
>  
>>>> "Giovanni Macciocu" <G.Macciocu at sron.nl> 5/1/2014 10:53 AM >>> 
> In my bspopt.h
> 
> /* ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz */
> #define BSP_ARM_A9MPCORE_PERIPHCLK 666666667U
> 
> This is the correct processor speed for my platform.
>  
>>>> Chris Johns <chrisj at rtems.org> 5/1/2014 10:24 AM >>> 
> t you take a look at the BSPOPTS for the zync BSP. There are 
> some clocks you can set and one of these may help. I think 
> BSP_ARM_A9MPCORE_PERIPHCLK is the one.
> 
> Chris
> 
> 
> 
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
> 
> 
> 
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
> 


-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler
Dornierstr. 4
D-82178 Puchheim
Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18 94 741-12
Fax:   +49-89-18 94 741-09
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list