BF609 PPI operation

Hi ADI's

One of my customer wants to use BF609 to acquire and process two images (both sides) at the same time.

She succeeded in getting the data by scanning the image, but has a question about the operation of BF609.

Question

1. Can I use DMA normally even if I use channel 0 of ppi0 and channel 0 of ppi1 at the same time?

2. If data of channel 0 of ppi0 is received in 16 bits, is the operation time the same as when receiving 8 bits?

3. In addition, I want to know what is the criteria for dividing channel 0 and channel 1 of eppi0.

The DMA and PPI settings currently used. (EPPI0_CH0)

 * pREG_DMA29_CFG = ENUM_DMA_CFG_WRITE | ENUM_DMA_CFG_PSIZE01 | ENUM_DMA_CFG_MSIZE01 | ENUM_DMA_CFG_STOP | ENUM_DMA_CFG_YCNT_INT | ENUM_DMA_CFG_ADDR2D | ENUM_DMA_CFG_SYNC;

* pREG_EPPI0_CTL = ENUM_EPPI_CTL_POLC00 | ENUM_EPPI_CTL_NO_SKIP | ENUM_EPPI_CTL_DLEN08 | ENUM_EPPI_CTL_EXTFS | ENUM_EPPI_CTL_EXTCLK | ENUM_EPPI_CTL_SYNC0 | ENUM_EPPI_CTL_NON656 | ENUM_EPPI_CTL_RXMODE;

Channel 0 of PPI0 is used as 8 bits.

Thank you

  • 0
    •  Analog Employees 
    on Jan 24, 2020 7:13 AM

    Hi Andrew,

    Sorry for the delay in response.

    1) Regarding, " Can I use DMA normally even if I use channel 0 of ppi0 and channel 0 of ppi1 at the same time?"
    >> Yes, Both EPPI0 and EPPI1 channel0 DMA can be used at the same time. But you have to consider the interrupt priority here.

    2) Regarding, "If data of channel 0 of ppi0 is received in 16 bits, is the operation time the same as when receiving 8 bits?"
    >> Please refer BF60x Hrm EPPI->Data Transfer Modes at page no:2002.

    3) Regarding, "In addition, I want to know what is the criteria for dividing channel 0 and channel 1 of eppi0."
    >> If EPPI_CTL.SPLTEO is set, the EPPI uses two DMA channels. the EPPI splits the incoming data stream into two sub-streams, an even stream and an odd stream, and packs
    them separately. if EPPI_CTL.SPLTEO is cleared EPPI uses only one  DMA channel.

    >> The EPPI_CTL.DMACFG bit is also available only if EPPI_CTL.SPLTEO=1. If EPPI_CTL.DMACFG=1, the EPPI uses two DMA channels and if EPPI_CTL.DMACFG=0, the EPPI uses only one DMA channel

    Regards,
    Anand Selvaraj.