MICROCHIP LX7730-RTG4 Mi-V Sensors Demo User Guide

June 16, 2024
MICROCHIP

LX7730 -RTG4 Mi-V Sensors Demo User Guide

Introduction

The LX7730-RTG4 Mi-V Sensors Demo demonstrates the LX7730 spacecraft telemetry manager being controlled by an RTG4 FPGA implementing the CoreRISCV_AXI4 softcore processor, part of the Mi-V RISC-V Ecosystem. Documentation for CoreRISCV_AXI4 is available on GitHub.

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A1
Figure 1. LX7730-RTG4 Mi-V Sensors Demo System Diagram

  1. SPI frequency = 5MHz
  2. Baud Rate = 921600 bits/sec

The LX7730 is a spacecraft telemetry manager that contains a 64 universal input multiplexer that can be configured as a mix of differential- or single- ended sensor inputs. There is also a programmable current source that can be directed to any of the 64 universal inputs. The universal inputs can be sampled with a 12-bit ADC, and also feed bi-level inputs with the threshold set by an internal 8-bit DAC. There is an additional 10-bit current DAC with complementary outputs. Finally, there are 8 fixed threshold bi-level inputs.

The demo comprises a small PCB containing 5 different sensors (Figure 2 below) that plugs into LX7730 Daughter Board, The daughter board in turn plugs directly into the RTG4 Dev Kit via FMC connectors on both development boards. The demo reads data from the sensors (temperature, pressure, magnetic field strength, distance, and 3-axis acceleration), and displays them on a GUI running on a Windows PC.

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A2
Figure 2. Sensors Demo Board with (from left to right) pressure, light, and accelerometer sensors

1 Installing the Software

Install the NI Labview Run-Time Engine Installer if not already present on your computer. If you’re not sure whether you have the drivers installed already, then try running LX7730_Demo.exe. If an error message appears as below, then you don’t have the drivers installed and need to do so.

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A3
Figure 3. Labview Error Message

Power up and program the RTG4 board with LX7730_Sensorinterface_MIV.stp binary, then power it down again.

2 Hardware Setup Procedure

You will need an LX7730 Daughter Board and an RTG4 FPGA DEV- KIT in addition to the Sensors Demo board. Figure 4 below shows a LX7730-DB connected to a RTG4 DEV-KIT via FMC connectors.

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A4
Figure 4. RTG4 DEV-KIT (left) and LX7730-DB with grand-daughter board (right)

The hardware setup procedure is:

  • Start with the two boards unplugged from each other
  • On the LX7730-DB, set the SPI_B slide switch SW4 to the left (LOW), and set the SPI_A slide switch SW3 to the right (HIGH) to select the SPIB serial interface. Ensure that the jumpers on the LX7730-DB are set to the defaults shown in the LX7730-DB user guide
  • Fit the Sensors Demo board to the LX7730-DB, removing the grand-daughter board first (if fitted). Demo board connector J10 plugs into LX7730-DB connector J376, and J2 fits in the top 8 rows of connector J359 (Figure 5 below)
  • Fit the Sensors Demo board to the LX7730 Daughter Board. Demo board connector J10 plugs into LX7730 Daughter Board connector J376, and J2 fits in the top 8 rows of connector J359
  • Plug the LX7730 Daughter Board into the RTG4 board using the FMC connectors
  • Connect the RTG4 board to your PC via USB

Figure 5. Location of Mating Connectors J376, J359 on the LX7730 Daughter Board for the Sensors Demo board

3 Operation

Power up the SAMRH71F20-EK. The LX7730-DB gets its power from the SAMRH71F20-EK. Run the LX7730_Demo.exe GUI on the connected computer. Select the COM port corresponding to the SAMRH71F20-EK from the drop down menu and click connect. The first page of GUI interface shows results for temperature, force, distance, magnetic field (flux), and light. The second page of the GUI interface shows results from the 3-axis accelerometer (Figure 6 below).

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A6
Figure 6. GUI interface

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A7
Figure 7. Location of the 6 Sensors

3.1 Experimenting with the Temperature Sensor:

Change the temperature in the range 0°C to +50°C around this sensor. The sensed temperature value will be shown in the GUI.

3.2 Experimenting with the Pressure Sensor

Press the round tip of the pressure sensor to apply a force. The GUI will show the resultant output voltage, per Figure 8 below for RM = 10kΩ load.

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A8
Figure 8. FSR 400 Resistance vs Force and Output Voltage vs Force for Various Load Resistors

3.3 Experimenting with the Distance Sensor

Move objects away or close (10cm to 80cm) to the top of the distance sensor. The sensed distance value will be shown in the GUI.

3.4 Experimenting with the Magnetic Flux Sensor

Move a magnet away or close to the magnetic sensor. The sensed flux value will be shown in the GUI in the range -25mT to 25mT.

3.5 Experimenting with the Light Sensor

Change the brightness of light around the sensor. The sensed light value will be shown in the GUI. The output voltage VOUT range is 0 to 5V (Table 1 below) following Equation 1.

VOUT = 5×  10000/10000 + Rd V

Equation 1. Light Sensor Lux to Voltage Characteristic

Table 1. Light Sensor

Lux Dark Resistance R d(kΩ)  V OUT
0.1 900

0.05

1

| 100| 0.45
10| 30|

1.25

100

| 6| 3.125
1000| 0.8|

4.625

10,000

| 0.1|

4.95

3.6 Experimenting with the Acceleration Sensor

The 3-axis accelerometer data is displayed in the GUI as cm/s², where 1g = 981 cm/s².

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A9
Figure 9. Accelerometer response with respect to orientation to gravity

  1. GRAVITY
4 Schematic

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A10
Figure 10. Schematic

5 PCB Layout

MICROCHIP LX7730-RTG4 Mi-V Sensors Demo A11
Figure 11. PCB top layer and top components, bottom layer and bottom components (bottom view)

6 PCB Parts List

Assembly notes are in blue.

Table 2. Bill of Materials

Designators Part Quantity Part Type
C1, C2, C3, C4, C5, C6 10nF/50V-0805 (10nF to 1µF acceptable) 6 Capacitor

MLCC
C7, C8| 1µF/25V-0805 (1µF to 10µF acceptable)| 2| Capacitor MLCC
J2, J10| Sullins PPTC082LFBN-RC

| 2| 16 position header 0.1″

These fit to the underside of the PCB

R1, R2| 10kΩ| 2| Resistor 10kΩ 1% 0805
P1| Sharp GP2Y0A21

| 1| Optical Sensor 10 ~ 80cm Analog Output

Remove the white 3-pin plug, and solder directly to the PCB with 3 wires

P2| SparkFun SEN-09269

| 1| ADI ADXL335, ±3g 3 Axis Accelerometer on PCB
Molex 0022102051

| 1| Square pin header 5 position 0.1″

Solder to the underside of the accelerometer board, from VCC to Z. The ST hole is unused

SparkFun PRT-10375

| 1| 5 way 12″ ribbon cable 0.1″

Cut off one connector, and replace with five crimped terminals fitted into the polarized 5 position housing.

The original, unpolarized housing plugs into the accelerometer board, with the red wire at VCC and blue wire at Z

Molex 0022013057

| 1| Housing polarized 5 position 0.1″
Molex 0008500113

| 5| Crimp connector
Molex 0022232051

| 1| Connector polarized 5 position 0.1″

Solder to the underside of the PCB, with orientation such that the red wire will be at the P2 end when the 5 way ribbon cable is fitted

P3| TI DRV5053

| 1| Hall Effect Sensor Single Axis TO-92

Fit with flat face facing outward. The PCB ‘D’ outline is wrong

P4| TI LM35

| 1| Temperature Sensor Analog, 0°C ~ 100°C 10mV/°C TO-92

Follow the PCB ‘D’ outline

P5| Interlink 30-49649

| 1| Force/Pressure Sensor – 0.04-4.5LBS
Molex 0016020096

| 2| Crimp connector

Crimp or solder a terminal to each Force/Pressure Sensor wire

Molex 0050579002

| 1| Housing 2 position 0.1″

Fit the Force/Pressure Sensor’s terminals into the outer two positions

Molex 0022102021

| 1| Square pin header 2 position 0.1″

Solder to the topside of the PCB

P6| Advanced Photonix PDV-P7002

| 1| Light Dependent Resistor (LDR)
Molex 0016020096

| 2| Crimp connector

Crimp or solder a terminal to each LDR wire

Molex 0050579003

| 1| Housing 3 position 0.1″

Fit the LDR’s terminals into the outer two positions

Molex 0022102031

| 1| Square pin header 3 position 0.1″

Remove middle pin. Solder to the topside of the PCB

U1| On Semi MC7805CD2T

| 1| 5V 1A Linear Voltage Regulator

7 Revision History
7.1 Revision 1 – May 2023

First release.

The Microchip Website

Microchip provides online support via our website at https://www.microchip.com. This website is used to make files and information easily available to customers. Some of the content available includes:

  • Product Support ­- Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
  • General Technical Support – ­ Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip design partner program member listing
  • Business of Microchip – ­ Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives
Product Change Notification Service

Microchip’s product change notification service helps keep customers current on Microchip products. Subscribers will receive email notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.

To register, go to https://www.microchip.com/pcn and follow the registration instructions.

Customer Support

Users of Microchip products can receive assistance through several channels:

  • Distributor or Representative
  • Local Sales Office
  • Embedded Solutions Engineer (ESE)
  • Technical Support

Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in this document.

Technical support is available through the website at: https://microchip.my.site.com/s

Microchip Devices Code Protection Feature

Note the following details of the code protection feature on Microchip devices:

  • Microchip products meet the specification contained in their particular Microchip Data Sheet
  • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions
  • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property
  • Microchip is willing to work with the customer who is concerned about the integrity of their code.
  • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Legal Notice

Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications.

MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.

Trademarks

The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAMBA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet- Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries.

GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.

All other trademarks mentioned herein are property of their respective companies.

© 2022, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Quality Management System

For information regarding Microchip’s Quality Management Systems, please visit https://www.microchip.com/quality.

Worldwide Sales and Service
AMERICAS

Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
https://microchip.my.site.com/s
Web Address:
https://www.microchip.com
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Austin, TX
Tel: 512-257-3370
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Novi, MI
Tel: 248-848-4000
Houston, TX
Tel: 281-894-5983
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800
Raleigh, NC
Tel: 919-844-7510
New York, NY
Tel: 631-435-6000
San Jose, CA
Tel: 408-735-9110
Tel: 408-436-4270
Canada – Toronto
Tel: 905-695-1980
Fax: 905-695-2078

ASIA/PACIFIC

Australia – Sydney
Tel: 61-2-9868-6733
China – Beijing
Tel: 86-10-8569-7000
China – Chengdu
Tel: 86-28-8665-5511
China – Chongqing
Tel: 86-23-8980-9588
China – Dongguan
Tel: 86-769-8702-9880
China – Guangzhou
Tel: 86-20-8755-8029
China – Hangzhou
Tel: 86-571-8792-8115
China – Hong Kong SAR
Tel: 852-2943-5100
China – Nanjing
Tel: 86-25-8473-2460
China – Qingdao
Tel: 86-532-8502-7355
China – Shanghai
Tel: 86-21-3326-8000
China – Shenyang
Tel: 86-24-2334-2829
China – Shenzhen
Tel: 86-755-8864-2200
China – Suzhou
Tel: 86-186-6233-1526
China – Wuhan
Tel: 86-27-5980-5300
China – Xian
Tel: 86-29-8833-7252
China – Xiamen
Tel: 86-592-2388138
China – Zhuhai
Tel: 86-756-3210040
India – Bangalore
Tel: 91-80-3090-4444
India – New Delhi
Tel: 91-11-4160-8631
India – Pune
Tel: 91-20-4121-0141
Japan – Osaka
Tel: 81-6-6152-7160
Japan – Tokyo
Tel: 81-3-6880- 3770
Korea – Daegu
Tel: 82-53-744-4301
Korea – Seoul
Tel: 82-2-554-7200
Malaysia – Kuala Lumpur
Tel: 60-3-7651-7906
Malaysia – Penang
Tel: 60-4-227-8870
Philippines – Manila
Tel: 63-2-634-9065
Singapore
Tel: 65-6334-8870
Taiwan – Hsin Chu
Tel: 886-3-577-8366
Taiwan – Kaohsiung
Tel: 886-7-213-7830
Taiwan – Taipei
Tel: 886-2-2508-8600
Thailand – Bangkok
Tel: 66-2-694-1351
Vietnam – Ho Chi Minh
Tel: 84-28-5448-2100

EUROPE

Austria – Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark – Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
Finland – Espoo
Tel: 358-9-4520-820
France – Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany – Garching
Tel: 49-8931-9700
Germany – Haan
Tel: 49-2129-3766400
Germany – Heilbronn
Tel: 49-7131-72400
Germany – Karlsruhe
Tel: 49-721-625370
Germany – Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Germany – Rosenheim
Tel: 49-8031-354-560
Israel – Ra’anana
Tel: 972-9-744-7705
Italy – Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Italy – Padova
Tel: 39-049-7625286
Netherlands – Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Norway – Trondheim
Tel: 47-72884388
Poland – Warsaw
Tel: 48-22-3325737
Romania – Bucharest
Tel: 40-21-407-87-50
Spain – Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
Sweden – Gothenberg
Tel: 46-31-704-60-40
Sweden – Stockholm
Tel: 46-8-5090-4654
UK – Wokingham
Tel: 44-118-921-5800
Fax: 44-118-921-5820

© 2022 Microchip Technology Inc.

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

MICROCHIP User Manuals

Related Manuals