MICROCHIP LX7730-SAMRH71F20 Sensors Demo User Guide

June 13, 2024
MICROCHIP

MICROCHIP LX7730-SAMRH71F20 Sensors Demo

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-product

Product Information:

The LX7730-SAMRH71F20 Sensors Demo is a demonstration of the LX7730 spacecraft telemetry manager being controlled by an SAMRH71F20 MCU. It includes various sensors such as pressure, light, accelerometer, temperature, and magnetic flux sensors. The demo board requires the NI Labview Run-Time Engine Installer to be installed on the computer.

The LX7730-SAMRH71F20 Sensors Demo User Guide provides instructions on installing the software, setting up the hardware, and operating the demo board.

Product Usage Instructions

Installing the Software:

  1. Check if you have the NI Labview Run-Time Engine Installer installed on your computer. If not, install it.
  2. If you’re unsure whether the drivers are already installed, run LX7730_Demo.exe. If you see an error message, it means the drivers are not installed and you need to install them.

Hardware Setup Procedure:

To set up the hardware for the LX7730-SAMRH71F20 Sensors Demo, follow these steps:

  1. Connect the LX7730 Daughter Board to the SAMRH71F20-EK Evaluation Kit using the LX7730-DB to SAMRH71F20-EK linker board.
  2. Program the SAMRH71F20-EK with the Sensor Interface binary.
  3. Connect the FTDI TTL-232R-3V3 USB-to-RS232 adapter cable.

Operation:

To operate the LX7730-SAMRH71F20 Sensors Demo, follow these steps:

  1. Power up the SAMRH71F20-EK.
  2. Run the LX7730_Demo.exe GUI on the connected computer.
  3. Select the COM port corresponding to the SAMRH71F20-EK from the drop-down menu and click connect.
  4. The GUI interface will display results for temperature, force, distance, magnetic field (flux), and light.
  5. Use the GUI interface to experiment with different sensors:
    • Temperature Sensor: Follow the instructions provided in section 3.1 of the user guide.
    • Pressure Sensor: Apply force to the pressure sensor and observe the output voltage in the GUI interface (section 3.2).
    • Distance Sensor: Move objects closer or farther from the distance sensor and check the sensed distance value in the GUI (section 3.3).
    • Magnetic Flux Sensor: Move a magnet closer or farther from the magnetic sensor and observe the sensed flux value in the GUI (section 3.4).
    • Light Sensor: Adjust the brightness of light around the sensor and check the sensed light value in the GUI (section 3.5).

Introduction

The LX7730-SAMRH71F20 Sensors Demo demonstrates the LX7730 spacecraft telemetry manager being controlled by an SAMRH71F20 (200 DMips Cortex M7 with 100krad TID capability) MCU.

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-1

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 connects to a SAMRH71F20-EK Evaluation Kit via a linker board. 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-SAMRH71F20-Sensors Demo-fig-2

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-SAMRH71F20-Sensors Demo-fig-3

Power up and program the SAMRH71F20-EK with the SAMRH71F20 Sensor Interface MPLAB binary, then power it down again.

Hardware Setup Procedure

You will need an LX7730 Daughter Board, a LX7730-DB to SAMRH71F20-EK linker board , a SAMRH71F20-EK Evaluation Kit programmed with the Sensor Interface binary, and an FTDI TTL-232R-3V3 USB-to-RS232 adapter cable in addition to the Sensors Demo board. Figure 4 below shows a LX7730-DB connected to a SAMRH71F20-EK with a linker board.

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-4

The hardware setup procedure is:

  • Start with the three 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)
  • Ensure that these are the only jumpers fitted on the linker board:
    • All 4 jumpers on header PL_SPIB. This routes the SPI interface from SAMRH71F20-EK to LX7730-DB
    • The PA10:CLK jumper on header PL_ETC. This routes a 500kHz clock from SAMRH71F20-EK to LX7730-DB
    • The PA9:RESET jumper on header PL_ETC. This routes a reset signal from SAMRH71F20-EK to LX7730-DB
    • Pins 2:3 (the left pair) on single-row header PL_Power. This selects the SAMRH71F20-EK as the source of 3.3V power to LX7730-DB, so the DC power connector on the linker board is not used
  • Plug the FTDI TTL-232R-3V3 USB-to-RS232 adapter cable onto the single-row header PL_UART on the linker board. Pin 1 (0V) takes the black lead (Figure 6 below). Only the GND, TXD, and RXD signals are used from the FTDI TTL-232R-3V3 adapter
  • Plug the linker board into the SAMRH71F20-EK using the 4 horizontal connectors
  • Plug the linker board into the LX7730-DB using the FMC-LPC connector
  • Connect the FTDI TTL-232R-3V3 USB-to-RS232 adapter to your PC via USB

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-5

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 7 below).

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-6

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.

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 9 below for RM = 10kΩ load.

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-7

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.

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.

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.

Equation 1. Light Sensor Lux to Voltage Characteristic

Table 1. Light Sensor

Lux Dark Resistance R d(k W ) 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

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-SAMRH71F20-Sensors Demo-fig-9

Schematic

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-10

PCB Layout

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-11

PCB Parts List

Assembly notes are in blue.

Table 2. Bill of Materials

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-12 MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-13

Revision History

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-14

Revision History

Revision 1 – May 2023

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, SAM-BA, 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

MICROCHIP-LX7730-SAMRH71F20-Sensors Demo-fig-15

© 2022 Microchip Technology Inc.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals