diff options
author | Josh Blum <josh@joshknows.com> | 2012-07-19 13:24:42 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-07-19 13:24:42 -0700 |
commit | 9d0ce59f3c3be59165e348c3a9d4bc3429821dcc (patch) | |
tree | b232948abef1bbf9b1a53b068f95d1226b7d0563 /firmware/fx2/b100/usrp_common.c | |
parent | 1a22d8adc672dff633b5ea1d7b62dc3d6857c1cb (diff) | |
download | uhd-9d0ce59f3c3be59165e348c3a9d4bc3429821dcc.tar.gz uhd-9d0ce59f3c3be59165e348c3a9d4bc3429821dcc.tar.bz2 uhd-9d0ce59f3c3be59165e348c3a9d4bc3429821dcc.zip |
b100: firmware updates for next branch compatability
Diffstat (limited to 'firmware/fx2/b100/usrp_common.c')
-rw-r--r-- | firmware/fx2/b100/usrp_common.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/fx2/b100/usrp_common.c b/firmware/fx2/b100/usrp_common.c index a21353688..968b03d48 100644 --- a/firmware/fx2/b100/usrp_common.c +++ b/firmware/fx2/b100/usrp_common.c @@ -85,8 +85,8 @@ init_usrp (void) // set autoin length for EP6/EP8 EP6AUTOINLENH = (512) >> 8; SYNCDELAY; // this is the length for high speed EP6AUTOINLENL = (512) & 0xff; SYNCDELAY; - EP8AUTOINLENH = (32) >> 8; SYNCDELAY; - EP8AUTOINLENL = (32) & 0xff; SYNCDELAY; + EP8AUTOINLENH = (512) >> 8; SYNCDELAY; + EP8AUTOINLENL = (512) & 0xff; SYNCDELAY; //set FLAGA, FLAGB, FLAGC, FLAGD to be EP2EF, EP4EF, EP6PF, EP8PF PINFLAGSAB = (bmEP2EF) | (bmEP4EF << 4); @@ -99,13 +99,19 @@ init_usrp (void) EP6FIFOPFL = 0xFD; SYNCDELAY; + EP8FIFOPFH = 0x09; + SYNCDELAY; + EP8FIFOPFL = 0xFD; + SYNCDELAY; + // EP2FIFOPFH = 0x08; // SYNCDELAY; // EP2FIFOPFL = 0x00; // SYNCDELAY; //assert FIFOEMPTY one cycle sooner so we get it in time at the FPGA - EP2FIFOCFG |= bmBIT5; + EP2FIFOCFG |= bmBIT5; + EP4FIFOCFG |= bmBIT5; //set FIFOPINPOLAR to normal (active low) mode FIFOPINPOLAR = 0x00; |