4432-DKDB2 Silicon Laboratories Inc, 4432-DKDB2 Datasheet - Page 66

WiFi / 802.11 Modules & Development Tools Single Antenna TRx Testcard Hi band

4432-DKDB2

Manufacturer Part Number
4432-DKDB2
Description
WiFi / 802.11 Modules & Development Tools Single Antenna TRx Testcard Hi band
Manufacturer
Silicon Laboratories Inc
Datasheet

Specifications of 4432-DKDB2

Modulation
GFSK
Operating Voltage
3.3 V
Antenna
SMA
For Use With/related Products
Si4432
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
SDBC-DK3 UG
66
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
RF_ENUM RFPacketReceived (uint8 * packet, uint8 * length)
{
}
+
+
+
+
+
+
+
+
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
// Check if IT occurred or not
FUNCTION NAME:
DESCRIPTION:
INPUT:
RETURN:
NOTES:
xdata uint8 i;
if( RF_NIRQ_PIN == 0 )
{
/* check what caused the interrupt */
}
return RF_NO_PACKET;
// read out IT status register
ItStatus1 = SpiRfReadRegister(InterruptStatus1);
ItStatus2 = SpiRfReadRegister(InterruptStatus2);
// packet received interrupt occurred
if( (ItStatus1 & 0x02) == 0x02)
{
}
// CRC ERROR interrupt occurred
if( (ItStatus1 & 0x01) == 0x01 )
{
}
// read buffer
*length = SpiRfReadRegister(ReceivedPacketLength) ;
for(i=0;i<*length;i++)
{
}
// disable receiver
SpiRfWriteAddressData((REG_WRITE | OperatingFunctionControl1), 0x01);
return RF_PACKET_RECEIVED;
// disable receiver
SpiRfWriteAddressData((REG_WRITE | OperatingFunctionControl1), 0x01);
return RF_CRC_ERROR;
RF_ENUM RFPacketReceived (uint8 * packet, uint8 * length)
Check whether the packet received or not.
Pointers for storing data and length
RF_PACKET_RECEIVED:
RF_NO_PACKET:
RF_CRC_ERROR:
*packet++ = SpiRfReadRegister(FIFOAccess);
Rev. 0.4
Packet received
Packet is not yet received
Received a packet with CRC error

Related parts for 4432-DKDB2