forked from M-Labs/artiq
1
0
Fork 0

firmware/hmc830: add VCO subsystem register 6 programming (suggested by hartytp, tested on hardware without regression)

This commit is contained in:
Florent Kermarrec 2018-05-24 16:49:49 +02:00
parent ad89c42acc
commit 353767bfdb
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ mod clock_mux {
mod hmc830 { mod hmc830 {
use board_misoc::{csr, clock}; use board_misoc::{csr, clock};
const HMC830_WRITES: [(u8, u32); 17] = [ const HMC830_WRITES: [(u8, u32); 18] = [
(0x0, 0x20), (0x0, 0x20),
(0x1, 0x2), (0x1, 0x2),
(0x2, 0x2), // r_divider (0x2, 0x2), // r_divider
@ -39,6 +39,7 @@ mod hmc830 {
(0x5, 0xe110), (0x5, 0xe110),
(0x5, 0x2818), (0x5, 0x2818),
(0x5, 0xf88), (0x5, 0xf88),
(0x5, 0x7fb0),
(0x5, 0x0), (0x5, 0x0),
(0x6, 0x303ca), (0x6, 0x303ca),
(0x7, 0x14d), (0x7, 0x14d),