Wiki

This version is outdated by a newer approved version.DiffThis version (11 Nov 2016 07:04) is a draft.
Approvals: 0/1
The Previously approved version (10 Nov 2016 09:11) is available.Diff

This is an old revision of the document!


TCP/IP Channels (ADAU144x / ADAU145x)

Click here to return to the Using SigmaStudio page

The TCP/IP channel can be used to connect with the SigmaDSP in case the SigmaDSP is present at a different location and cannot be physically connected the the PC that is running SigmaStudio. SigmaStudio communicates with a server connected to the SigmaDSP using TCP/IP.

The TCPIP channel is present under the Communication Channels tree as shown in the figure below:

Drag and Drop the channel onto the configuration tab and connect it to the IC. An option to open a TCPIP form will appear in the context menu as shown below:

A TCPIP from is launched when Show TCPIP form is clicked. The form is as shown in the figure below:

Enter the IP address and the port number on which the server connected to SigmaDSP is listening on in the TCPIP form. Click on Open connection to open the connection with the server.

Once the server is connected, SigmaStudio is free to send and receive data to and from the server.

Write Data Format

SigmaStudio sends the code and parameter information to the server connected to SigmaDSP in the following format:



Fields

FieldDescription
Control This is the control bit that is used to indicate that it is a write packet. Its value is 0x09
Block / safeload write bit This field indicates whether the write packet is a block write or a safeload write
Channel number This indicates the channel number
Total length This indicates the total length of the write packet. It is 4 bytes long
Chip address This is the address of the chip to which the data has to be written
Data Length This is the length of the data. This is 4 bytes long
Address This is the address of the module whose data is being written to the DSP. This is 2 bytes long
Data This is the data to be written

Readback from the DSP

In order to achieve readback, SigmaStudio send a read request. The server connected to SigmaDSP must respond to the read request with a read response.

Read Request format

The read request format is as shown

Fields

FieldDescription
Control This is the control bit that is used to indicate that it is a write packet. Its value is 0x09
Block / safeload write bit This field indicates whether the write packet is a block write or a safeload write
Channel number This indicates the channel number
Total length This indicates the total length of the write packet. It is 4 bytes long
Chip address This is the address of the chip to which the data has to be written
Data Length This is the length of the data. This is 4 bytes long
Address This is the address of the module whose data is being written to the DSP. This is 2 bytes long
Data This is the data to be written

Read Response Format

The server connected to SigmaDSP has to respond to the read request in the following format:


Fields

FieldDescription
Control This is the control bit that is used to indicate that it is a write packet. Its value is 0x09
Block / safeload write bit This field indicates whether the write packet is a block write or a safeload write
Channel number This indicates the channel number
Total length This indicates the total length of the write packet. It is 4 bytes long
Chip address This is the address of the chip to which the data has to be written
Data Length This is the length of the data. This is 4 bytes long
Address This is the address of the module whose data is being written to the DSP. This is 2 bytes long
Data This is the data to be written
resources/tools-software/sigmastudio/usingsigmastudio/tcpipchannels.1478844244.txt.gz · Last modified: 11 Nov 2016 07:04 by Suhasini Raghuram