Skip to content

Commit

Permalink
CLOKOUT off by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicgs committed Feb 22, 2017
1 parent acaf0d1 commit 0a48dcc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions firmware/common/si5351c.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,10 @@ void si5351c_configure_clock_control(si5351c_driver_t* const drv, const enum pll

void si5351c_enable_clock_outputs(si5351c_driver_t* const drv)
{
#ifdef RAD1O
/* Enable CLK outputs 0, 1, 2, 4, 5 only. */
/* 7: Clock to CPU is deactivated as it is not used and creates noise */
/* 3: External clock output is deactivated as it is not used and creates noise */
/* 3: External clock output is deactivated by default */
uint8_t data[] = { 3, ~((1 << 0) | (1 << 1) | (1 << 2) | (1 << 4) | (1 << 5))};
#else
/* Enable CLK outputs 0, 1, 2, 3, 4, 5. */
/* 7: Clock to CPU is deactivated as it is not used and creates noise */
uint8_t data[] = { 3, ~((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5))};
#endif
si5351c_write(drv, data, sizeof(data));
}

Expand Down

0 comments on commit 0a48dcc

Please sign in to comment.