This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320C5545: C5545 boosterpack Related

Part Number: TMS320C5545
Other Parts Discussed in Thread: CC2650, TCA6416

Tool/software: Code Composer Studio

Hi,

1)I'm interested in the I2S output connecting to a slave bluetooth module device. Can dsp provide clk for i2s output like using the internal master clk generated by 12mhz oscillator?

2)I'm interested in connecting small LED to the boosterpack but not as small as OLED on board. Any recommendations and instructions on how to do that?

  • Hi,

    The C5000 team is notified. They will post their feedback directly here.

    Best Regards,
    Yordan
  • HI V Pot,

    V Pot said:

    1)I'm interested in the I2S output connecting to a slave bluetooth module device. Can dsp provide clk for i2s output like using the internal master clk generated by 12mhz oscillator?

    Yes, the C5545 DSP can operate I2S in Master mode, where it drivs the Bit Clock and Frame Sync. It will generate clock frequencies with integer dividers from the SYSCLK. SYSCLK is generated from the PLL using either the 32768 RTC clock or 12MHz CLKIN.

    On the C5545 Booster Pack, I2S1 is routed to the J7 header.

    With J13 removed, the direction of the U13 level shifter requires the C5545 I2S to be the clock and FS master.

    Make sure to supply a voltage to J7 pin 1 LP_3V3 for the level shifter to have a B-side reference.

    Normally the attached LaunchPad provides this voltage with 3.3V. If no LP is attached, then attach a jumper wire from J7 pin 1 to TP3 for 3.3V or TP4 for 1.8V.

    The C5545 DSP BoosterPack Software (http://www.ti.com/lit/zip/sprcae7) configures I2S as slave (codec as Master).

    But we have CSL examples of the I2S as master - download them from http://www.ti.com/tool/sprc133.

    See <install_path>\c55_csl_3.08\ccs_v6.x_examples\i2s\CSL_I2S_AudioCodec_DMA\codec_aic3254.c

    - I2S0_CR   |= 0x0012;    // 16-bit word, Master, enable I2C

    - I2SSCTRL register bit 1. 1 = Serializer is configured as a master.

    V Pot said:
    2)I'm interested in connecting small LED to the boosterpack but not as small as OLED on board. Any recommendations and instructions on how to do that?

    Do you mean LCD instead of LED?

    If you were going to do a new design, I'd recommend using SPI or the LCD peripheral to interface to an LCD display (or OLED).

    If you are restricted to the C5545 BoosterPack, you will probably need to find an I2C display since SPI is used for the SPI flash and the CC2650 and the LCD signals are pinmuxed in other ways and used around the board. I2C is available at the J7 header.

    You have access to SPI and LCD signals on the C5535 eZdsp board at the edge connector.

    C5535 eZdsp: http://www.ti.com/c5535ezdsphttp://www.ti.com/lit/ml/sprt611/sprt611.pdf

    If its just an LED, then you could use a GPIO. The only available GPIOs at J7 are muxed with UART and I2S1. So you'd have to give up UART or I2S1 to use as GPIO.

    Refer to Table 6-7. LCD Controller, SPI, UART, I2S2, I2S3, and GP[31:27, 20:18] Pin Multiplexing in the C5545 Datasheet for the pin muxing options.

    Alternately, you can attach an I2C IO Expander (like TCA6416) to get 16 additional GPIOs that are controllable via I2C). We did this on the C5517 EVM (http://www.ti.com/tool/tmdsevm5517)

    I2C is available on J7 header.

    Hope this helps,
    Mark

  • hi mark,

    thanks for taking time and replying.
    1)so i just need to do following changes to my current code to make my booster pack i2s out put as master? I apologize i've very limited knowledge about these stuff and we try to develop an application with booster pack and transmit the dsp audio to phone for recording using c2564 bluetooth module. we've the dev kit of c2564 and we want to test it end to end . if possible can you guide me end to end to establish this connection. i'll worry about led or lcd later point of time. priority is to connect booster pack dsp audio output to bluetooth c2564 and transmit to phone for recording using hfp profile.
    - I2S0_CR |= 0x0012; // 16-bit word, Master, enable I2C

    - I2SSCTRL register bit 1. 1 = Serializer is configured as a master.
  • That will configure the I2S0 to be the clock master. Make sure no other master also drives the clock and frame sync signals, or there will be contention.

    You may also have to configure the pinmuxing to get I2S out of the pins - EBSR register will do that.

    We can help you to get the connection working as you encounter each issue.

    Regards,
    Mark