WI.M900T Radiotronix, WI.M900T Datasheet - Page 13

no-image

WI.M900T

Manufacturer Part Number
WI.M900T
Description
RF Modules & Development Tools TRANSMIT ONLY VERS. OF WI.232DTS MODULE
Manufacturer
Radiotronix
Datasheet

Specifications of WI.M900T

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
WIM900T
Preliminary
Non-volatile memory
The on-board nonvolatile memory stores a 48-bit unique identification number and a
signed 8-bit calibration constant.
The calibration constant is used to correct the channel programming for offset error
caused by the reference crystal. The following code snippet shows how to use this
constant:
The channel programming word is determined by chanDTS[channel]. The calibration constant is
then read in using the I2C bus; it is stored in offset. The offset is then added to the channel
programming word and sent to the Wi.M900X/T module using the programming interface.
© 2004, 2005 All Rights Reserved
www.radiotronix.com
}
void halRFSetChan(byte chan)
{
}
XE_SCLK=1;
XE_SI=1;
XE_SCLK=0;
XE_EN=1;
XE_SCLK=1;
XE_SI=1;
XE_SCLK=0;
return
int
txword=chanDTS[chan];
rxword=chanDTS[chan];
// Read offset. If the XTCAL value is below min or above max, it will
// default to 0 (no offset).
// -------------------------------------------------------------------
offset = (int)i2cRead(NV_XTCAL);
if ((offset < XTCAL_LOWER_LIMIT) || (offset > XTCAL_UPPER_LIMIT))
// Set the transmit parameters
// ---------------------------
txword+=offset;
halRFWriteReg(rfrSWPARAMB_2,(byte)txword);
halRFWriteReg(rfrSWPARAMB_1,(byte)(txword>>8));
// Set the receive parameters
// --------------------------
rxword+=offset;
halRFWriteReg(rfrSWPARAMA_2,(byte)rxword);
halRFWriteReg(rfrSWPARAMA_1,(byte)(rxword>>8));
regdat;
offset, txword, rxword;
offset = 0;
Revision A
Preliminary
13

Related parts for WI.M900T