DogEars
Posts: 44
Joined: Sun Jun 17, 2012 1:16 pm

Does the BUSY flag work for the Clock Control Registers?

Thu Jul 19, 2012 1:21 pm

The docs suggest that certain registers shouldn't be messed with if the BUSY flag is set. I've tried disabling the General Purpose clocks, but the busy flag is always set.

See page 107.

Cheers,
Graeme.

DogEars
Posts: 44
Joined: Sun Jun 17, 2012 1:16 pm

Re: Does the BUSY flag work for the Clock Control Registers?

Sun Jul 22, 2012 2:17 pm

Someone must know?

Please :o).
Graeme.


Serac
Posts: 124
Joined: Wed Jul 18, 2012 2:49 pm

Re: Does the BUSY flag work for the Clock Control Registers?

Wed Oct 03, 2012 12:51 am

Try writing 0x5a10 to the CM_GP[0|1|2]CTL register. Wait for a short period before reading the BUSY flag - If I read the docs correctly, this should stop the clock at the end of the current count and avoid any output glitches, hence the wait before reading the BUSY flag.

The Broadcom docs are somewhat terse, misses a few bits of information, and in places, contains errors. The errors are mainly typos, but I suspect one or two gaffs are included...

Return to “Interfacing (DSI, CSI, I2C, etc.)”