NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

PDK/PDK TDA BSPLLD User Guide

From Texas Instruments Wiki
Jump to: navigation, search
Pdk tda home page.png

Introduction[edit]

BSP LLD has the drivers for I2C, UART and McSPI modules. The drivers are based on the sysbios operating system. The drivers are implemented in the GIO models of the sysbios. Polled, Interrupt and DMA mode of transfers are supported.


Running BSPLLD examples[edit]

i2c led blink application[edit]

This application open the I2C driver instance and configures the io expander connected to the I2C bus. Through the IO expander the LEDs connected can be controlled. The application will blink the LEDs.

uart echo application[edit]

This application opens the UART driver instance in Tx and Rx mode. Accepts a input text of 1k bytes on UART terminal and sends the same on UART terminal.

mcspi spi1tospi2 application[edit]

This application transfers data between the two McSPI instances. One will be configured as slave and other is configured as master. Do the connections as shown below on before loading the application. Tx and Rx buffers are verified for data integrity, and the result is printed on console.

  • For TDA3xx please find the images below for connections. SPI pins to be connected to Visibility Connector J28 present beside SOC.
SPI1 to SPI2
SPI1 SPI2
SPI1 CS0 (Pin D4) SPI2 CS0 (Pin D1)
SPI1 SCLK (Pin D5) SPI2 SCLK (Pin C3)
SPI1 MOSI (Pin B3) SPI2 MISO (Pin C1)
SPI1 MISO (Pin C4) SPI2 MOSI (Pin E6)
Mcspitda3xxJ28.jpg
Mcspitda3xxConnector.jpg
  • For TDA2xx, TDA2Px and TDA2Ex please find the images below for connections. SPI pins to be connected to daughter card connector EXP_P3 present at

bottom side of the EVM.

SPI1 to SPI2
SPI1 SPI2
SPI1 CS0 (Pin 36) SPI2 CS0 (Pin 2)
SPI1 SCLK (Pin 35) SPI2 SCLK (Pin 1)
SPI1 MOSI (Pin 38) SPI2 MISO (Pin 3)
SPI1 MISO (Pin 37) SPI2 MOSI (Pin 4)


Mcspitda2xxconnect.jpg

mcspi loopback application[edit]

This application does the external loopback on McSPI1 and McSPI2 instances. We need to connect the Tx and Rx pins of one of the McSPI instance externally. Do the connections as shown below before running the example.

  • For TDA3xx please find the images below for connections. SPI pins to be connected to Visibility Connector J28 present beside SOC.
SPI LOOPBACK
SPI1 MOSI (Pin B3) SPI1 MISO (Pin C4)
SPI2 MISO (Pin E6) SPI2 MOSI (Pin C1)
McspiloopbackConnection.jpg
  • For TDA2xx, TDA2Px and TDA2Ex please find the images below for connections. SPI pins to be connected to daughter card connector EXP_P3 present at

bottom side of the EVM.

SPI LOOPBACK
SPI1 MOSI (Pin 38) SPI1 MISO (Pin 37)
SPI2 MISO (Pin 3) SPI2 MOSI (Pin 4)


Mcspitda2xxloopbackConnection.jpg
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article PDK/PDK TDA BSPLLD User Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article PDK/PDK TDA BSPLLD User Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article PDK/PDK TDA BSPLLD User Guide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity