SPRAC94D September   2018  – March 2022 AFE030 , AFE031 , TMS320F28075 , TMS320F28075-Q1 , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S

 

  1.   Trademarks
  2. FSK Overview
  3. Hardware Overview
    1. 2.1 Block Diagram
    2. 2.2 Hardware Setup
  4. Interfacing With the AFE03x
    1. 3.1 Configuring the AFE031
  5. Transmit Path
    1. 4.1 FSK Example Specifications
    2. 4.2 PWM Mode
      1. 4.2.1 Software Implementation
      2. 4.2.2 Testing Results
      3. 4.2.3 HRPWM vs. EPWM
    3. 4.3 DAC Mode
      1. 4.3.1 Software Implementation
      2. 4.3.2 Testing Results
      3. 4.3.3 OFDM Ability
    4. 4.4 Porting TX to LAUNCHXL-F280049C
      1. 4.4.1 PWM Mode Specific Porting
      2. 4.4.2 DAC Mode Specific Porting
  6. Receive Path
    1. 5.1 Receive Path Overview
    2. 5.2 Receiver Software Implementation
      1. 5.2.1 Initial Setup and Parameters
      2. 5.2.2 Interrupt Service Routines
      3. 5.2.3 Run Time Operation
      4. 5.2.4 Testing Results
      5. 5.2.5 System Utilization
      6. 5.2.6 Device Dependency and Porting
    3. 5.3 Tuning and Calibration
      1. 5.3.1 Setting the AFE03X's PGAs
      2. 5.3.2 Automatic Gain Control (AGC)
      3. 5.3.3 Setting the Bit Detection Threshold
      4. 5.3.4 FSK Correlation Detector Library
    4. 5.4 Porting RX to LAUNCHXL-F280049C
  7. Interfacing With a Power Line
    1. 6.1 Line Coupling
    2. 6.2 Coupling to an AC Line
      1. 6.2.1 Low Voltage Capacitor
      2. 6.2.2 The Ratio of the Transformer
      3. 6.2.3 HV Capacitor
      4. 6.2.4 HV Side Inductor
    3. 6.3 Coupling to DC Line
    4. 6.4 Protection Circuit
      1. 6.4.1 Metal Oxide Varistors
      2. 6.4.2 Transient Voltage Suppressors
      3. 6.4.3 Current Steering Diodes
    5. 6.5 Determining PA Power Supply Requirements
  8. Summary
  9. References
  10. Schematics
    1. 9.1 Schematics (PWM Mode)
    2. 9.2 Schematics (DAC Mode)
  11. 10Revision History

Run Time Operation

During run time the receiver operates in the following way:

  1. The system will begins to continuously receive incoming data by starting the EPwms and CPU timer to trigger interrupts.
    1. Example Program Function: Start_Receiving();
  2. The ISRs will run until the full packet of data is received or the specified timeout is reached.
    1. The rxMessage[] buffer will be filled with the received bits while the ISRs are running
  3. Once the packet of data is received or the specified timeout is reached, the system will stop receiving data to reduce CPU utilization during quiet periods.
    1. Example Program Function: Stop_Receiving();
    2. The function stops the EPwms and stops and resets the CPU timer
  4. The received data is then packetized into the desired format.
    1. Example Program Function: Packetize(int message[], int packet[]);
    2. The function takes the rxMessage[] buffer containing 33 received bits and fills the packet[] buffer with three, 11 bit, words by summing up the received bits for each word. The rxMessage[] buffer contents are then set to zero.
      1. +1 equates to a W1 following the specs in Table 4-1
      2. -1 equates to a W0 following the specs in Table 4-1
    3. The function sums up the values of the packet[] and saves the sum to the packet_sum variable
      1. +3 equates to a packet_1 following the specs in Table 4-1
      2. -3 equates to a packet_0 following the specs in Table 4-1
  5. The packetized data is used before the receive process restarts.
    1. Example Program Function: Visual_Indication();
    2. The function causes the LEDs on the BOOSTXL-AFE031 to blink accordingly
      1. Blue LED blinks if a packet_1 was received
      2. Red LED blinks if a packet_0 was received
      3. Red and Blue LEDs blink if neither a packet_1 or packet_0 were received, or if a timeout occurs