Skip to content
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


Num_iterations:

Count of packets to send

Preamble_size:

Length of preamble in octets

Fec_en:

Specifies if packet is uncoded or NRNSC encoded. Encoding applies to PHR+PSDU.

SFD=0x6f4e. Uncoded SFD=0x904e.

Dw:

Specifies if PN9 data whitening is applied to PSDU (PSDU is all that is after PHR)

Crc16:

Selects CRC32 or CRC16 calculation applied to end of PSDU (MFR).

Psdu_len:

Size of payload. Maximum is 2047 octets.

Delay_bytes:

This is inter-packet delay, the time between packets. Care must be taken not to overwhelm the receiving side with packets too fast.

Payload_type:

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.

Clone this wiki locally