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.

problem with codec AIC23 in EVM6455

Other Parts Discussed in Thread: TMS320C6455, CCSTUDIO

Hello!

I have two board: DSK6455 (without connector J9 for mezzanine card) and EVM6455 with mezzanine card (J9 connector).

With DSK6455 I use DSK6455 Diagnostic Utility v3.3: this program tests all devices in DSK and all tests are ok.

After I use EVM6455 (but mezzanine card is disconnected!) and DSK6455 Diagnostic Utility v3.3 fails in test of codec AIC23.

My questions are:

1) it's right this? the DSK6455 Diagnostic Utility v3.3 works only in DSK and not in EVM? Someone can try this in EVM6455 (with mezzanine disconnected)? or maybe the codec in my EVM is damaged...

2) the two board have SW1 switches but I cant understand the meaning of 4 switches in SW1. I read Technical reference of TMS320C6455 evaluation module but it'snt clear....

Thanks!!

Stefano

 

  • Stefano,

    Stefano said:
    1) it's right this? the DSK6455 Diagnostic Utility v3.3 works only in DSK and not in EVM? Someone can try this in EVM6455 (with mezzanine disconnected)? or maybe the codec in my EVM is damaged.

    This is not right. I am pretty sure that the main board of the EVM is the same as the DSK other than the mezzanine connector. It sounds like the codec or some wiring is damaged. Have you tried any program examples that would use the codec to see if you can get anything to work with it?

    Stefano said:
    2) the two board have SW1 switches but I cant understand the meaning of 4 switches in SW1. I read Technical reference of TMS320C6455 evaluation module but it'snt clear....

    The Tech Ref is not consistent in the names of the signals associated with SW1. You need to know that in Table 1, the signals USR_SW3:0 are the same as USER_SW3:0 in Table 2.

    What can be added to the text in Section 2.5 on page 24 to make it more clear what the user switches are for and how they are used?

    TechRef said:
    The DSK includes 4 software accessible LEDs (D7-D10) and DIP switches (SW1) that provide the user a simple form of input/output. Both are accessed through the CPLD USER_REG register.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • RandyP said:

    Have you tried any program examples that would use the codec to see if you can get anything to work with it?

    Randy, yes, I tried with TI' project dsk_app (example in C:\CCStudio_v3.3\boards\dsk6455_v2\examples\dsk_app) and, in EVM, DSP is stopped in routine DSK6455_AIC23_rset at line DSK6455_I2C_write (I2C line doesn't works...):

    void DSK6455_AIC23_rset(DSK6455_AIC23_CodecHandle hCodec, Uint16 regnum, Uint16 regval)
    {
        Uint16 buf = ( ( regval & 0x00FF ) << 8 ) | ( regnum << 1 ) | ( regval >> 8 );
        DSK6455_I2C_write( DSK6455_AIC23_I2CADDR, ( Uint8* )&buf, 2 );
        if ( regnum < DSK6455_AIC23_NUMREGS )
            codecstate.regs[regnum] = regval;
    }

    With DSK it's ok.

    RandyP said:

    The Tech Ref is not consistent in the names of the signals associated with SW1. You need to know that in Table 1, the signals USR_SW3:0 are the same as USER_SW3:0 in Table 2.

    Table 1 and 2 in Tech Ref of DSK6455 at page 18 (2-3)?

    RandyP said:

    What can be added to the text in Section 2.5 on page 24 to make it more clear what the user switches are for and how they are used?

    The DSK includes 4 software accessible LEDs (D7-D10) and DIP switches (SW1) that provide the user a simple form of input/output. Both are accessed through the CPLD USER_REG register.

    [/quote]

    I dont know....

    Thanks

    Stefano

     

     

  • Stefano,

    Your description sounds pretty clear that there is a board or device problem on your EVM base board.

    I also do not know what needs to be clarified for you in the Tech Ref descriptions of the LED and User switches.What are your questions?

    In the dsk_app project in dsk_app.c, there is a function blinkLED() that reads a switch and writes to an LED driver. Perhaps the source for the Board Support Library (BSL) functions in blinkLED() will help clear up your questions.

    Regards,
    RandyP

  • RandyP said:

    What are your questions?

    I woul know if my problem in CODEC derived from SW1 (maybe, this my doubt, some setting of SW1 can affect the use of codec... but If I understand, isn't so)

    Randy,  many thanks!

    Stefano