- 1 Terms and Definitions
- 2 References
- 3 Introduction
- 4 Background Concept
- 5 Detector Circuit
- 6 Power Amplifier
- 7 Digital Step Attenuator
- 8 Low Noise Amplifier
- 9 SLG46582V GreenPAK Schematic
- 10 IC Circuit Features
- 11 Operation
- 12 Pin Descriptions
- 13 Raspberry Pi Control Software
- 14 Measurements
- 15 Further Design Considerations
13 Raspberry Pi Control Software
A RaspberryPi software package has been written to allow monitor and control of the SLG46582 circuit described in this app note. The software allows the RaspberryPi’s GPIO pins to interconnect with the SLG46582V. The HighPower Assert and LNA Enable functions on pins 4 and 6 have been implemented. The High Power Enabled (Pin 10), LNA Enabled (Pin 18), LDO Fault (Pin1) and Overtemp (Pin 3) flags are all monitored. This software requires the WiringPi Libraries for proper operation. Please seehttp://wiringpi.comfor installation instructions.
的引脚分配RaspberryPi的商店wn in Figure 4 below.
For our circuit, WiringPi pin 0 (GPIO17) is the HP_Enable Pin. WiringPi pin 2 (GPIO27) is the LNA_Enable pin. For the monitoring side, WiringPi pin 4 (GPIO23) is the HP_Enabled flag. WiringPi pin 5 (GPIO24) is the LNA_Enabled flag. WiringPi pin 6 (GPIO25) is the Overtemp flag. WiringPi pin 27 (GPIO16) is the LDO_Fault flag.