AnsweredAssumed Answered

BF537 - PPI and TWI configuration

Question asked by Linou on May 7, 2010
Latest reply on Aug 4, 2010 by PrasanthR

Hi,

 

I'm working on a BF537 board and I would like some help about the use of the TWI and the PPI ports. I need to connect a video camera to the PPI port to receive data and to the TWI port to control the camera. I have configure the port like this :

 

TWI:

TWI_CLKDIV      2727

TWI_CONTROL     008C

TWI_MASTER_CTL      002C

TWI_MASTER_STAT     0004

TWI_INT_STAT     0030

TWI_INT_MASK     00F0

 

PPI:

PPI_CONTROL     02C1

     PORT_EN     1

     PORT_DIR     0

     SFR_TYPE     0

     PORT_CFG     0

     FLD_SEL     1

     PACK_EN     1

 

     SKIP_EN     1

     SKI¨_EO     0

     DLEN     0

     POL     0

     POLS     0

 

PPI_DELAY     0

PPI_COUNT     06B3

PPI_FRAME     01FB

 

Is it the good configuration ?

 

Thanks in advance, Regards.

Outcomes