Difference between revisions of "TS-RF2-ZIGBEE"
(→IRQ Selection: IRQ 6 is JP3-on JP4-off.)
|Line 78:||Line 78:|
Latest revision as of 17:53, 22 March 2013
1 Download required software
You will first need to obtain the TS-UART loader:
You will need to compile the tsuart-rf.c kernel module, or else download the pre-compiled module (if available).
2 Installing the driver
Next install the module in the appropriate location for your distribution. Typically this will involve copying the .o files the somewhere in the /lib/modules directory, and possibly running a utility such as depmod to bring your module list up to date. Please consult the documentation for the distribution you are using for further information.
Note: If all else fails, you can always run the following command in the directory the module is stored in:
|Note:||The tsuart0.o module must be loaded before the above loader module can successfully run. If you are using a module dependency program such as modprobe these dependencies should be resolved for you automatically.|
3 Communicating wirelessly using the XBEE device
Once loaded, a new TS-UART device file will appear in /dev. The exact name of this file will depend on the the number of TS-UARTs already loaded on your system, but the name of the driver will be of the form:
where x is an integer denoting the order in which the driver was loaded.
Communication with the Digi device defaults to transparent serial mode. If you have two units operational with a terminal emulation program running on both unit you should be able to verify operation by pointing both programs to use the appropriate ttyTS entry, and then typing on either side. Please consult the XBEE documentation for more information on Maxstream specific features which can be invoked using AT commands.
4 IO Selection
5 IRQ Selection
|Off||Off||N/A (Will not work)|