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.

rdk value SB

Other Parts Discussed in Thread: DIR9001, PCA9535, PCM3070

i am referring to TI Value Sound Bar Reference Design.

i started programming the board. Audio Codec programming was done successfully. Plese tell me How to program MSP430

  • Hi Srinivas,

     

    Please refer to section 10.2 of the development guide. It has step by step instructions on software development.

    http://www.ti.com/tool/rdk-value-sb

     

    Are you developing your own MSP430 codes?

     

    reg,

    Paul.

     

  • no paul, i am not developing my own code currently. Now i want to use the code(.d43) given with RDK Value Sound Bar Reference Design. plese tell me how to program MSP430.

                   i didnot find any useful information in the Development Guide you provided. I am Designing a Sound Bar by using value soundbar reference design.

    regards,

    Srinivas .T

  • Hi Srinivas,

    Are you using the IAR kickstart tool for MSP430 programming? Below is the user's guide for the MSP430 IAR workbench. Are you running into error during compilations?

     

    http://www.ti.com/lit/ug/slou315a/slou315a.pdf

     

    http://www.ti.com/lit/ug/slou315a/slou315a.pdf

     

    reg,

    Paul.

     

     

  • hi paul,

                 now i am able to program both codec and MSP430 successfully. i didnt get any error. But the system is not working as expected.

    problems observed:

    1. the shtudown(SD) pin from MSP430 is always Low

    2. we are able to perform analog bypass mode successfully. but when we try to pass through miniDSP, output is not coming. hence i am doubting that minidsp is not working. this is because it may not be getting proper clock( MCLK) input. Also when i observed on CRO, MCLK is not as expected.

                           hence i am thinking that DIR9001 is not working properly.

                  Please tell me where is the problem. while programming i didnt get any error, but it is not sounding as expected.

                  Please kindly give us faster responce as we are running out of time.

    Regards,

    Srinivas. T

  • Hi Srinivas,

    Regarding the DIR9001, what is the status on the following pins - VDD, VCC, CKSEL, ERROR, FMT1, FMT0, SOUT0, FSOUT1, /RST, SCKO, BCKO, LRCKO, DOUT?

    Is the PCA9535 (IO expander) have the proper mapping between the output pin and the MSP430 code? Does it follow the RDK-VALUE-SB schematic exactly? Does the MSP430 detect the shutdown button has been pressed?

    Is your PCB based on the RDK-VALUE-SB reference design exactly. If this is not the case, can you share the schematic? Do you have a RDK-VALUE-SB EVM that you can used it as reference during debugging process?

     

    reg,

    Paul.

     

     

     

  • Hi Paul,

                    myself and Deepak, who posted the following link were working together.

    http://e2e.ti.com/support/amplifiers/audio_amplifiers/f/6/p/297943/1040350.aspx#1040350

                     Find the attached Schematics here.2117.SB_MB_R1_1.pdf.

    We have referred to TI's RDK-Value-SB. Slight modification was done which is explained in the above link.

                     The status of DIR9001 pins after programming MSP430.

                                 VDD---3.3V;

                                 VCC---3.3V; 

                                 CKSEL---3.3V(even after pressing spdif button on Switch Board)

                                 ERROR---3.3V

                                 FMT0---3.3V

                                 FMT1---3.3V

                                 FSOUT0---0V

                                 FSOUT1---3.3V

                                 /RST---3.3V

                                  SCKO---(unable to measure with our CRO)

                                  BCKO~=6MHz

                                  LRCKO~=96KHz

                                  DOUT---0V

     

                           The MSP430 is not responding to Switch Board. i.e the response was not observed. Same with Shut down button also.

    Audio Codec:

                            we are able to play music only in analog bypass mode by powering up MAL and MAR. But playback with minidsp is not happening.i.e with LDAC_P/M and RDAC_P/M. 

                           Please do the needful at the earliast.

  • Hi Srinivas,

    It looks like the DIR9001 is having PLL lock issue. CKSEL needs to be L for recovering the lock and decoding the data from the biphase input. Can you try pull CKSEL to H?

    FSOUT0=L and FSOUT1=H indicate that the PLL is locked but the sampling frequency is out of range or if the PLL is unlocked. ERROR=H indicating PLL unlock or detection parity error.

    What is the sampling rate of the biphase input? What is the setting for PSCK1 and PSCK2? Are you able to play the I2S audio on the RDK-VALUE-SB EVM?

    The MSP430 is not responding to all the buttons on your switch board or just not responding to the shutdown button alone?  It may be that the MSP430 is not programmed properly causing the CKSEL and button issue. How do you verify the MSP430 has been programmed successfully?

     

  • Hi Paul,

                  Now we are able to observe all the clocks perfectly(BCLK, MCLK, LRCLK, SCL). The problem we observed now is the MSP430 is unable to Load the data from EEPROM to PCM3070. i.e the booting is not done correctly. This is making /SD always low. MSP430 flashing was done correctly, but MSP is unable to boot codec. Please kindly Tell us where the problem is and how to recover from this issue.

                   Also while while writing to EEPROM it is asking EEPROM I2C address. What is the address we have to specify there. In the script the I2C address was 30(.cfg file) .

    Please explain us how EEPROM I2C address effect programming.

                   kindly please do the needful.

    Regards,

    Srinivas. T.

  • Srinivas,

    Looks like you're doing it right. The address is 0xA2. However, I do not see the code loaded though. You should be able to see the code size and the bottom bar filled up. See the reference guide  page 10. When you load the code make sure that you double click on the blue high-lighted row. Hope this helps.

     

     

    reg,

    Paul.

     

  • Hi Paul,

    I am able to do that. But the problem is, after writing to EEPROM and programming MSP430, the system is not sounding. We observed that MSP is not Loading the Register values to CODEC. i.e MSP is not booting the codec properly. Why this is Happening.

    Also while writing to EEPROM, it is asking EEPROM I2C address. It was 0XA2 by default. But in the Script the I2C address was 0X30 (W 30 00 00). What is the significance of EEPROM I2C address.

    Please do the needful. thank you.

    Regards,

    Srinivas. T.

  • Hi Srinivas,

    I've a few questions -

    1. Were you able to program MSP430 codes to the EEPROM?

    2. After MSP430 codes are programmed to EEPROM, are you able to use the switch board to control the SB?

    3. Are you able to use the PurePath SW to play sound via miniDSP?

    The PCM3070 supports the I2C control protocol, and will respond to the I 2 C address of 0011000.

     

    reg,

    Paul.

     

  • Hi Paul,

    1. i am able to program EEPROM.

    2. No, i am not able to control SB from switch board.

    3. NO. miniDSP is not working in play back mode. only analog playback mode is working.

    Also Paul, We want to interface IR to SB. I am using IR receiver specified in RDK Value SB(751-1386-5). What type of IR Transmitter has to be used. How to interface this IR to MSP430. What are the changes we have to made in MSP430 code.

    Regards,

    Sinivas. T.