AnsweredAssumed Answered

SPORT PORT initialization

Question asked by Raghupathi_Kokkarakonda on Mar 23, 2016
Latest reply on Mar 24, 2016 by Jithul_Janardhanan

Hi,

 

I am very new to the analog devices processors, am using blackfin537.

I am trying to implement the functionality of SPORT, as part of it, I tried to initialize the PORTG_FER and PORT_MUX to configure the PORTG to SPORT enabling. By the way I am using cross core studio as IDE on Windows.

 

I have written the following :

void main()

{

       int32_t addr1 = 0xFFC0320C ;

       int32_t addr2 = 0xFFC03204 ;

 

       /**

        * Initialize managed drivers and/or services that have been added to

        * the project.

        * @return zero on success

        */

       //adi_initComponents();

       *(volatile unsigned int *)addr1 = 0x0E00;

       *(volatile unsigned int *)addr2 = 0xFF00;

     

       /* Begin adding your custom code here */

}


I am unable to write into the register locations. Do I need to set anything else.

A quick response is appreciated.


Best Regards

Raghu

Outcomes