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.

am1707 mcasp1 edma3 problems

Other Parts Discussed in Thread: AM1808, AM1707

hi !

I am using AM1808_StarterWare_1_00_03_03  examples\mcasp\    sources for development

for am1707 chip (becouse it have two mcasps)

For mcasp0 and with edma3 it works very good

But i want to move it on mcasp1 

I changed event\interrupt number from 0 and 1 respectivetely to

PORT_RX EDMA3_CHA_MCASP0_RX =2

PORT_TX EDMA3_CHA_MCASP0_TX =3

and moved mcasp start addresses

#ifdef port1
#define SOC_MCASP_0_CTRL_REGS (0x01D00000+0x4000)
#define SOC_MCASP_0_FIFO_REGS (0x01D01000+0x4000)
#define SOC_MCASP_0_DATA_REGS (0x01D02000+0x4000)
#endif

But inerrupt into end of block not exist ( in mcasp0 it works good)

All mcasp  syncs(frame, bit clock etc are connected by wire)

Please answer truely   CAN AM1707 WORK WITH MCASP1 AND EDMA3 ?

AND WHAT'IS  THE PROBLEM ?

Best regards

Serg

Ps please answer asap

  • Hi Serg,

    Thanks for your post.

    For sure, AM1707 has EDMA support with McASP1 but there is no Starterware support availble to use McASP example directly for AM1707 and you cannot use the same McASP example code available for AM1808 to use it for AM1707.

    Also, you may need to configure system configuration register (CFGCHIP1) to provide AMUTEIN signal source control to McASP1 if applicable. Please refer Section 10.5.15 of AM1707 TRM as below:

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

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------- 
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------
  • hi!
    >For sure, AM1707 has EDMA support with McASP1 but there is no Starterware support availble to use McASP example directly for AM1707 and you cannot use the same >McASP example code available for AM1808 to use it for AM1707.

    I am already have to use  Starterware for am1808 becouse  you do not releases  Starterware  with mcasp & edma3 for am1707 By the way, why ? Am1707 is full commercial product and needs wih program support 

    But, listen attentively
    I wrote "For mcasp0 and with edma3 it works very good " So - the problems of moving from am1808 to am1707 was solved
    My question is - what difference with programming edma3 for mcasp1 
    Two evident differences - start adress of mcasp1 and edma3 channel 2,3 - i wrote

    Also - mcasp 0,1 sync pins(frame,bit clock) configured as mcasp interface into GEL file (may send) 
    and connected by wire in couples
    It configured as input (exclude tx) into program

    McASPPinDirOutputSet(SOC_MCASP_0_CTRL_REGS, MCASP_PIN_AXR(MCASP_XSER_TX));

    McASPPinDirInputSet(SOC_MCASP_0_CTRL_REGS, MCASP_PIN_AFSX
    | MCASP_PIN_ACLKX
    | MCASP_PIN_AFSR
    | MCASP_PIN_ACLKR
    | MCASP_PIN_AXR(MCASP_XSER_RX))

    The master (sourcer) of ACLK and AFS signals   is external adc for both mcasp-s . AHclk is from external crystal generator too

    >Also, you may need to configure system configuration register (CFGCHIP1) to provide AMUTEIN signal ;

    I think it have a direct bearing with data pin muting but not for sync signals

    So i repeat my question - is the special ruse for programming edma3 for mcasp1 for am1707 
    I readed blogs  ti e2e community  and see this question many times for other da-vinci and etc ppocessors But 
    i have not direct solving this problems in your answers
    Please give the direct answer how to provide mcasp1 &edma3 operation

    If you do not understand this please connect me with specialist in this concrete problem

    Best regards
    Serg

  • Please, answer the question.

  • Please, kindly answer my letter of October 25

  • hi!
    >For sure, AM1707 has EDMA support with McASP1 but there is no Starterware support availble to use McASP example directly for AM1707 and you cannot use the same >McASP example code available for AM1808 to use it for AM1707.

    I am already have to use  Starterware for am1808 becouse  you do not releases  Starterware  with mcasp & edma3 for am1707 By the way, why ? Am1707 is full commercial product and needs wih program support 

    But, listen attentively
    I wrote "For mcasp0 and with edma3 it works very good " So - the problems of moving from am1808 to am1707 was solved
    My question is - what difference with programming edma3 for mcasp1 
    Two evident differences - start adress of mcasp1 and edma3 channel 2,3 - i wrote

    Also - mcasp 0,1 sync pins(frame,bit clock) configured as mcasp interface into GEL file (may send) 
    and connected by wire in couples
    It configured as input (exclude tx) into program

    McASPPinDirOutputSet(SOC_MCASP_0_CTRL_REGS, MCASP_PIN_AXR(MCASP_XSER_TX));

    McASPPinDirInputSet(SOC_MCASP_0_CTRL_REGS, MCASP_PIN_AFSX
    | MCASP_PIN_ACLKX
    | MCASP_PIN_AFSR
    | MCASP_PIN_ACLKR
    | MCASP_PIN_AXR(MCASP_XSER_RX))

    The master (sourcer) of ACLK and AFS signals   is external adc for both mcasp-s . AHclk is from external crystal generator too

    >Also, you may need to configure system configuration register (CFGCHIP1) to provide AMUTEIN signal ;

    I think it have a direct bearing with data pin muting but not for sync signals

    So i repeat my question - is the special ruse for programming edma3 for mcasp1 for am1707 
    I readed blogs  ti e2e community  and see this question many times for other da-vinci and etc ppocessors But 
    i have not direct solving this problems in your answers
    Please give the direct answer how to provide mcasp1 &edma3 operation

    If you do not understand this please connect me with the specialist in this concrete problem

    Best regards
    Serg