SYSBIOS PSP Driver Datasheet

Datasheet
BIOS PSP C6748 Datasheet
03.00.01.00
Page 1 of 44
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 2 of 44
BIOSPSP Datasheet
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make
corrections, modifications, enhancements, improvements, and other changes to its products
and services at any time and to discontinue any product or service without notice.
Customers should obtain the latest relevant information before placing orders and should
verify that such information is current and complete. All products are sold subject to TI’s
terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the
time of sale in accordance with TI’s standard warranty. Testing and other quality control
techniques are used to the extent TI deems necessary to support this warranty. Except
where mandated by government requirements, testing of all parameters of each product is
not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers
are responsible for their products and applications using TI components. To minimize the
risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted
under any TI patent right, copyright, mask work right, or other TI intellectual property right
relating to any combination, machine, or process in which TI products or services are used.
Information published by TI regarding third–party products or services does not constitute a
license from TI to use such products or services or a warranty or endorsement thereof. Use
of such information may require a license from a third party under the patents or other
intellectual property of the third party, or a license from TI under the patents or other
intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if
reproduction is without alteration and is accompanied by all associated warranties,
conditions, limitations, and notices. Reproduction of this information with alteration is an
unfair and deceptive business practice. TI is not responsible or liable for such altered
documentation.
Resale of TI products or services with statements different from or beyond the parameters
stated by TI for that product or service voids all express and any implied warranties for the
associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright ©2009, Texas Instruments Incorporated
Page 3 of 44
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 4 of 44
BIOSPSP Datasheet
TABLE OF CONTENTS
1
Introduction................................................................................................. 6
2
BIOSPSP Drivers - Features ......................................................................... 6
3
Performance data for BIOSPSP drivers ........................................................ 7
3.1
I2C Driver .............................................................................................8
3.2
SPI Driver ...........................................................................................12
3.3
UART Driver ........................................................................................16
3.4
BLOCKMEDIA Driver .............................................................................19
3.5
GPIO ..................................................................................................25
3.6
McASP Driver.......................................................................................26
3.7
McBSP Driver.......................................................................................29
3.8
Audio Interface Driver...........................................................................32
3.9
Aic3106 codec Driver............................................................................33
3.10
SD Driver ............................................................................................34
3.11
NAND Driver........................................................................................36
3.12
LCDC RASTER Driver ............................................................................38
3.13
VPIF Driver..........................................................................................40
3.14
VPIF EDC Driver...................................................................................42
3.15
PSC ....................................................................................................43
3.16
EvmInit...............................................................................................44
TABLE OF FIGURES
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
1 I2C Write Performance ...................................................................................9
2 I2C Read performance..................................................................................10
3 SPI Write performance .................................................................................13
4 SPI Read Performance..................................................................................14
5 Uart Write Performance ................................................................................17
6 SD WRITE Performance ................................................................................20
7 SD READ Performance..................................................................................22
8 NAND WRITE Performance ............................................................................23
9 NAND READ Performance..............................................................................24
10 Mcasp Read write performance ....................................................................27
11 Mcasp latency............................................................................................28
12 Mcbsp Write performance............................................................................30
13 VPIF Read-Write performance......................................................................41
1
Page 5 of 44
BIOSPSP Datasheet
1
Introduction
This PSP package consists of peripheral device drivers for the C6748 device. The
drivers enable rapid software development on the C6748 platform. This document
provides the performance data for each of the drivers on SYS/BIOSTM.
2
BIOSPSP Drivers - Features
 Supported Devices
o
C6748
 Developed and tested on C6748 EVM
 Tools used to build SYS/BIOSTM BIOSPSP drivers
o
SYS/BIOS Version 6_33_01_25
o
Code composer studio 5.1.0.09000
o
CG tools 7.3.1
 EDMA3 LLD version used – 02_11_02_04
 Drivers supported on SYS/BIOSTM:
o
I2C
o
SPI
o
UART
o
PSC
o
GPIO
o
McASP
o
McBSP
o
Audio Interface
o
Aic3106 codec
o
MMCSD
o
NAND
o
Block Media
o
LCDC raster
o
VPIF
Page 6 of 44
BIOSPSP Datasheet
3
Performance data for BIOSPSP drivers
The performance data for the drivers is captured in following sections
 Features supported/not supported
 Memory usage
The following statistics are taken from drivers built in release mode.
o Program memory
o Data memory (Initialized and Un-Initialized memory)
 Resource usage
o The OS and system resources consumed by each instance of the driver in
different modes are listed.
o OS resources include usage of semaphores
o System resources include usage of EDMA3 resources (channels, PaRAMs),
interrupts and timers
 I/O throughput and corresponding CPU loading numbers are captured for I2C, SPI,
UART, McASP, McBSP, SD, NAND, LCDC raster and VPIF drivers.
Page 7 of 44
BIOSPSP Datasheet
3.1
I2C Driver
3.1.1
Features supported
3.1.2

Multi-instantiable and re-entrant driver

Each instance can operate as a receiver and/or transmitter

Supports Polled, Interrupt and DMA Interrupt Mode of operation
Features not supported
None
3.1.3
Memory usage
Memory Statistics (Bytes)
Component
3.1.4
3.1.4.1
3.1.4.2
3.1.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
I2C
13728
1429
1496
16653
I2c Edma
2528
507
0
3035
Total
16256
1936
1496
19688
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
SEMAPHORES
DESCRIPTION
None
NA
Interrupt mode
DMA mode
Page 8 of 44
BIOSPSP Datasheet
3.1.5
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
Slave device: IO Expander TCA6416.
No of bytes transferred: 2 bytes.
3.1.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 1 I2C Write Performance
Page 9 of 44
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(in KHz)
100
200
400
Time Taken
(milli-sec)
0.37
0.22
0.15
Throughput
(Kbps)
53.07
90.56
134.70
CPU LOAD
(%)
79.50
88.28
97.67
Time Taken
(milli-sec)
0.34
0.20
0.12
Throughput
(Kbps)
57.73
100.16
157.51
CPU LOAD
(%)
27.51
45.00
69.49
Time Taken
(milli-sec)
0.33
0.18
0.11
Throughput
(Kbps)
59.79
107.71
178.10
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Polled mode:
Bus Frequency
(KHz)
100
200
400
3.1.5.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 2 I2C Read performance
Page 10 of 44
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(KHz)
100
200
400
Time Taken
(milli-sec)
0.39
0.26
0.19
Throughput
(Kbps)
49.87
76.10
103.89
CPU LOAD
(%)
38.00
57.32
80.91
Time Taken
(milli-sec)
0.35
0.21
0.14
Throughput
(Kbps)
55.91
94.05
138.19
CPU LOAD
(%)
31.89
52.34
80.31
Time Taken
(milli-sec)
0.33
0.18
0.11
Throughput
(Kbps)
59.55
106.73
177.56
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Polled mode:
Bus Frequency
(KHz)
100
200
400
Page 11 of 44
BIOSPSP Datasheet
3.2
SPI Driver
3.2.1
Features supported
3.2.2

Multi-instantiable and re-entrant driver

Each instance can operate as an receiver and or transmitter

Supports Polled, Interrupt and DMA Interrupt Mode of operation
Features not supported

3.2.3
NA
Memory usage
Memory Statistics (Bytes)
Component
3.2.4
3.2.4.1
3.2.4.2
3.2.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Spi
14944
1930
1352
18226
Spi Edma
4064
855
0
4919
Total
19008
2785
1352
23145
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channel
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
Interrupt mode
DMA mode
Page 12 of 44
BIOSPSP Datasheet
3.2.5
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
Slave device: SPI Flash (M25P64)
No of bytes transferred: 256 bytes
3.2.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 3 SPI Write performance
Page 13 of 44
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.34
0.27
0.24
Throughput
(Kbps)
5952.38
7434.94
8310.25
CPU LOAD
(%)
49.13
59.79
69.80
Time Taken
(milli-sec)
0.33
0.31
0.32
Throughput
(Kbps)
6079.03
6389.78
6289.31
CPU LOAD
(%)
100.00
100.00
100.00
Time Taken
(milli-sec)
1.04
0.96
0.96
Throughput
(Kbps)
1922.46
2090.59
2084.06
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Polled mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
3.2.5.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 4 SPI Read Performance
Page 14 of 44
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.34
0.27
0.24
Throughput
(Kbps)
5905.51
7425.74
8264.46
CPU LOAD
(%)
47.08
58.92
64.51
Time Taken
(milli-sec)
0.32
0.32
0.32
Throughput
(Kbps)
6172.84
6276.15
6282.72
CPU LOAD
(%)
100.00
100.00
100.00
Time Taken
(milli-sec)
1.03
0.96
0.96
Throughput
(Kbps)
1934.86
2086.96
2087.68
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Polled mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Page 15 of 44
BIOSPSP Datasheet
3.3
UART Driver
3.3.1
Features supported
3.3.2

Multi-instance support and re-entrant driver

Each instance supports a transmit channel and a receive channel

Supports Polled, Interrupt and DMA Interrupt Mode of operation
Features not supported

3.3.3
NA
Memory usage
Memory Statistics (Bytes)
Component
3.3.4
3.3.4.1
3.3.4.2
Data Memory
Program Memory
Total
Initialized
Un-Initialized
UART
13312
2021
980
16313
UART EDMA
1856
389
0
2245
Total
15168
2410
980
18558
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
Interrupt mode
Page 16 of 44
BIOSPSP Datasheet
3.3.4.3
3.3.5
DMA mode
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 1024, 8192 and 51200 bytes
Baud rate: 115200
3.3.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 5 Uart Write Performance
Page 17 of 44
BIOSPSP Datasheet
DMA mode:
Buffer Size
(KB)
1.00
8.00
50.00
Time Taken
(milli-sec)
88.40
707.72
4423.64
Throughput
(bps)
104252.21
104176.94
104167.61
CPU LOAD
(%)
0.95
0.81
0.80
Time Taken
(milli-sec)
87.22
706.83
4424.64
Throughput
(bps)
105664.65
104307.77
104144.18
CPU LOAD
(%)
7.70
7.59
7.64
Time Taken
(milli-sec)
88.55
708.17
4425.00
Throughput
(bps)
104075.23
104111.18
104135.59
CPU LOAD
(%)
64.64
64.46
64.55
Interrupt mode:
Buffer Size
(KB)
1.00
8.00
50.00
Polled mode:
Buffer Size
(KB)
1.00
8.00
50.00
Page 18 of 44
BIOSPSP Datasheet
3.4
BLOCKMEDIA Driver
3.4.1
Features supported
3.4.2

Provides both Sync access for File system as well as for Raw/Sector
level access.

Provides interfaces for Mass Storage Class devices like NAND, SD.

Provides support for big block sector sizes.

Supports cache alignment on unaligned buffers from application.

Provides Write Protect support and Removable media support.
Features not supported
None
3.4.3
Memory usage Raw
Memory Statistics (Bytes)
Component
3.4.4
3.4.4.1
3.4.4.2
3.4.4.3
Data Memory
Program Memory
Initialized
Un-Initialized
Total
blkmedia
16544
209
1567508
1584261
Total
16544
209
1567508
1584261
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
25
Assuming MMC0, MMC1, NAND are attached to
BlockMedia
EDMA memcopy for I/O (File system) is Enabled.
EDMA memcopy for I/O (Sector level) is Enabled.
DMA mode
3.4.5 Brief usage of Semaphores:
1. Semaphore-1: For Block Media Event i.e. for attaching of device.
2. Semaphore-1: For Block Media Mount i.e. mounting drives on File system.
Page 19 of 44
BIOSPSP Datasheet
3. Semaphores-21: For each Block Media device Semaphores-3, each for Sector I/O, File
system I/O & IOCTLs invocation.
4. Semaphores-2: Each For Block Media EDMA memcopy for File system I/O and async
(Sector Level I/O).
3.4.6
EDMA3 CHANNELS
DESCRIPTION
1
For file system access
1
For RAW access
EDMA3 PARAMS
DESCRIPTION
1
For file system access
1
For RAW access
I/O Throughput and CPU Loading for MMC/SD using Block media
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 10485760 bytes (10 MB)
Card Size: 2GB SD.
Card Make: SanDisk.
3.4.6.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 6 SD WRITE Performance
Page 20 of 44
BIOSPSP Datasheet
DMA mode:
Buffer Size
(KB)
200.00
500.00
800.00
Time Taken
(seconds)
5.71
5.69
5.91
Throughput
(MBps)
1.75
1.76
1.69
CPU LOAD
(%)
1.37
1.00
0.90
Time Taken
(seconds)
26.19
13.78
11.09
Throughput
(MBps)
0.38
0.73
0.90
CPU LOAD
(%)
78.00
41.92
54.13
Polled mode:
Buffer Size
(KB)
200.00
500.00
800.00
Page 21 of 44
BIOSPSP Datasheet
3.4.6.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 7 SD READ Performance
DMA mode:
Buffer Size
(KB)
200.00
500.00
800.00
Time Taken
(seconds)
4.55
4.52
4.52
Throughput
(MBps)
2.20
2.21
2.21
CPU LOAD
(%)
1.43
1.04
0.94
Time Taken
(seconds)
4.54
4.52
4.52
Throughput
(MBps)
2.20
2.21
2.21
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
200.00
500.00
800.00
Page 22 of 44
BIOSPSP Datasheet
3.4.7
I/O Throughput and CPU Loading for NAND using Block media
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 5242880 bytes (5 MB)
Size of NAND: 512 MB.
3.4.7.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 8 NAND WRITE Performance
DMA mode:
Buffer Size
(KB)
75.00
125.00
500.00
Time Taken
(seconds)
8.08
6.95
4.63
Throughput
(MBps)
0.62
0.72
1.08
CPU LOAD
(%)
36.52
36.79
38.98
Time Taken
(seconds)
7.17
6.11
3.94
Throughput
(MBps)
0.70
0.82
1.27
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
75.00
125.00
500.00
Page 23 of 44
BIOSPSP Datasheet
3.4.7.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 9 NAND READ Performance
DMA mode:
Buffer Size
(KB)
75.00
125.00
500.00
Time Taken
(seconds)
2.99
2.99
3.07
Throughput
(MBps)
1.67
1.67
1.63
CPU LOAD
(%)
30.25
30.29
32.16
Time Taken
(seconds)
3.33
3.33
3.41
Throughput
(MBps)
1.50
1.50
1.47
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
75.00
125.00
500.00
Page 24 of 44
BIOSPSP Datasheet
3.5
GPIO
3.5.1
Features supported
3.5.2

Setting GPIO pin directions

Marking pins or banks as available for use

Enabling and Disabling of bank interrupts

Registering interrupt handlers for a pin or bank interrupt

Getting or setting a group of pins to a value
Features not supported

3.5.3
None
Memory usage
Memory Statistics (Bytes)
Component
3.5.4
3.5.4.1
3.5.4.2
Data Memory
Program Memory
Initialized
Un-Initialized
Total
Gpio
4064
1332
2860
8256
Total
4064
1332
2860
8256
Resource usage
Semaphores
SEMAPHORES
DESCRIPTION
NA
NA
EDMA resources
EDMA3 CHANNELS
DESCRIPTION
NA
NA
EDMA3 PARAMS
DESCRIPTION
NA
NA
Page 25 of 44
BIOSPSP Datasheet
3.6
McASP Driver
3.6.1
Features supported
 Multi-instance support and re-entrant driver
 Each instance can operate as a receiver and/or transmitter
 Supports multiple data formats
 Can be configured to operate in multi-slot TDM, I2S, DSP and DIT (S/PDIF)
modes
 Mechanism to transmit desired data (such as NULL tone) when idle
 Explicit control of PIN directions for High Clock, Bit Clock and Frame Sync
PINS.
 FIFO support for both TX and RX sections.
3.6.2
Features not supported
 Sample rate change IOCTL is not supported in master mode.
3.6.3
Memory usage
Memory Statistics (Bytes)
Component
3.6.4
3.6.4.1
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Mcasp
18912
3626
1360
23898
Mcasp Edma
5952
854
0
6806
Mcasp ioctl
8768
1527
0
10295
Total
33632
6007
1360
40999
Resource usage
DMA mode
SEMAPHORES
DESCRIPTION
0
NA
INTERRUPTS
DESCRIPTION
1
For transmit and receive combined.
EDMA3 CHANNELS
DESCRIPTION
1
Per channel
EDMA3 PARAMS
DESCRIPTION
2
Per channel
Page 26 of 44
BIOSPSP Datasheet
3.6.5
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
Codec device: AIC3106
Sample Rate: 48 KHz
Word Length: 32 bit
Mode of MCASP: DSP
3.6.5.1
I/O Read-Write Performance
The following graphs represent latency period and CPU loads at different sample size.
Figure 10 Mcasp Read write performance
Page 27 of 44
BIOSPSP Datasheet
The following graph represent latency period at different sample size.
Figure 11 Mcasp latency
DMA mode:
Latency
(ms)
Sample Size
CPU Load (%)
0.5
24
49.06
1
48
24.92
2
96
16.68
4
192
9.38
8
384
5.52
32
1536
2.59
48
2304
2.22
64
3072
2.13
Page 28 of 44
BIOSPSP Datasheet
3.7
McBSP Driver
3.7.1
Features supported
 Multi-instance support and re-entrant driver
 Each instance can operate as a receiver and/or transmitter
 Supports multiple data formats
 Mechanism to transmit desired data (such as NULL tone) when idle
3.7.2
Memory usage
Memory Statistics (Bytes)
Component
3.7.3
3.7.3.1
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Mcbsp
12448
1469
1736
15653
Mcbsp Edma
4608
649
8
5265
Mcbsp ioctl
2336
345
0
2681
Total
19392
2463
1744
23599
Resource usage
DMA mode
SEMAPHORES
DESCRIPTION
0
NA
INTERRUPTS
DESCRIPTION
1
For transmit and receive combined.
EDMA3 CHANNELS
DESCRIPTION
1
Per channel
EDMA3 PARAMS
DESCRIPTION
2
Per channel
Page 29 of 44
BIOSPSP Datasheet
3.7.4
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
Buffer Length: 104448 bytes
Word Length: 32 bit
No of Channel: 1
Note:
 While calculating the throughput and the CPU load, the Mcbsp is configured in
loopjob mode.
 The data integrity has not been verified in this test case since this will
introduce a delay which does not serve the purpose of the test case.
3.7.4.1
I/O Write Performance
Figure 12 Mcbsp Write performance
Page 30 of 44
BIOSPSP Datasheet
DMA mode:
Bit Clock
(KHz)
768.00
1024.00
1411.20
1536.00
2048.00
3072.00
Time Taken
(milli-sec)
1086.31
8133.74
5905.42
5403.89
4067.09
2674.31
Throughput
(Kbps)
751.17
100.32
138.18
151.00
200.64
305.13
CPU LOAD
(%)
1.82
2.24
2.88
3.10
3.94
5.72
Page 31 of 44
BIOSPSP Datasheet
3.8
Audio Interface Driver
3.8.1
Features supported
3.8.2

Multi-instance support and re-entrant driver.

Each instance can be used to configure a complete receive and transmit
section of an audio configuration consisting of an audio device and multiple
audio codecs.
Features not supported
None
3.8.3
Memory usage
Memory Statistics (Bytes)
Component
3.8.4
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Audio
2528
69
340
2937
Total
2528
69
340
2937
Resource usage
None
Page 32 of 44
BIOSPSP Datasheet
3.9
Aic3106 codec Driver
3.9.1
Features supported
3.9.2
3.9.3

Multi-instance support and re-entrant driver.

Each instance can operate as a receiver and or transmitter.

Interfaces to control the codec specific features like sample rate etc.
Features not supported
None
Memory usage
Memory Statistics (Bytes)
Component
3.9.4
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Aic31
7360
472
140
7972
Total
7360
472
140
7972
Resource usage
SEMAPHORES
DESCRIPTION
1
For Both TX and RX channels combined.
Page 33 of 44
BIOSPSP Datasheet
3.10
SD Driver
3.10.1 Features supported

Plain module like interface (non-IOM drivers)

Re-entrant safe driver

Provides Async IO mechanism

Configurable to operate in Polled and DMA mode

Supports hot removal and insertion of MMC/SD card

Supports variety of SD cards
o
Patriot 8GB SD card
o
Transcend 512 MB SD card
o
Sandisk 4GB SD card
3.10.2 Features not supported

4 bit and 8 bit MMC operation
3.10.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
dda_mmcsdBios
4448
926
68
5442
dda_mmcsdCfg
0
0
ddc_mmcsd
2496
8
37978
llc_mmcsd
33024
3264
8
2458
295
0
3559
Total
40736
3687
2564
46987
3.10.4 Resource usage
3.10.4.1
3.10.4.2
Polled mode
SEMAPHORES
DESCRIPTION
6
Blkmedia callback, driver alignment and sync operations.
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
Page 34 of 44
BIOSPSP Datasheet
3.10.4.3
DMA mode
SEMAPHORES
DESCRIPTION
6
Blkmedia callback, driver alignment and sync operations.
EDMA3 CHANNELS
DESCRIPTION
2
For Transmit Channel
2
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
2
For Transmit Channel
2
For Receive Channel
Page 35 of 44
BIOSPSP Datasheet
3.11
NAND Driver
3.11.1 Features supported

Plain module like interface (non-IOM drivers)

Supports 512-byte page and 2048-byte page NAND devices.

Supports 8-bit and 16-bit NAND devices

Error correction using 4-bit ECC mechanism

Supports wear-leveling and bad-block management functionalities

Supports protecting a portion of the NAND flash from application access
3.11.2 Features not supported
None
3.11.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
dda_nandBios
2464
47
28
2539
ddc_nandFtl
7968
321
20288
28577
ddc_nand
1024
56
0
1080
llc_nand
9696
702
136
10534
Total
21152
1126
20452
42730
3.11.4 Resource usage
3.11.4.1
3.11.4.2
3.11.4.3
Polled mode
SEMAPHORES
DESCRIPTION
1
For exclusive locking of IO APIs, erase IOCTL, driver registration,
and completion callback to blkmedia driver.
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
2
For exclusive locking of IO APIs, erase IOCTL, driver registration,
completion callback to blkmedia driver and edma synchronization
DMA mode
Page 36 of 44
BIOSPSP Datasheet
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit and receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit and receive Channels
Page 37 of 44
BIOSPSP Datasheet
3.12
LCDC RASTER Driver
3.12.1 Features supported

Supports QVGA display.

Supports enabling and disabling of raster.

Supports display at various bits per pixel configurations – 1, 2, 4, 8, 12 and
16bpp.

Supports channel creation and deletion through GIO creates and deletes APIs
and queueing and dequeing of buffers through GIO issue and reclaim APIs.

Supports ioctls to retrieve the raster and sub panel configuration.

Supports ioctls for setting the sub panel and DMA configurations (frame buffer
mode, burst size and end of frame interrupt).

Supports adding and clearing events and event stats.
3.12.2 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Raster
18848
12435
336
31619
Total
18848
12435
336
31619
3.12.3 Resource usage
3.12.3.1
3.12.3.2
3.12.3.3
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
None
NA
DMA mode
Page 38 of 44
BIOSPSP Datasheet
EDMA3 PARAMS
DESCRIPTION
None
NA
3.12.4 I/O throughput
The following are setup details for measuring the performance in LCDC Raster driver.
Mode: 16 bpp
CPU load: 20.30%
Page 39 of 44
BIOSPSP Datasheet
3.13
VPIF Driver
3.13.1 Features supported

Supports Multiple VPIF channels (2 capture and 2 display channels are
supported on C6748 EVM)

Supports dual channel 8-bit BT.656 capture and single channel 8, 10 or 12-bit
RAW capture (not validated).

Supports dual channel 8-bit BT.656 display.

External Device Control Interface using EDC driver for seamless integration
with different video encoder or decoder devices

Supports flipping/exchange of multiple frame buffers for seamless capture
and display operation
3.13.2 Features not supported

HD Capture and Display

RAW Display

VBI data Capture and Display
3.13.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Vpif
30432
10252
1408
42092
Total
30432
10252
1408
42092
3.13.4 Resource usage
3.13.4.1
DMA mode
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
None
NA
EDMA3 PARAMS
DESCRIPTION
None
NA
Page 40 of 44
BIOSPSP Datasheet
3.13.5 I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
No of frames: 300
3.13.5.1
I/O Read-Write Performance
Figure 13 VPIF Read-Write performance
NTSC mode:
Buffer Size
3
4
5
Time Taken
(seconds)
10.01
10.01
10.01
Throughput
(fps)
29.97
29.98
29.97
CPU LOAD
(%)
2.69
2.68
2.69
Time Taken
(seconds)
12.00
12.00
11.99
Throughput
(fps)
25.01
25.01
25.01
CPU LOAD
(%)
2.56
2.57
2.57
PAL mode:
Buffer Size
3
4
5
Page 41 of 44
BIOSPSP Datasheet
3.14
VPIF EDC Driver
3.14.1 Features supported

Generic interface for codec interaction

Plain Module like interface (non-IDriver interface)

ADV7343 encoder support

TVP5147 decoder support
3.14.2 Features not supported

ED and HD parameter settings are not supported
3.14.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Adv7343
9184
2991
19
12194
CodecInterface
3296
845
188
4329
Tvp5147
10848
3257
0
14105
Total
23328
7093
207
30628
3.14.4 Resource usage
SEMAPHORES
DESCRIPTION
1
For synchronization of VBI data capture
Page 42 of 44
BIOSPSP Datasheet
3.15
PSC
3.15.1 Features supported

Simple module level functions.

Standalone module (driver).
3.15.2 Features not supported

PSC does NOT support instances.

PSC does not implement IOM interface.
3.15.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Psc
864
60
256
1180
Total
864
60
256
1180
3.15.4 Resource usage
NA
Page 43 of 44
BIOSPSP Datasheet
3.16
EvmInit
3.16.1 Features supported

Evm specific initializations for the required modules.
3.16.2 Features not supported

Initializations specific only to those instances used by the sample application
are supported.
3.16.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
audio_evmInit
224
0
44
268
gpio_evmInit
96
0
0
96
i2c_evmInit
96
0
0
96
mcbsp_evmInit
96
0
0
96
mmcsd_evmInit
576
148
0
724
mmcsd_startup
416
0
0
416
nand_evmInit
160
0
0
160
nand_startup
416
0
4
420
spi_evmInit
96
0
0
96
uart_evmInit
128
0
0
128
Vpif_evminit
3072
499
52
3623
Lcdcraster_evminit
576
4
4
584
Total
5952
651
104
6707
3.16.4 Resource usage
NA
Page 44 of 44