ADSP-BF533 EZ-KIT Lite  AD1836

Hello ereryone, i'm a  freshman about bf533.now i'm faced a problem which confule me  about one weeked. that is: I want use the  sport0'Rx and spi'Rx port to receive two group of  datas. then employ subtraction on these two group datas  after the two group data was normalizated. in order not to lose data, i use pingpong method.  the  bf533 EZ-KIT Lite  has 4  input jarks and 6 output jarks. now my queston is  how i  can discriminate  the input jarks.  how i  konw the  spi  input jack   and   sport0 input jark. i has read the visul dsp++'s example ,the project is C_Talkthrough_TDM.  what functon about    iChannel0LeftIn  iChannel0RightOut in project.  hope  have explain the problem clearly .who can help me,thank you vevy much.

  • 0
    •  Analog Employees 
    on Mar 21, 2012 10:49 AM

    I assume you have gone through EZ-KIT schematic. The codec (which receives Audio signals from input Jacks) provides the digitized data through SPORT Rx peripheral.

    SPI is used to program the codec registers. It is not used to receive the ADC data (nor used to transmit DAC data).

  • thank you prashant ,because i have to receive two group of datas on EZ-KIT in my project, how i should to do? do sport0'Rx receive two group datas ?then  receive  A in  high level ,receive B in low level.  another question,if i only use the sport0'RX ,then how i can discriminate the 4 input jarks.  if you have the ralated examples which not  privacy,would you send one to me ? thank you again.

  • 0
    •  Analog Employees 
    on Mar 27, 2012 7:51 AM

    Hi wumo,

    Sorry for delay in getting back to you.

    As mentioned in Datasheet, 'There are four ADC channels in the AD1836A which can be configured as two independent stereo pairs (two stereo ADCs)'. So, you can receive two groups of stereo data. ADC1 outputs it's data on primary Data channel while ADC2 outputs on secondary data channnel. So, enable both data channels of your SPORT.

    Regarding example code, I think you might be aware of Example Projects available in VDSP installation directory.

    'Audio Codec Talkthrough - I2S' project is actually capable of receiving two audio streams.

    One path:

               Audio-Out      Audio In

    White      OXO               XO 

    Red        OOX               OX

    other path:

               Audio-Out      Audio In

    White      OOX              OX 

    Red        OXO               XO

    If you have any doubts, please feel free to ask.

    Thanks,

    Prashant

  • 0
    •  Analog Employees 
    on Apr 26, 2012 2:42 AM

    Hi Wu,

    Sorry.. I messed up the things by looking at Readme file of BF561's Audio_Talkthrough project.

    Your are correct that paths I have sugegsted will not work on BF533 EZ-KIT. 

    The Audio Input Output Jacks of BF533 Ez-KITs are as follow:

    Audio-Out Audio-In
    DAC3 Left DAC2 Left DAC1 Left ADC1 Left ADC2 Left
    DAC3 Right DAC2 Right DAC1 Right ADC1 Right ADC2 Right

    So, the two stereo paths can be realised on BF533 EZ-KIT are as follow:

    1] One path (using ADC1 and DAC1 of codec):

                                         Audio-Out      Audio In

    White(Left-channel)        OOX               XO 

    Red   (right-channel)       OOX               XO

    2] other path (using ADC2 and DAC2 of codec):

                                        Audio-Out      Audio In

    White(Left-channel)        OXO             OX 

    Red   (right-channel)       OXO             OX

    So, your first set-up would also work (using one channel from each ADCx/DACx). But try to use set-up as explained above.

    However, I am little confused over your second set-up.

               Audio-Out      Audio In           Audio -out    Audio  in

                 3 2 1               1 2                 3 2 1           1 2

    White      OSO               OA                SSO           AO

    Red        SSO                BO                OOO           OB  

    Could you please explain it in details?

    [FYI, you can't use DAC3 of AD1836 codec in your application, because DSDATA3 pin of codec (which is feeding DAC3) is unconnected.

    But as shown in EZ-KIT manual, for testing purpose you can route input received on ADC2 to DAC3 by making SW1.5 and SW1.6 switches ON. ]

    Thanks,

    Prashant

  • thanks prashant.

    i still  is confused,now i state my question in another way:  i want input two audio streams,  one is  A, another is B. then C=A-B, a series signal processing operation   on C, finally get S.   the output signal also is S. how i should do?

    your ideas is:

    One path:                                       two path

               Audio-Out      Audio In            Audio-out    Audio  in

    White      OXO               XO                OOX            OX

    Red        OOX               OX                 OXO            XO

    my ideas is:(i can't sure if i am  wrong or  right)

               Audio-Out      Audio In           Audio -out    Audio  in

                 3 2 1               1 2                 3 2 1           1 2

    White      OXO               OX                OOX            XO

    Red        OOX                XO                OXO            OX

               Audio-Out      Audio In           Audio -out    Audio  in

                 3 2 1               1 2                 3 2 1           1 2

    White      OSO               OA                SSO           AO

    Red        SSO                BO                OOO           OB        

      (the output signal S ,can export hrough any jark form the  6 output jarks,is this ideas  right?)

      could you tell  me how  i  should  do . thank you again.