Lnk SoundWire User Manual Download Page 12

It  is  possible  to  completely  bypass  the  PLL  chip  to  generate  the  traffic  generator  clock.    It  is 
therefore  possible  to  proceed  with  direct  injection  of  clock  signals.    This  is  especially  interesting 
when jitter sensitivity tests of frequency variation tests must be performed.

The external input clock can have an arbitrary value.  The frequency is measured and the PLLs are 
configured to generate the desired target frequencies.  However, it is always better to use common 
frequencies for audio and communication system.   The unit software will compare the measured 
frequencies  with  known  values  and  take  the  known  values  that  are  close  (+/-  0.8%)  to  the 
measured frequency.  This is done to reduce the risk of wrongly set target frequencies.  If nothing 
matches, the PLL parameters will be computed with the measured input frequency value.
When using the PLL, the lowest usable input frequency is 1 MHz.

Note:

 When using direct feed, the external clock frequency 

must be twice

 the desired SoundWire 

bus clock (SoundWire clock = 1/2 external clock).

The output clock is fed by one of the two PLL outputs.   The Auxiliary clock frequency is manually 
programmable.

1.3.4.

Monitoring Signals connector

The monitoring signals are available on a boxed IDC 10 pin header connector with a regular pitch 
of 2.54 mm (0.1”).  The bottom pins are all connected to ground.

The buffered SoundWire clock signal is a copy of the captured SoundWire clock.  It enables scope 
probing without disturbing the bus.   The buffered SoundWire data signal is a copy of one of the 7 
SoundWire data lines.  The selected line is control through a script command or directly via the PC 
application.

The Data Diff signal is high every time there is a difference between the transmitted data and the 
captured data.  It indicates where the DUT is writing or if there is a bus clash condition.

The TRIG 1 and TRIG 2 outputs are used to flag specific events happening on the bus.   The Trig 
Out signals are controlled directly by a script command (to spot a specific part of the script) or by 
an  internal  event  decoder  that  flags  specific  events  (especially  in  sniffer  mode).   The  event  filter 
engine is controlled via the PC application.

The monitoring signals use the same signaling level as the GPI/PDM connector.

Pin

Signal

Direction

1

Buffered SW clock

Out

3

Buffered SW data

Out

5

DATA DIFF

Out

7

TRIG 1 OUT

Out

9

TRIG 2 OUT

Out

2..10

Ground

SoundWire Protocol Analyzer

User Manual  V1.0

 of 

12

29

Summary of Contents for SoundWire

Page 1: ...SoundWire Analyzer User Manual SoundWire Protocol Analyzer User Manual V1 0 of 1 29 LnK 44 rue des Combattants B 4624 Roms e Belgium www lnk tools com info lnk tools com...

Page 2: ...I O 13 1 4 2 SoundWire I O 14 1 4 3 Clock I O 14 1 5 Hardware Parameter Control 14 2 SOFTWARE OPERATION 15 2 1 Installation 15 2 1 Software units 15 2 2 Launching the Protocol Analyzer 15 2 3 Load a...

Page 3: ...6 Data Samples 29 7 Port Registers 29 8 Stream Mapping 29 SoundWire Protocol Analyzer User Manual V1 0 of 3 29...

Page 4: ...SoundWire Protocol Analyzer User Manual V1 0 of 4 29...

Page 5: ...1 HARDWARE SPECIFICATION SoundWire Protocol Analyzer User Manual V1 0 of 5 29...

Page 6: ...een of the unit 1 3 Connectivity The unit has multiple connectors located on the left side and on the right side left right GND 50 CLOCKS INPUT OUTPUT SOUNDWIRE GPI PDM CLK 0 1 2 3 4 5 6 DATA 1 2 19 2...

Page 7: ...ven general purpose input pins can be reassigned to a multichannel PDM input output interface or a multichannel PCM input or output Pin Signal Direction 1 Clock Input output 3 Data Line 0 main Input o...

Page 8: ...C_SCL I O 5 GPI6 IN PDM_BCKI OUT PDM_BCKI OUT PDM_BCKI OUT 7 GPI5 IN PDM_BCKO OUT PDM_BCKO OUT PDM_BCKO OUT 9 GPI4 IN PDM_DATA4 IN PDM_DATA4 OUT PDM_DATA4 OUT 11 GPI3 IN PDM_DATA3 IN PDM_DATA3 OUT PDM...

Page 9: ...ing edge and the data edge TCHB_EN is equal to 12 5 ns The data line is sampled on the every clock edge 6 B6 2 0 B6 2 6 B6 2 7 B 1 7 B 1 7 2 7 5 6 5 3 0B 7 3 0B 7 1 11 5 7 11 E E E E E E E E E E E E E...

Page 10: ...OCK SoundWire Source Port Control Registers DATA ROUTER DATA ROUTER DATA ROUTER DATA ROUTER Ch 1 Ch 2 Ch 3 Ch 4 Ch 5 Ch 6 Ch 7 Ch 8 DI1 ChA DI1 ChB 8 A PDM CH B SAMPLE CH A SAMPLE CH B s 0 1 0 1 SDIn_...

Page 11: ...sed when the desired frequencies can be derived from the reference clock by an integer divider If this is not possible the PLL is used E E E E E E E E E E E E E E E E 3 0B 7 3 0B 7 11 7 11 11 5 7 11 3...

Page 12: ...is manually programmable 1 3 4 Monitoring Signals connector The monitoring signals are available on a boxed IDC 10 pin header connector with a regular pitch of 2 54 mm 0 1 The bottom pins are all con...

Page 13: ...unit before launching the Protocol Analyzer software While the unit is waiting for the PC activation the display will show a standby message asking for PC connection Once the Protocol Analyzer softwar...

Page 14: ...ware can input a clock signal on a SMA RF connector and output a clock signal on another SMA RF connector The display shows the clock IO configuration and functions as well as the measured clocks 1 5...

Page 15: ...ready for operation 2 1 Software units The tool uses 2 softwares The SoundWire Protocol Analyzer Traffic Generator The present user manual is dedicated to this piece of software The script editor nam...

Page 16: ...HW not present or non configured HW detected and being configured HW detected and configured SoundWire Protocol Analyzer User Manual V1 0 of 16 29...

Page 17: ...XML script from the traffic generator itself though File menu or by pressing the Script button Push it directly from the script editor use CTRL T or press the button Send to TG in the Finalize window...

Page 18: ...ides the REC button The amount of recorded data is shown in the status bar on the bottom left side of the window The maximum record size is now limited to 500 MB to prevent internal database files exc...

Page 19: ...o reconstruct the complete trace and decoding and extracting all audio data This mode is consuming a lot of disk space and decoding time but gives the most detail While recording the Live View is comb...

Page 20: ...e protocol analyzer software offers various levels of reading of the captured SoundWire bit stream 3 1 1 Message View The Message View has multiple levels of analysis SoundWire Protocol Analyzer User...

Page 21: ...den and messages only show the relevant information to understand the message flow Errors All frames that are obtaining errors are listed here That is easy to navigate to a certain error and then swit...

Page 22: ...related events are shown Search This is a text based search with the following keywords or combinations write read ping da 1 da 0x1 ra 304 ra 0x0130 data 3 data 0x03 ack 1 nak 0 bank ssp slavestatus c...

Page 23: ...l Word are shown for every frame The unused bit slots are written in white The configured bit slot from data channels are written in black with a color background representing there port The first col...

Page 24: ...n the SoundWire bus at a given moment in time Up to 7 configured data ports are mapped onto the data port selection buttons together with a user Data Config button If there are more than 7 configured...

Page 25: ...lack and white with the value of the bank Config A yellow dot show a write operation to the SCP or Data port registers Frame Shape Shows the frame shape on an alternating background color ex 2x48 GPI...

Page 26: ...d in green and last write operation in blue separately The last action is drawn in bold Note that this values are taken out of the read and write messages on he bus which is not a guarantee that the r...

Page 27: ...he different devices on the bus and displays them with the enumeration information and data port use Enabled data ports are indicated and if data ports have the same configuration they will be connect...

Page 28: ...updated according to the position of the time line cursor When the analyser is in live view the page is showing the current situation of the bus 5 Port Properties In this page the data port configura...

Page 29: ...is in live view the page is showing the current situation of the bus 8 Stream Mapping The Stream Mapping table shows all the data ports for all the slave devices If a data port is used it is coloured...

Reviews: