1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 00:46:46 +02:00

Disable CLKM in atspi-txrx, to reduce interferences.

- atrf/tools/atspi-txrx/atspi-txrx.c: disable CLKM when sending or receiving
- TODO: minor edit, missed in last commit
This commit is contained in:
Werner Almesberger 2010-08-26 15:48:29 -03:00
parent 2406f674f5
commit 078ec875b6
2 changed files with 2 additions and 1 deletions

2
TODO
View File

@ -55,7 +55,7 @@ Things not done yet
- verify that the Ben can output an a) 16 MHz clock, and b) with +/- 40 ppm
- replace discrete balun and filter with integrated solution, to reduce BOM
size, maybe cost, insertion loss, and PCB space (see ECN0003)
size, maybe cost, insertion loss, and PCB space (see ATRF/ECN0003)
- check if we really need three DC blocking caps in the RF path

View File

@ -57,6 +57,7 @@ static usb_dev_handle *init_txrx(int trim)
atspi_reg_write(dev, REG_TRX_STATE, TRX_CMD_TRX_OFF);
atspi_reg_write(dev, REG_XOSC_CTRL,
(XTAL_MODE_INT << XTAL_MODE_SHIFT) | trim);
atspi_reg_write(dev, REG_TRX_CTRL_0, 0); /* disable CLKM */
return dev;
}