Date:2011-01-12 23:23:53 (8 years 9 months ago)
Author:Werner Almesberger
Commit:e90c59635b749407766a2af190ac5b0a3b41f0a8
Message: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.
Files: tools/atrf-txrx/atrf-txrx.c (1 diff)

Change Details

tools/atrf-txrx/atrf-txrx.c
256256    atrf_reg_write(dsc, REG_IRQ_MASK, IRQ_PLL_LOCK); /* 2 */
257257    atrf_reg_write(dsc, REG_TRX_CTRL_1, 0); /* 3 */
258258    atrf_reg_write(dsc, REG_TRX_STATE, TRX_CMD_FORCE_TRX_OFF); /* 4 */
259    atrf_reg_write(dsc, REG_TRX_CTRL_0, CLKM_CTRL_1MHz); /* 5 */
259    /* deleted step 5 - we don't need to enable CLKM */
260260
261261    status = atrf_reg_read(dsc, REG_TRX_STATUS) & TRX_STATUS_MASK; /* 8 */
262262    if (status != TRX_STATUS_TRX_OFF) {

Archive Download the corresponding diff file



interactive