Post Go back to editing

BF514

Could you please help on below question:

I ported my custom BF531 board's code into my custom BF514 board but I never manege to run 2D PPI DMA receive interrupt.

 

Here below is my custom board's Blackfin pin connections;

 

PORT F

PF0 - PF15 -> PPI0 - PPI15 (16 bit)

 

PORT G

PG5 -> PPI CLK

PG6 -> PPI FS1

PG7 -> PPI FS2

 

I looked https://ez.analog.com forums but there is no solved issue or I could not have found it.

  

You can see my sample code in the attachment.

 

main.c.zip
Parents
  • Dear Jithul,

     

    I solved the issue. It is not related with the flow but due to two points;

    1-) *pPORTG_FER |= 0x00E0; // Enable peripheral for PG5, PG6 and PG7, previous 0x0070 is wrong.

    2-) *pPPI_COUNT = FRAME_WIDTH*2 - 1; // this line was missing in the previous code.

     

    Thanks for your support,

    Bora

Reply
  • Dear Jithul,

     

    I solved the issue. It is not related with the flow but due to two points;

    1-) *pPORTG_FER |= 0x00E0; // Enable peripheral for PG5, PG6 and PG7, previous 0x0070 is wrong.

    2-) *pPPI_COUNT = FRAME_WIDTH*2 - 1; // this line was missing in the previous code.

     

    Thanks for your support,

    Bora

Children
No Data