-
Notifications
You must be signed in to change notification settings - Fork 6
MR FSK source
dudmuck edited this page Nov 8, 2013
·
7 revisions
This block generates packed bytes conforming to IEEE-802.15.4g MR-FSK, intended to drive a digital modulator block.
Output bit rate is defined as: bitrate = sample_rate / samples_per_symbol
Count of packets to send
Length of preamble in octets
Specifies if packet is uncoded or NRNSC encoded. Encoding applies to PHR+PSDU.
SFD=0x6f4e. Uncoded SFD=0x904e.
Specifies if PN9 data whitening is applied to PSDU (PSDU is all that is after PHR)
Selects CRC32 or CRC16 calculation applied to end of PSDU (MFR).
Size of payload. Maximum is 2047 octets.
This is inter-packet delay, the time between packets. Care must be taken not to overwhelm the receiving side with packets too fast.
Some PHY tests require different types of payload.
- incrementing byte: first byte of payload 0x00, next 0x01, etc. bit order needs definition. Section 5.2 MAC frame formats seems to suggest LSbit first.
- CRC test: the payload 0x400056 as described in standard, used to validate CRC calculation. Forces PSDU length to 3 + MFR length
- PN9: PSDU contains the PN9 LFSR output. Shouldn't be used with whitening enabled, or have all zero payload.
- PN9 forever: For some RF tests. Transmits continuously LFSR output until program terminated.