VSK-6748 Final
VSK-6748 Final
Chapter 1
Introduction to the
TMS320C6748
Page 1
TMS320C6748 Manual VSK-6748
Hardware Overview
The VSK comes with a full complement of on board devices that suit a wide varie-
ty of Application environments. Key features include:
Page 2
TMS320C6748 Manual VSK-6748
The TMS320C6748 on the VSK interfaces to on-board peripherals through the 16-
bit wide multiplexed EMIF interface pins. The SDRAM memory is connected to its own
dedicated 16 bit wide bus.
An on-board AIC3106 codec allows the DSP to transmit and receive analog audio
Signals. The I2C bus is used for the codec control interface, while the McASP controls
the audio stream. Signal interfacing is done through 3.5mm audio jacks that correspond
to microphone input, headphone output, line input, and line output. The VSK includes 8
user LEDs, a 8 position user DIP switch, and on chip real time clock.
An included +5V external power supply is used to power the board. On-board
switching voltage regulators provide the CPU core voltage, +3.3V, +1.8V for peripheral
interfacing. The board is held in reset by the on board power controller until these sup-
plies are within operating specifications. Code Composer Studio communicates with the
VSK through an embedded emulator or via the TI 14 pin JTAG connectors.
Page 3
TMS320C6748 Manual VSK-6748
The VSK is designed to work with TI’s Code Composer Studio IDE. Code Com-
poser communicates with the board through an on board JTAG emulator. To start, follow
the instructions in the Quick Start Guide to install Code Composer. This process will in-
stall all of the necessary development tools, documentation and drivers.
The VSK has a 4 position switch that allows users to configure the operational
state of the processor when it is released from reset and determine the source for process
or booting. Switch SW2 configures the boot mode that will be used when the DSP starts
executing. By default the switches are configured to serial EEPROM boot. The table be-
low shows the boot mode sources and their respective switch positions.
B1 B2 B3 B4 B5 B6 B7 B8 Boot Mode
Page 4
TMS320C6748 Manual VSK-6748
1.5Power Supply
The VSK operates from a single +5V external power supply connected to the main
power input (P1), a 2.5 MM. barrel-type plug. Internally, the +5V input is converted into
core voltage, +1.8V and +3.3V using Texas Instruments TPS65023 Power Management
Unit. The +3.3V and +1.8V supply are used for the DSP's I/O Buffers and other chips on
the board.
Page 5
TMS320C6748 Manual VSK-6748
Chapter 2
BOARD COMPONENTS
This chapter describes the operation of the major board components on the.
Page 6
TMS320C6748 Manual VSK-6748
The VSK incorporates a Texas Instruments TLV320AIC3106 stereo codec for in-
put and output of audio signals. The codec samples analog signals on the microphone or
line inputs and converts them into digital data so it can be processed by the DSP. When
the DSP is finished with the data it uses the codec to convert the samples back into ana-
log signals on the line output so the user can hear the output.
The codec communicates using two serial channels, one to control the codec’s in-
ternal configuration registers and one to send and receive digital audio samples. The I2C
bus is used as the AIC3106’s control channel. The control channel is generally only used
when configuring the codec, it is typically idle when audio data is being transmitted, and
McASP1 is used as the bi-directional data channel. All audio data flows through the data
channel. Many data formats are supported based on the three variables of sample width,
clock signal source and serial data format. The VSK examples generally use a 16-bit
sample width with the codec in master mode so it generates the frame sync and bit clocks
at the correct sample rate without effort on the DSP side.
The codec is clocked via a 24.576 MHz oscillator. The internal sample rate gene-
rator subdivides the default system clock to generate common audio frequencies. The
sample rate is set by a codec register. The figure below shows the codec interface on the
TMS320C6748 VSK.
2.3 C Interface
The C bus on the TMS320C6748- VSK is ideal for interfacing to the control
registers of many devices. On the TMS320C6748- VSK the I2C bus is used to configure
the Ethernet phy and Codec.
Page 7
TMS320C6748 Manual VSK-6748
X 0 0 IN1(default)
X 0 1 IN2
Page 8
TMS320C6748 Manual VSK-6748
Page 9
TMS320C6748 Manual VSK-6748
Chapter 3
PHYSICAL DESCRIPTION
This chapter describes the physical layout of the TMS320C6748 VSK and its interfaces.
Page 10
TMS320C6748 Manual VSK-6748
Page 11
TMS320C6748 Manual VSK-6748
Page 12
TMS320C6748 Manual VSK-6748
3.3 Connectors
3.3.1 VSK – 6748 Board
1. Power Supply
2. TMS320C6748 processor
3. SDRAM interface
4. Line IN,MIC IN
5. Speaker out, Line out
6. DIP switch(8 – switch)
7. LED (8 – led)
8. ADC/DAC interface (2 channels)
9. Boot Mode selection switch
10. External JTAG
11. On board JTAG
12. Reset
3.4 Description
3.4.1 Power supply
The VSK operates from a single +5V external power supply connected to the main
power input (P1), a 2.5 MM. barrel-type plug. Internally, the +5V input is converted into
core voltage, +1.8V and +3.3V using Texas Instruments TPS65023 Power Management
Unit. The +3.3V and +1.8V supply are used for the DSP's I/O Buffers and other chips on
the board.
Page 13
TMS320C6748 Manual VSK-6748
3.4.3 SDRAM
The codec communicates using two serial channels, one to control the codec’s in-
ternal configuration registers and one to send and receive digital audio samples. The I2C
bus is used as the AIC3106’s control channel. The control channel is generally only used
when configuring the codec, it is typically idle when audio data is being transmitted, and
McASP1 is used as the bi-directional data channel. All audio data flows through the data
channel. Many data formats are supported based on the three variables of sample width,
clock signal source and serial data format. The VSK examples generally use a 16-bit
sample width with the codec in master mode so it generates the frame sync and bit clocks
at the correct sample rate without effort on the DSP side.
The codec is clocked via a 24.576 MHz oscillator. The internal sample rate gene-
rator subdivides the default system clock to generate common audio frequencies. The
sample rate is set by a codec register. The figure below shows the codec interface on the
TMS320C6748 VSK. Line IN & MIC IN are the audio input it’s connected in P8, P9 and
Line Out, Speaker out are output its connected in P10,P12.
8 port DIP switch and 8 LED’s are used in VSK – 6748 module it’s connected in
SW4 & DS(2 – 9).
Page 14
TMS320C6748 Manual VSK-6748
VSK – 6748 have 3 types of Boot modes. To set the DIP Switch to select the spe-
cified Boot mode options its mention below the table 3.1
B1 B2 B3 B4 B5 B6 B7 B8 Boot Mode
In TMS320C6748 VSK Trainer Having 2 ADC & 2 DAC Channels . The ADC
& DAC are configured with SPI based interfaces. The channels selections are mentioned
chapter 2. It support 5/3.3 v input voltage and its supported max 1mbps speed. The set-
tling time of DAC is 8.5us.
Page 15
TMS320C6748 Manual VSK-6748
Chapter 4
Page 16
TMS320C6748 Manual VSK-6748
Step 1: Install CCS_v3.3. After the installation of CCS follow the below steps
(i) XDS100_v1_1_RTM.exe
(i) SR12_CCS_v3.3_SR_3.3.82.13.exe
(ii) TI_CGT_C6000_6.1.9_setup.exe
(iii) bios_setupwin32_5_33_05.exe
Note: Install the above software’s step by step.
Step 4: After all above mentioned software’s are installed copy and paste the
following files into the below mentioned location.
1. c6748.gel – “C:\CCStudio_v3.3\cc\gel”
2. C6748_xds100 – “C:\CCStudio_v3.3\drivers\import”
Page 17
TMS320C6748 Manual VSK-6748
Now click Custom Boards which is located at the bottom of the window.
Click the File option and select the import. It’s shown in the figure below.
Page 18
TMS320C6748 Manual VSK-6748
Next you need to browse and select a file C6748_xds100 from the location
C:\CCStudio_v3.3\drivers\import and click ok.
Next right click the TMS320C674X_0 option and select properties. It’s shown in the
figure below.
Then, browse the gel file from the location C:\CCStudio_v3.3\cc\gel and click ok. The
window is given below.
Now click the Save & Quit option, code composer studio setup dialogue box will be
opened. It shown in figure below.
Page 19
TMS320C6748 Manual VSK-6748
Page 20
TMS320C6748 Manual VSK-6748
Page 21
TMS320C6748 Manual VSK-6748
Then click on Component manager tab to update Build tools and DSP/BIOS.
Then component manager window will display. In that click on Build tools on the
left of that window
Page 22
TMS320C6748 Manual VSK-6748
Click on the maximize button near TMS320C67XX and select the last check box
After that maximize the Target content and then TMS320C67XX by the figure
given below
Finally click save button which is located under the file menu and click ok.
Page 23
TMS320C6748 Manual VSK-6748
Then close the component manager window and switch over to CCS. In CCS
click Ok above the component manager tab.
Page 24
TMS320C6748 Manual VSK-6748
After that go to FileLaunch setup option , code composer studio setup window
will open .
Atlast click on save & quit option to update your component manager
Page 25
TMS320C6748 Manual VSK-6748
Click Start Menu All Programs Texas Instruments Code Composer Studio
Page 26
TMS320C6748 Manual VSK-6748
Then switch ON the TMS320C6748 VSK module and plug the USB Emulator to
the module. Now press Debug option and then select the connect option.
Now TMS320C6748 VSK module and CCS software will be connected. Then
click Project and select new. Now open the new project.
Page 27
TMS320C6748 Manual VSK-6748
Save the project in specific location and give Project Name. Then click finish but-
ton. Now project will be added in CCS work space.
Select the File New Source File. Now new untitled window will be open.
Page 28
TMS320C6748 Manual VSK-6748
Next click File and select save option. Now give a name for opened file with dot C.
Copy the Linker cmd, ViDSKC6748-BSL-Lib file path and then paste the copied
file into our project folder.
Page 29
TMS320C6748 Manual VSK-6748
Now Right click the Source file in project window and select Add file to project.
Now click the project file, linker command file and then select Open button.
Page 30
TMS320C6748 Manual VSK-6748
Page 31
TMS320C6748 Manual VSK-6748
Then double click the debug option and click out file and select the Open button.
Now program will be loaded.
Page 32
TMS320C6748 Manual VSK-6748
Finally select the debug option and click Run (F5). Now run the program.
This is the basic procedure for create a project, build and executing methods.
Page 33
TMS320C6748 Manual VSK-6748
How to create a project, build and executing methods are already see in section
4.1.2.1. Now see in this section how to write a program coding into Editor Window
and how to view the input/output procedure.
Page 34
TMS320C6748 Manual VSK-6748
Now Right click the Source and click Add file to project.
Select the project file, linker command file and then click Open button.
Page 35
TMS320C6748 Manual VSK-6748
Then select the Project option and click Rebuild All. (Alt + P + R)
Page 36
TMS320C6748 Manual VSK-6748
Now enter the specific Memory address (like 0x80000100) then press Enter and
Select a Particular Data type (Ex 32 bit signed integer).
Page 37
TMS320C6748 Manual VSK-6748
Now double click the data near the specific memory address and enter the inputs.
Page 38
TMS320C6748 Manual VSK-6748
Then double click the debug option and click out file and select the Open button.
Now program will be loaded.
Page 39