This document describes the M68/M64, a family of Network Synchronization
based on the Silicon Labs AccuTime™ technology. Besides its local oscillator, these modules can use multiple reference time and
frequency sources to generate precision time and frequency including PPS and ToD as well as IEEE Std 1588-2008. IEEE Std
1588-2008 defines the Precision Time Protocol (PTP) version 2
(PTPv2). In this manual, we will use PTP to refer to this standard.
They implement both a Grandmaster and an Ordinary PTP clock.
The M68 is a superset of the M64 and also implements both a
transparent or boundary clock.
The M68/M64 features full connectivity to gigabit networks with wirespeed passthrough technology allowing for new applications.
This document describes how to design with the M68/M64 module and how to use it in
an embedded application. The integration section includes the pinout of the module
and other physical aspects like the options of power supply. It also describes how to
connect the necessary key components which are a prerequisite for proper operation.
This document applies to software Release 3.0 of the M64/M68. Modules can be updated to Release 3.0 by following the directions in 23. Appendix 8: Firmware Upgrade.
Modules for packet network timing applications
KEY FEATURES
• Low power microprocessor technology
with hardware timestamping
•
8 Mbytes SDRAM memory, 2 Mbytes flash
memory
• 10/100/1000 Ethernet PHY
• RGMII interface to Host, or to an external
PHY
• Timing interface including PPS, TOD,
syntonized frequency
• Comprehensive IEEE 1588-2008
implementation and SyncE support
• Communication servers for serial ports,
Telnet and SSH
• Edge pads for surface mount to host
boards
• RoHS compliant
• Built-in SNTP server
• Wirespeed pass-through eliminating the
need for a switch in many applications
silabs.com | Building a more connected world.Rev. 0.1
Table of Contents
General Description .............................8
silabs.com | Building a more connected world.Rev. 0.1 | 7
M68/M64 Module Data Sheet
General Description
1. General Description
This section shows the M68/M64 module in approximately two times the actual size. The M68 adds an oscillator to the module.
Figure 1.1. Top Side and Bottom Side Views
1.1 Key Feature
•
Low power microprocessor technology with hardware timestamping
• 8 Mbytes SDRAM memory, 2 Mbytes flash memory
• 10/100/1000 Ethernet PHY with full PTP functionality
• RGMII interface to Host, or to an external PHY. For the M68 this includes full PTP functionality.
• Timing interface including PPS, TOD, syntonized frequency
• Comprehensive IEEE 1588-2008 implementation and SyncE support
• Communication servers for serial ports, Telnet and SSH
• Edge pads for surface mount to host boards
• RoHS and WEE compliant
• Built-in SNTP server
• Wirespeed pass-through eliminating the need for a switch in many applications
1.2 Host Interface
The RGMII Host Interface of the module is intended to be connected directly to a generic RGMII interface offered by the host, or an
RGMII PHY. The designer can choose voltage levels for adaptation to his RGMII port of the host system.
For applications with host processors offering only an SGMII interface, a PHY IC such as the 88E1512 from Marvell that converts between SGMII and RGMII needs to be added.
1.3 Communication Interfaces
The M68/M64 offers three asynchronous serial ports besides the two Ethernet ports. Advanced users with the Development Kit will also
have access to other serial and parallel interfaces including an analog section to connect to other peripherals outside the module.
1.4 JSON Machine-to-Machine Communications
New with Firmware release 3.0 is the addition of JavaScript Object Notation (JSON) structured configuration information. This greatly
simplifies the development of software on host systems to interface with the M64/M68.
silabs.com | Building a more connected world.Rev. 0.1 | 8
1.5 Block Diagram
M68/M64 Module Data Sheet
General Description
Figure 1.2. M68/M64 Block Diagram
silabs.com | Building a more connected world.Rev. 0.1 | 9
M68/M64 Module Data Sheet
Packaging
2. Packaging
2.1 Dimensions
The module dimensions match the standard for a LGA-84 package, with exception for the height. The height varies over the module
surface, with maximum and minimum values given below.
When soldered directly to the motherboard, the module’s distance to that board depends on the amount of solder used but can usually
be considered to be zero.
Figure 2.1. Dimensions for M68/M64 (unit: mm)
Note: The height may vary with component vendor specification.
2.2 Recommended Land Pattern
This is the recommended PCB land pattern for direct soldering of the M68/M64 module to a host board for all designs.
Figure 2.2. Recommended Land Pattern (unit: mm)
silabs.com | Building a more connected world.Rev. 0.1 | 10
M68/M64 Module Data Sheet
2.3 Soldering and Handling
the M68/M64 is a RoHS-compliant device, it is designed to tolerate lead-free soldering processes. The diagram below shows the
Since
recommended soldering profile for the device.
Packaging
Figure 2.3. Reflow Soldering Profile
The M68/M64 is classified as MSL 3.
2.4 Tape and Reel
M68/M64 is delivered on tape and reel and this section describes the orientation of the LGA components and the tape used for its
The
packaging.
silabs.com | Building a more connected world.Rev. 0.1 | 11
2.4.1 Pin 1 Orientation
Part orientation for tape and reel is illustrated below. The Pin 1 marker is between quadrants 3 and 4.
M68/M64 Module Data Sheet
Packaging
silabs.com | Building a more connected world.Rev. 0.1 | 12
2.4.2 Tape and Reel Specification
M68/M64 Module Data Sheet
Packaging
PackageTape width
(mm)
Pitch
(mm)
Reel size
(mm)
Devices
per reel
LGA844436330250
silabs.com | Building a more connected world.Rev. 0.1 | 13
M68/M64 Module Data Sheet
LED Description
3. LED Description
The module has two on-board LEDs. See 19. Appendix 4: Troubleshooting LED Error Codes for more information. One LED is green
which shows the status of the boot sequence. This LED can be controlled by the user using firmware. The other LED is red and will light
up briefly at the start-up of the system. If the red LED keeps being lit, the system is not operating properly. This LED is not user controllable.
silabs.com | Building a more connected world.Rev. 0.1 | 14
M68/M64 Module Data Sheet
Pin List
4. Pin List
The term “pin” used in the following table and throughout this document refers to one of the 84 pads on the bottom side of the module.
Pin 1 is located in the middle of the left side of the module when viewed from the top, see Figure 2.1 Dimensions for M68/M64 (unit:
mm) on page 10. The rest of the pins are enumerated counter-clockwise around the module from this pin.
The codes in the Type column below are: I for Input, O for Output, B for Bidirectional, P for Power, (PU) for Pull Up, and (PD) for Pull
Down.
Most pins have 3.3 Volts signaling levels. In the Description column pins not belonging to the 3.3 Volts region, e.g., those pins powered
by the External RGMII interface, are noted.
Pin GroupPin #Pin NameTypeDescription
RGMII2MIRQ0IExt. GbE PHY Interrupt
Powered by VCC_RGMII
3MCKOUT1O25 MHz Clock.
3.3 Volts output.
Not suitable for clocking external
PHY.
Misc.4MRXOUTORTC test / Active high power supply
wake-up output
5MWAKEI (PD)Active high wake-up input
Clock6CPUCLKIExternal clock input (1.8 V level)
Misc.7MRSTOUTOActive low reset output
Time8TODINITime of day in
9TODOUTOTime of day out
GPIO10PF2BPort F GPIO
11PF1B
12PF5B
13PF4B
14PF7B
15PF0B
16PF3/LOCKB
17PF6B
Analog19-21, 23ACH0-ACH2, ACH3IAnalog to Digital Converter multi-
plexer inputs
24, 25AOUT0, AOUT1ODigital to Analog Converter outputs
26EXTREFIOptional external voltage reference
input for ADC
GPIO/Async.
Serial ports
silabs.com | Building a more connected world.Rev. 0.1 | 15
Time & Frequency66FREQOUT_2OSecondary Frequency out. Identical
signal to FREQOUT
67FREQOUTOFrequency out
68PPSINIPulse per second in
69PPSOUTOPulse per second out
RGMII
70PB1_MDIOBExt. GbE PHY Control (MDIO)
Powered by VCC_RGMII
All pins Powered
71PB2_MDCOExt. GbE PHY Control (MDC)
by VCC_RGMII
Supply
73,74TXD0-TXD1OTX Data
Powered by VCC_RGMII
75TX_CTLORGMII control
76TX_CLKOTX Clock
77,78TXD2-TXD3OTX Data
79-80RXD0-RXD1IRX Data
81RX_CTLIRGMII control
82RX_CLKIRX Clock
83,84RXD2-RXD3IRX Data
silabs.com | Building a more connected world.Rev. 0.1 | 16
Pin GroupPin #Pin NameTypeDescription
M68/M64 Module Data Sheet
Pin List
Supply1,22,
GNDPGround
43,64
18VBATP3V battery backup
60VCC33P3.3V power supply
61VCC25P2.5V power supply
Can be connected to 3.3 V power
supply at the cost of slightly higher
power consumption.
63VCC18P1.8V power supply
65VCC12P1.2V power supply
72VCC_RGMIIPRGMII power supply. Connect to
same voltage as the external PHY.
4.1 Pin Descriptions
Here are pin descriptions for designing with the module.
4.1.1 Analog Control of Oscillator
• (M68) AOUT1: Analog output used for controlling the frequency of the crystal oscillator. If an external voltage controlled frequency
source is used, this signal should be used to control it.
• (M64) AOUT1: Analog output used for controlling the frequency of the external voltage controlled frequency source.
• ACH0: Analog input used to measure the control voltage on external TCXO/OCXO.
• PB7: Connected together with PC0 on the module. Intended for use as SPI slave select, interconnection is for backwards compatibility. Only one of the GPIOs should be used to control this pin, the other should be tristated.
4.1.2 Write Protection
WP: This pin is connected to the write-protect pin of the on-board flash device. When pulled low or left open, the boot sector of the flash
is write-protected. Typically, only pulled high to do initial flash programming during manufacturing.
4.1.3 Serial Ports
There are three asynchronous serial ports. The identical ports are named COM1, COM2 and COM3 and are located on pins 24 – 38 of
the module.
The serial ports have hardware flow control using RTS/CTS, support several communication options with different combinations of parity, stop bits and character length, and are capable of baud rates from 300 bit/s up to 921,600 bits/s.
4.1.4 PF3/LOCK Pin
The PF3/LOCK pin can be configured to indicate that the PTP loop is locked. See the ptp2 lock command.
silabs.com | Building a more connected world.Rev. 0.1 | 17
M68/M64 Module Data Sheet
4.2 Clocking
default the M68/M64 supports an external oscillator of 20 MHz. If another frequency is used, the PLL register (designated Configura-
By
tion Block Register 4, CRB4) needs to be changed.
The CRB4 register has 3 fields, as shown in the following table:
CRB4 BitsDescriptionAllowable Values
Bit 7Pll_frangeShould be set to 1
Pin List
Bits 6-2pll_n - PLL frequency multiplication factor
0 – sets dividend to 32
dividend.
1 – sets dividend to 1
2 – sets dividend to 2
:
:
31 – sets dividend to 31
Bits 1-0Pll_m – PLL frequency multiplication factor
0 – sets divisor to 5
divisor.
1 – sets divisor to 1
2 – sets divisor to 2
3 – sets divisor to 3
The output frequency is calculated as the external oscillator frequency x ( pll_n / pll_m). The resulting output frequency must be 150
MHz and the external oscillator frequency multiplied by 4 may not exceed 167 MHz.
The PLL register can be set using the “out crb4 0xNN” command in the system.ini file, and which will be run at powerup.
Example
CRB4 setting for 20 MHz external oscillator, “out crb4 0xbe”, which sets pll_n/pll_m to 15/2, and the resulting output frequency
of 150 MHz.
Example CRB4 setting for 10 MHz external oscillator, “out crb4 0xbd”, which sets pll_n/pll_m to 15/1, and the resulting output frequency
of 150 MHz.
One important characteristic to remember when using an external oscillator other than 20 MHz: The communication with the M68/M64
might be difficult before the proper PLL settings are in place. For example, when using an external 10 MHz oscillator, the serial port
communications would occur at 57600 baud, instead of 115,200.
NOTE: CPUCLK is a 1.8 V level pin. It must not be connected directly to a 3.3 V level oscillator output. A resistor or capacitive voltage
divider is enough to ensure that the voltage doesn’t exceed 1.8 V.
If the external oscillator has voltage control, it can be connected to the AOUT1 analog output. The control range of this pin is from 0.8 V
to 2 V. Fixed-frequency external oscillators can also be used, but then the FREQOUT frequency will not be syntonized.
4.3 Power Supply
4.3.1 Digital Power Supply
The module has five different power pins. Required power sources are 3.3, 1.8 and 1.2 Volts.
The use of an optional 2.5 V source will slightly decrease the power consumption. Otherwise the VCC25 pin must be connected to
VCC33.
The RGMII interface is powered by the user's system and the VCC_RGMII pin shall be connected to the systems power source. In the
case the RGMII interface is not intended to be used, the VCC_RGMII pin still must be connected to a power source. VCC33 is the best
choice.
silabs.com | Building a more connected world.Rev. 0.1 | 18
M68/M64 Module Data Sheet
Pin List
4.4 Time I/O
4.4.1 Reference Time Input
consists of signals PPSIN and TODIN, and is intended for connection to an external time source like a GNSS receiver or similar. If
It
one or both signals are not used, they can be left unconnected.
PPSIN expects a pulse-per-second signal with LVTTL levels. Rising edge should be on second boundary, the pulse width is not critical.
TODIN should receive time-of-day information, for example in NMEA 0183 format. The levels must be LVTTL and polarity will be detected. The current FW supports 4800 or 9600 baud 8N1 on the TODIN pin.
4.4.2 Precision Time Output
The interface consists of signals PPSOUT, TODOUT, FREQOUT and SYNTFREQ.
PPSOUT outputs a pulse-per-second signal with LVTTL levels. Pulse width, frequency, phase and polarity of this signal can be controlled by software. For more information, see 18. Appendix 3: PTP Command Reference.
TODOUT outputs time-of-day at LVTTL levels, for example in NMEA 0183 format. Baudrate can be set to 4800 or 9600 baud 8N1. For
more information, see 18. Appendix 3: PTP Command Reference.
(M64) FREQOUT outputs a syntonized frequency in the MHz range and at LVTTL levels. The frequency is software selectable
5/10/20/25 MHz. The frequency will only be syntonized (kept in phase with PTP or GNSS time) if the external oscillator is voltage controlled by analog output AOUT1 from the module.
(M68) FREQOUT outputs a syntonized frequency in the MHz range and at LVTTL levels. The frequency is software selectable
5/10/20/25 MHz. The frequency will only be syntonized (kept in phase with PTP or GNSS time) if the internal crystal oscillator is used or
if the external oscillator is voltage controlled by analog output AOUT1 from the module.
The SYNTFREQ is the same as the FREQOUT.
silabs.com | Building a more connected world.Rev. 0.1 | 19
M68/M64 Module Data Sheet
5. Specifications
5.1 Metrics
MetricValue
Dimensions29.2 x 29.2 x 3.3 mm
Weight3.0 g
Operating temperature-40°C – +85°C, ambient
Storage temperature-40 – +150 °C
5.2 Absolute Maximum Ratings
ParameterSymbolMinMax
Specifications
Supply voltage 3.3 VV
Supply voltage 2.5 VV
Supply voltage VCC_RGMIIV
Supply voltage 1.8 VV
Supply voltage 1.2 VV
RTC battery backup supplyV
I/O voltage (CPUCLK pin)V
I/O voltage (all other pins)V
ESD tolerance (Ethernet differential pairs, human body model)V
ESD tolerance (all other pins, human body model)V
CC33
CC25
CC_RGMII
CC18
CC12
BAT
IO18
IO33
ESDE
ESD
-0.3 V3.6 V
-0.3 V3.6 V
-0.3 V3.6 V
-0.3 V2.5 V
-0.3 V1.32 V
-0.3 V4.0 V
-0.3 V2.16 V
-0.3 V4.0 V
6 kV
2 kV
Permanent device damage may occur if the absolute maximum ratings are exceeded. These are stress ratings only, and functional
operation should be restricted to within the conditions detailed in the next section.
Exposure to absolute maximum rating conditions for extended periods may affect the device’s reliability.
5.3 Recommended Operating Conditions
ParameterSymbolMinTypMax
Supply voltage 3.3 VV
Supply voltage 2.5 VV
Supply voltage VCC_RGMIIV
CC33
CC25
CC_RGMII
3.15 V3.3 V3.45 V
2.38 V2.5 V2.62 V
3.15 V3.3 V3.45 V
2.38 V2.5 V2.62 V
1.71 V1.8 V1.89 V
1.43 V1.5 V1.57 V
1.14 V1.2 V1.26 V
Supply voltage 1.8 VV
Supply voltage 1.2 VV
RTC battery backup supplyV
I/O voltage (CPUCLK pin)V
silabs.com | Building a more connected world.Rev. 0.1 | 20
CC18
CC12
BAT
IO18
1.71 V1.8 V1.89 V
1.14 V1.2 V1.26 V
2.7 V3.63 V
0 V1.98 V
M68/M64 Module Data Sheet
Specifications
ParameterSymbolMinTypMax
I/O voltage (RGMII pins)V
IO_RGMII
-0.3 VV
CC_RGMII
V
CC_RGMII
0.5V
I/O voltage (all other pins)V
IO33
0 V3.63 V
5.4 DC Electrical Characteristics
ParameterSymbolMinTypMax
Power consumption1060 mW
Supply currentI
RTC backup current (V
= 3.0 V,
BAT
CCxx
I
BAT
(see table below)
5.5 µA
VCC = 0 V)
Input low voltage (except CPUCLK)V
Input high voltage (except CPUCLK)V
IL
IH
2.0 V
0.8 V
Input/tristate leakage current|II|1 µA10 µA
Output low voltage (|IOL| = max)V
Output high voltage (|IOH| = max)V
OL
OH
2.4 V
0.4 V
Output drive current (GPIO pins)|IOL|,|IOH|2/8 mA
+
Supply currents per voltage for different choice of host RGMII voltages. These are preliminary values for a gigabit speed connected
module:
1.8 V RGMII option
VmA
1.2138
1.8115
2.515
3.3200
Note: The final power consumption will depend on how the user designs his PCB. The numbers given in the table are maximum values
for
a well-designed board with a 1.8 V feed of the external RGMII port. Increasing this to 3.3 V is optional, but this will increase the total
power consumption.
Note: When planning to use the module in an existing design, the module contains a network side PHY. The existing PHY must be
removed, also when calculating power consumption as the PHY consumes the majority of the total.
5.5 AC Electrical Characteristics
ParameterSymbolMinTypMax
(M68) On-board main oscillator frequencyf
On-board RTC oscillator frequencyf
OSC
RTC
20 MHz
32768 Hz
Core & SDRAM frequency (must be typical value for Ether-
f
CORE
20 MHz150 MHz167 MHz
net operation)
External oscillator frequency on CPUCLKf
silabs.com | Building a more connected world.Rev. 0.1 | 21
EXT
5 MHz41.7 MHz
M68/M64 Module Data Sheet
PCB Design Considerations
6. PCB Design Considerations
This chapter should be read before starting a new design.
6.1 Land Pattern
See section 2.2 Recommended Land Pattern and Accepted Land Pattern for further information.
6.2 Power
The module has five connections for five different voltages. Three of those voltages are mandatory, two power pins can be joined to the
cost of slightly increased power dissipation. One voltage is used for an optional PHY. The module also comprises four connections to
GND. An optional backup battery, for the RTC, can be connected to the module.
6.2.1 Required Voltage
For Maximum and Operating Voltage Levels see sections 5.2 Absolute Maximum Ratings and 5.3 Recommended Operating Condi-
tions.
Maximum Supply Currents during operation are listed in 5.4 DC Electrical Characteristics. During start-up, the current consumption can
momentarily be higher.
Pin NameVoltageDescription
VCC333.3 VThis voltage is used for driving signals on the module and for the /O’s of
the module.
VCC252.5 V or 3.3 VIf connected to 3.3 V there will be slightly higher power dissipation.
VCC181.8 VUsed for the PHY located on the module.
VCC121.2 VPower for the devices on the module.
VCC_RGMII1.2 V to 3.3 VIf an optional external PHY is used this pin must be connected to the same
voltage source as the PHY’s RGMII interface. The pin must not be left unconnected. If no external PHY used this pin should be connected to
VCC33.
This power pin is used only to drive the external RGMII interface.
VBAT3 VIf backup is required, this pin shall be connected to a 3 V lithium coin cell
battery. No current is drawn from the battery when power is available on
pin VCC33.
silabs.com | Building a more connected world.Rev. 0.1 | 22
M68/M64 Module Data Sheet
PCB Design Considerations
6.2.2 Decoupling Capacitors
is important that the selected decoupling capacitors are specified correctly, are placed close to the module and, to minimize induc-
It
tance, are connected with as wide tracks as possible. The use of power planes is of course the ideal solution.
Decoupling capacitors on the module itself are placed very close to the on-module circuits. Those capacitors will provide for the immediate current requirement. Bulk capacitance must be placed external to the module. All 4.7µF capacitors mentioned below shall be
placed as close as possible to the corresponding module connection. The larger capacitors, 100µF, can be placed further away from
the module.
Pin NameDecoupling Capacitors
VCC33Connect one 4.7 µF and one 100 µF capacitor to this pin.
VCC25Connect one 4.7 µF and one 100 µF capacitor to this pin.
VCC18Connect one 4.7 µF and one 100 µF capacitor to this pin.
VCC12Connect two 4.7 µF capacitors to this pin.
VCC_RGMIIConnect one 4.7 µF and one 100 µF capacitor to this pin.
The decoupling capacitors must have the following specifications:
Clock signals must be treated with great care, with signal integrity in mind. For this reason, MCLKOUT1 has a series termination resistor placed on the module, no further termination is required. The trace from the module must not have any stubs. If more than one load,
those loads should preferably be placed close to each other. The trace shall preferably have 50-65 ohm line impedance.
This clock signal was intended to drive an external PHY. However, it has been shown that it is not suited for this purpose due to jitter.
We suggest using an external 25 MHz oscillator to drive the external PHY instead.
6.4 Ethernet Interface
The four pairs of differential signals driving the magnetics are placed close to each other on one side of the module. The length of the
traces for each pair shall be as equal as possible and so should the length of the four pairs.
Drivers for the LEDs, signaling connection status, are of Open Collector type. A resistor of nominally 470 ohms shall be placed between
VCC33 and the anode side of the LEDs.
6.4.1 Magnetics
The following is a list of magnetics that can be used with the module. The list is not complete, and all magnetics listed are not tested
together with the module. All listed magnetics are single port RJ-45 connectors with integrated magnetics of 3 wire choke type.
ManufacturerPart Number
Link-PP ElectronicsLPJK2065AONL
LPJK0036AINL
Pulse ElectronicsJK0-0136NL
JK0654219
FoxconnJFM38010-01S1-4F
Belfuse0813-1X1Y-43
SI61021F
silabs.com | Building a more connected world.Rev. 0.1 | 23
M68/M64 Module Data Sheet
PCB Design Considerations
6.5 RGMII Interface
interface is clocked at 125 MHz, when running GbE. Needless to say great care must be taken during design. Connections to the
This
two channels, TX and RX, are adjacent on the module, having respectively clock in the center of the connections.
RGMII clocking is source synchronous, what is the RX clock is generated by the PHY and the TX clock by the module. All traces within
a channel must have the same length. Delay of the clock, sampling in the middle of the data-eye, is taken care of by the external PHY
and the RGMII interface on the module.
silabs.com | Building a more connected world.Rev. 0.1 | 24
M68/M64 Module Data Sheet
Application Software
7. Application Software
The M64 and M68 are quite similar. In the CLI commands that follow, the M68 commands are given. The full details of a command are
available via help commands in the CLI.
For the M64 the parameter, "port_number" is always 1. For the M68, "port_number" is either 1 or 2, the default is 1.
For the M64 the parameter, "iface" is always enet0. For the M68, it is either enet0 or enet1.
7.1 System Access
See the Quick Start Guide for setting up communication to the module in a P60 Evaluation Kit. To logon to the system the username is
“root”, with password “root” as the initial credentials.
You can change them later with the passwd command and add or delete users in the database, see the passwd.ini section.
On entering the system, you will see a prompt and an identifier for the system. The interface is very similar to UNIX.
7.2 System Files
The system directory A:/system contains firmware files and a number of system initialization and configuration files. These are listed in
the Appendix 1 for reference. The files most applications should check and modify are the system.ini and startup.ini to setup the module
in its environment and give the PTP engine the parameters for the synchronization scheme.
7.3 Module Shell Environment
The shell, called ISH, is responsible for the high-level system initialization, for execution of various servers and for providing a UNIX-like
command interface.
7.3.1 High-Level Initialization
The shell startup code completes initialization and configuration of the system performing the following tasks:
• Initializes the serial port interface
• Registers stdout and stderr functions
• Reads the Hardware Identification String from the flash memory
• Reads and processes a shell configuration file ish.ini.
• Reads and processes a system configuration file system.ini
• Initializes and starts a Serial server
• Configures a hostname
• Initializes and configures TCP/IP stack software
• Starts FTP and Telnet servers
• Sets the Time Zone and Daylight Saving
• Reads and executes startup file startup.ini
7.3.2 System Commands
The shell includes Serial server, Telnet server and FTP server. The shell starts them automatically during startup, if specified in the
system configuration file. Otherwise they can be started and stopped manually using startserver and stopserver commands.
7.3.3 Communication Servers
The shell includes Serial server, Telnet server and FTP server. The shell starts them automatically during startup, if specified in the
system configuration file. Otherwise they can be started and stopped manually using startserver and stopserver commands.
7.3.3.1 Serial Server CLI
The Serial server provides the command-line user interface over a serial channel. The serial port number and port parameters can be
specified though environment variables.
silabs.com | Building a more connected world.Rev. 0.1 | 25
M68/M64 Module Data Sheet
Application Software
7.3.3.2 Telnet Server CLI
Telnet server provides the command-line user interface over a TCP/IP communication channel. The TCP port number and the
The
server priority can be specified though the environment variable.
7.3.3.3 SSH Server
The SSH server is not started by default but has to be started manually using the command:
startserver –d
Note: For the current implementation, initialization takes about 30 seconds and establishing the connection about another 60 seconds.
7.3.3.4 FTP Server
The FTP server provides a remote access to the local file system. It supports both get and put operations. The number of simultaneous
connections and the server priority can be specified through environment variables.
7.3.3.5 JSON
The command interface (default is COM3) can be used in either CLI/HMI command mode or JSON mode. The JSON mode is turned on
or off with the following commands:
ptp2 engine json on
ptp2 engine json off
See 12. JSON Usage
for more details.
7.4 Passthrough
The passthrough mode allows a system with two Ethernet interfaces to act as a "synchronization gateway" for non-PTP hosts.
On its primary Ethernet port such "gateway" is connected to a network which transports data and PTP synchronization. To its secondary Ethernet port, the non-PTP system is connected. The "gateway" participates in PTP activity acting as a PTP slave and synchronizing its local clock. The PTP traffic is filtered out while non-PTP data is passed through to the host along with PPS/TOD/FREQ-out synchronization signals.
The command to turn on and off pass-through is:
ifconfig frwd [on|off]
On the M68 the secondary (host-side), Ethernet is available for user or applications such as a general-purpose network interface.
On M64, the secondary (host-side), Ethernet interface is not available for user or applications as a general-purpose network interface, it
is used only for pass-through and it is completely transparent from either host or network side.
silabs.com | Building a more connected world.Rev. 0.1 | 26
M68/M64 Module Data Sheet
Application Software
7.5 VLAN
M68/M64 supports VLAN tagging. If VLAN is used in combination with PTP, the VLAN needs to be set before the PTP engine is
The
started.
To enable VLAN on the interface, use the command:
ifconfig [iface] vlan [parameters]
where [iface] is the interface name. If not given, 'enet0' will be used.
<vlan_id> [prio_code] - send and receive vlan-tagged frames only
For example:
ifconfig vlan 1588 0
To disable VLAN on the interface, use the command:
ifconfig enet1 vlan off
7.6 MDIO
The M68/M64 supports the possibility to control and monitor equipment such as a PHY connected over MDIO. To enable MDIO mode,
use the command
ifconfig mdio
This will disable all other access to the MDIO registers to avoid conflicting writes to the page register. To then read from MDIO registers
use the command
<reg>
And to write to a MDIO register in the exclusive MDIO mode use
<reg> <value>
To exit from the exclusive MDIO mode, type “q”.
For example, to enter MDIO mode and write 0x4885 to register 18 on page 3 (reg 22 is page register):
A:/root> ifconfig mdio
Enter exclusive MDIO mode on enet0
22 3
22: 0x0003
18
18: 0x4b85
18 0x4885
18: 0x4885
q
Quit exclusive MDIO mode on enet0
A:/root>
It is also possible to read or write directly to a MDIO register without entering the exclusive mode:
ifconfig mdio <reg> <value>
but beware any page register settings.
simplify for the user, some common operations on the PHY has been defined as specific commands: to manage link speed and
To
duplex, to reset the PHY and to manage SyncE master/slave behavior.
silabs.com | Building a more connected world.Rev. 0.1 | 27
7.7 Link Speed
The PHY link speed and duplex can be controlled by the command
ifconfig [iface] link [parameters]
where [iface] is the interface name. If not given, 'enet0' will be used.
M68/M64 Module Data Sheet
Application Software
[parameters]
can be one of the following modes: 1000F, 1000H, 100F, 100H, 10F, 10H which disables autonegotiation and force the
interface into the desired speed and duplex (F – full, H – half) or auto [mode_mask] which will enable autonegotiation and optionally set
advertised modes. If mode_mask is not given all supported modes will be advertised, i.e. 1000F|1000H|100F|100H|10F|10H
For example, to set 100Mb/s Full duplex:
ifconfig link 100F
or set interface 0 to autonegotiation with only 1000Mb/s and 100Mb/s full duplex supported.
Ifconfig enet0 link auto 1000F|100F
7.8 PHY Reset
It is possible to reset the PHY with the following command:
ifconfig [iface] reset [options]
Where [iface] is interface name. If not given, 'enet0' will be used.
[options] can be either sw, noinit or not given at all.
If no option is given, a HW reset is performed, i.e. the reset pin of the PHY is pulled after which initialization is done.
If the option “noinit” is given also a HW reset is performed, but no initialization of the PHY is performed. This can be used when PHY
needs to be configured manually using MDIO.
The option “sw” sets the reset bit in the MDIO registers, performing a SW reset. This is of course only relevant if the PHY's MDIO interface lines are connected.
For example, to perform a HW reset of the PHY:
ifconfig reset
7.9 SyncE
For PHY devices supporting SyncE it is possible to define the direction of frequency on a link. This is only valid for 1000Base-T interfaces.
ifconfig [iface] synce [parameters]
Where [iface] is the interface name. If not given, 'enet0' will be used.
[parameters] can be
• master|slave which will disable autonegotiation and force the interface into either master or slave mode or
• auto master|slave which will enable autonegotiation with either master or slave preference
If no parameter is given, current resolved state will be reported.
For example, setting the module to be preferred SyncE master:
ifconfig synce auto master
silabs.com | Building a more connected world.Rev. 0.1 | 28
7.10 SFP
There is support for managing an SFP connected to the specified network interface.
ifconfig [iface] sfp [parameters]
Where [iface] is the interface name. If not given, 'enet0' will be used.
[parameters] can be
raw, which prints SFP information in raw hex format
state, which shows state of LOS, enable, presence and fault
enable will enable the SFP transmitter
disable will disable the SFP transmitter
mdio <reg> will perform single read from MDIO register in SFP PHY
mdio <reg> <value> will perform single write to MDIO register in SFP PHY
If no parameter is given, prints formatted SFP information.
M68/M64 Module Data Sheet
Application Software
silabs.com | Building a more connected world.Rev. 0.1 | 29
M68/M64 Module Data Sheet
IEEE 1588/PTP Engine
8. IEEE 1588/PTP Engine
The M64 and M68 are quite similar. In the CLI commands that follow, the M68 commands are given. The full details of a command are
available via help commands in the CLI.
For the M64 the parameter, "port_number" is always 1. For the M68, "port_number" is either 1 or 2, the default is 1.
For the M64 the parameter, "iface" is always enet0. For the M68, it is either enet0 or enet1.
8.1 General Features
The IEEE 1588/PTP Engine (PTP Engine) has the following features:
• Implements an ordinary clock in accordance with IEEE Std 1588™-2008
• M68 implements boundary clock in accordance with IEEE Std 1588™-2008
• Fully flexible to comply with Default Telecom and Power Profiles
• Supports both GNSS and PTP as the primary and backup time source
• Built-in SNTP server
• Supports 5 different operational modes
• Provides the command-line interface (can be configured and monitored either locally via Terminal or over the network via Telnet or
SSL)
• Supports PTP Management interface (can be configured and monitored over the network from a PTP Management station)
• Provides a rich set of APIs
• Uses high-precision hardware timestamp engine
• Can be partially customized by the customer
8.2 PTP Software Implementation
PTP software is divided into three layers; Protocol Layer, OS Abstraction Layer and the OS Layer.
Figure 8.1. PTP Layers
8.2.1 Protocol Layer
protocol layer contains the PTP engine which is implemented according to the IEEE 1588-2008 standard. The protocol engine en-
The
capsulates a number of functions necessary to run the PTP clock. Among those functions are best master clock algorithm, PTP message handling and maintaining of PTP clock data sets.
8.2.2 OS Abstraction Layer
The OS abstraction layer implements a number of interfaces between the protocol engine and the underlying operating system.
8.2.2.1 GNSS Interface
The GNSS interface contains functionality for GNSS synchronization. This interface is used when running the grandmaster clock.
silabs.com | Building a more connected world.Rev. 0.1 | 30
Loading...
+ 151 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.