bcp_vpll_init.tst
445 Bytes
//
// Set up the video PLL - this is for NTSC: m=34, n=5, p=2, S=1, VNTPL=1
// NOTE: DAC is not powered up, video encoder is not reset properly
//
t 103 0x04300030 0x00114245 0x00114245 0x0
//
t 103 0x04300030 0x00114244 0x00114244 0x0
//
// Wait 37 uSec for PLL to produce a clock - number is chosen to
// work up to 100 MHz => 3700 clocks
t 014 0E80 0 0 0
//
// Now take the ai and vi out of reset
t 103 0x04300030 0x02114244 0x02114244 0x0