mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:20:37 +02:00
atrf-txrx.c (enter_test_mode_231): disable CLKM in AT86RF231 test mode
According to the data sheet, it has to be enabled. The Software Model doesn't mention it. Experiments show that it's indeed useless and just adds noise.
This commit is contained in:
parent
cb7afe132d
commit
e90c59635b
@ -256,7 +256,7 @@ static void enter_test_mode_231(struct atrf_dsc *dsc, uint8_t cont_tx)
|
||||
atrf_reg_write(dsc, REG_IRQ_MASK, IRQ_PLL_LOCK); /* 2 */
|
||||
atrf_reg_write(dsc, REG_TRX_CTRL_1, 0); /* 3 */
|
||||
atrf_reg_write(dsc, REG_TRX_STATE, TRX_CMD_FORCE_TRX_OFF); /* 4 */
|
||||
atrf_reg_write(dsc, REG_TRX_CTRL_0, CLKM_CTRL_1MHz); /* 5 */
|
||||
/* deleted step 5 - we don't need to enable CLKM */
|
||||
|
||||
status = atrf_reg_read(dsc, REG_TRX_STATUS) & TRX_STATUS_MASK; /* 8 */
|
||||
if (status != TRX_STATUS_TRX_OFF) {
|
||||
|
Loading…
Reference in New Issue
Block a user