PCK0 Clock output on SAMA5D36 in U-BOOT

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

Posts: 7
Joined: Wed Oct 28, 2009 9:40 am

PCK0 Clock output on SAMA5D36 in U-BOOT

Mon Aug 01, 2016 11:46 am


I want to output a clock signal on PCK0 of a SAMA5D36 with a certain frequency (for instance bus-clock of 133 MHz) within U-Boot.

Therefore I enabled the PCK0 as PIO-B-peripheral:

at91_set_b_periph(AT91_PIO_PORTD, 30, 0);

But I dont have any glue how to go further.

Is there any driver facility in U-Boot for configuration of the PMC or do I have to do this handish?

Has someone some code examples?

Thanks and best regards,

Location: USA
Posts: 2128
Joined: Thu Apr 19, 2007 10:15 pm

Re: PCK0 Clock output on SAMA5D36 in U-BOOT

Tue Aug 02, 2016 7:48 pm

Take a look at the PMC example in the Atmel SoftPack for your SoC.


Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 2 guests