Lantronix 900-691-R manual Serial Perpheral Interface SPI Settings, To Configure SPI Settings

Page 32

5: Interface Settings

Serial Perpheral Interface (SPI) Settings

SPI settings pertaining to the bus master device can be modified in the xPico Wi-Fi unit. SPI settings, like line settings, allow for the selection of a protocol to be used with SPI. Changes take effect immediately.

 

Table 5-2 SPI Configuration Settings

 

 

Line Settings

Description

Name

Enter a name or short description for the line, if desired. By default, there is

 

no name specified. This name is for display only.

 

 

State

Select to Enable or Disable the SPI.

 

 

Protocol

Select the operational protocol for connection to the SPI:

 

None: selects no application to connect to the SPI.

 

Monitor: selects Monitor application to connect to the SPI.

 

 

Target Speed

Set the target clock speed of the SPI in Hz (range is 234.375 KHz - 30 MHz).

 

The target speed may be lowered to the closest operating speed capability of

 

the device. If so, a warning will be noted. 0 or clearing the selection selects

 

the minimum speed.

 

 

Idle Clock Level

Select the level of the clock or clock polarity (CPOL) when the clock is idle:

 

Low: the idle clock is at a low level. This is equivalent to CPOL=0.

 

High: the idle clock is at a high level. This is equivalent to CPOL=1.

 

 

Clock Edge

Select the clock edge or clock phase (CPHA) for latching data:

 

First: each bit is latched on the first edge of the clock. This is equivalent to

 

CPHA=0.

 

Second: each bit is latched on the second edge of the clock. This is

 

equivalent to CPHA=1.

 

 

Bits Per Word

Select the number of bits per word to transfer. Choices in drop-down menu

 

are 8 or 16.

 

 

First Transfer

Select the first transfer bit of each word. Choicse in drop-down menu include:

 

Most Significant Bit

 

Least Signficant Bit

 

 

To Configure SPI Settings

Using Web Manager

To configure the SPI bus master device settings, click SPI in the menu and select Configuration.

Using CLI

To enter the SPI command level: config -> SPI

Using XML

Include in your file: <statusgroup name = "SPI" instance = "1">

xPico® Wi-Fi® Embedded Device Server User Guide

32

Image 32
Contents Embedded Device Server User Guide Warranty Intellectual PropertyContacts DisclaimerTable of Contents Interface Settings Tunnel SettingsConfigurable Pin Manager Services SettingsMaintenance and Diagnostics Settings Advanced SettingsBranding the xPico Wi-Fi Unit MonitorUpdating Firmware Appendix B WebAPI 100Appendix C Technical Support 103 105Appendix E Binary to Hexadecimal Conversions 112 XPico Wi-Fi Product Label List of FiguresList of Tables XPico Wi-Fi Embedded Device Server User Guide Using This Guide Purpose and AudienceSummary of Chapters Chapter DescriptionAdditional Documentation Document DescriptionKey Features IntroductionTroubleshooting Capabilities Protocol SupportProduct Information Label Configuration MethodsAddresses and Port Numbers XPico Wi-Fi Product Label Configuration Using Web Manager Accessing Web ManagerStatus StatusHelp Area Web Manager ComponentsNavigating Web Manager Web Manager Pages Web Manager Description SeeNetwork Settings Network 1 Interface ap0 ConfigurationTo Configure Network 1 Interface Settings Network Interface SettingsNetwork 1 ap0 Link Settings Network 1 ap0 Link SettingsNetwork 1 ap0 Link Description Settings To View Network 1 Interface StatusTo Configure Network 1 Link Settings To View Network 1 Link StatusMode UptimeNetwork Interface Description Settings Network 2 wlan0 Interface ConfigurationTo Configure Network 2 Interface Settings Network 2 wlan0 Link Status Wlan ProfilesTo View Network 2 Interface Status To View Network 2 Link StatusTo Configure Wlan Profiles To Configure Wlan Profile SettingsWlan Profile Basic Settings Description Creating, Deleting or Enabling Wlan ProfilesWlan Profile Security Settings Wlan Profile Description Security SettingsTo Configure Wlan Quick Connect Wlan Profile Advanced SettingsWlan Profile Advanced Settings Description Wlan Quick ConnectWlan Quick Connect Description Settings Wlan Quick ConnectScan network Ssid Network Name linkInterface Settings Line SettingsLine Configuration Settings Line Settings DescriptionTo Configure Line Settings Gap TimerTo View Line Status Xoff CharSPI Configuration Settings Serial Perpheral Interface SPI SettingsTo Configure SPI Settings To View SPI Status Tunnel Settings Line SettingsTo View Tunnel Serial Settings Tunnel Line SettingsTunnel Packing Mode Description Settings Packing ModeTunnel Packing Mode Settings To Configure Tunnel Packing Mode Settings Accept ModeTunnel Accept Mode Settings Tunnel Accept Mode Description SettingsTo Configure Tunnel Accept Mode Settings Tunnel Connect Description Mode Settings Connect ModeTunnel Connect Mode Settings To Configure Tunnel Connect Mode Settings Disconnect ModeTunnel Disconnect Mode Settings Tunnel Disconnect Description Mode SettingsModem Emulation Settings To Configure Tunnel Disconnect Mode SettingsModem Emulation Settings StatisticsCommand Description Tunnel SettingsModem Emulation Commands and Descriptions ATZ Configurable Pin Manager Configurable Pin StatusCurrent Configurable Pins CP StatusRoles Active in RoleCPM Role Current Description Configuration To Configure CPM SettingsRole Configuration Services Settings Http SettingsTo Configure Http Settings and Access Control Http SettingsTo View Http Status Maintenance and Diagnostics Settings File System SettingsFile System Statistics File DisplayDevice Settings Device Management SettingsFile Manipulation To Transfer or Modify File System FilesAdmin User Settings Admin UserTo Configure Admin User on the Device Diagnostics Settings To View Hardware StatusTo View IP Socket Status To View Buffer Pool StatusXML Import and XML Export Advanced SettingsTo Import or Export XML Configuration Modem Emulation Settings Description Performance SettingsPerformance Settings To Configure Performance Monitor Settings Monitor Explorer SettingsExplorer Settings Description MonitorRule Number DisplayConfiguration Monitor Initialization SettingsMonitor Control Settings Initialization Description SettingsMonitor Poll Settings Monitor Filter SettingsPoll Settings Description DelayTo Configure Monitor Monitor Data SettingsData Settings Description Selector NumberExample Data Capture on a Serial Device InitializationPolling Monitor Polling 1Filtering 10 Monitor Filtering 1Data Mining 12 Monitor Data Mining 1Presenting Data Capture on SPI Branding the xPico Wi-Fi Unit Web Manager CustomizationChanging the Presentation Path FormatOther Overridable Files Updating Firmware Obtaining Firmware Loading New Firmware through Web ManagerUpdating Firmware Appendix a Command Reference ConventionsXML Architecture and Device Control Convention DescriptionBoot to CLI Configuration Using Serial PortSerial Command Mode Using Keyboard Shortcuts and CLI Navigating the CLI HierarchyTable A-1 Keyboard Shortcuts Key Combination DescriptionUnderstanding the CLI Level Hierarchy Configuration Using XMLAppendix a Command Reference XML Configuration Record Document Type Definition Figure A-3 DTD for XCRsQuick Tour of XML Syntax DeclarationElement Start and End Tags Element AttributesRecord, Group, Item, and Value Tags Figure A-5 XML ExampleConfiggroup CPM XML for xPicoWi-Fi Embedded Device ServerConfiggroup Access Point Configgroup Http Server Configitem StateConfigitem Port Configitem Inactivity TimeoutConfigitem Dhcp Client Configgroup InterfaceConfigitem Access Control Configgroup Line Configitem Name Configitem ProtocolConfigitem Baud Rate Configitem ParityConfiggroup Performance Configgroup SPI Configitem Maximum Time Powered DownConfigitem Wkup Pin Power Up Configitem Time Powered UpConfiggroup Users Configgroup Wlan Profile Configitem InstanceConfigitem Password Configitem BasicConfiggroup XML Import Control Configgroup Modem Emulation Configgroup Monitor Initialization Value Length Configgroup Monitor ControlValue Timeout Configgroup Monitor Poll Configitem DelayConfiggroup Monitor Filter Configitem RuleConfiggroup Monitor Data Configgroup Tunnel AcceptConfigitem Selector Configitem Local PortConfigitem Start Character Configitem Flush Start CharacterConfigitem Flush Line Configitem Block LineConfiggroup Tunnel Line Configitem Block NetworkConfigitem Prompt for Password Configitem DTRValue Address Configgroup Tunnel ConnectConfigitem Host Configitem Connections Configitem Reconnect TimeValue Port Value ProtocolConfiggroup Tunnel Disconnect Configitem Stop CharacterConfigitem Flush Stop Character Configitem Modem ControlConfiggroup Tunnel Packing Configitem Send CharacterConfigitem Trailing Character Export Status Group Export Configuration GroupAppendix B WebAPI Take Status Action Appendix B WebAPIImport Configuration Group Curl example configuration as part of commandAppendix C Technical Support North AmericaEurope, Middle East, Africa Emea Japan Asia / Pacific ApacLatin America & Caribbean Online Country Specification Appendix D ComplianceTable D-1 Country Certifications Table D-2 Country Transmitter IDsTable D-3 Safety Table D-4 Europe EU Declaration of ConformityFederal Communication Commission Interference Statement Radiation Exposure StatementIndustry Canada Statement End Product LabelingManual Information To the End User Déclaration dexposition aux radiationsPlaque signalétique du produit final Manuel dinformation à lutilisateur final Antenna RequirementTable D-5 Approved Antennas List Type Gain BrandManufacturers Contact RoHS NoticeAppendix E Binary to Hexadecimal Conversions Converting Binary to HexadecimalConversion Table Scientific CalculatorAppendix E Binary to Hexadecimal Conversions