Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: SPORT2 in Multichannel mode

$
0
0

Hello Sachin

 

The sequence in which I am enabling the SPORTs are:

  1. Enable SPORT2 in Tx mode.
  2. Enable SPORT3 in Tx mode.
  3. Enable SPORT2 in Rx mode
  4. Enable SPORT3 in Rx mode.

 

SPORT2 and SPORT3 are getting enabled in Tx mode, but it is not getting enabled in Rx mode.

 

Yes, the TSPEN bit in both SPORT2 and SPORT3  are 1.

I verified the SPORT registers using adi_sport_GetControlReg(). And yes, they were in concurrence with "Table 24-3. Multichannel Mode Configuration" of the HRM.

 

Here are my configuration parameters:

#define WORD_LENGTH

7
#define TFS_DIV

0
#define RFS_DIV

0x0041
       //((((0+1)*8)+0)*8)+1

 

#define FRAMEDELAY
1/*as per Silicon anomaly list section 11.*/
#define WINDOWOFFSET    0   /*Start from the beginning*/
#define WINDOWSIZE
0/*Window size of  8*/

 

 

#define STARTCHANNELTX
0
#define ENDCHANNELTX
7
#define STARTCHANNELRX
0
#define ENDCHANNELRX
7

 

I can share the code if required.

Please Suggest.

 

Regards

Sujan


Viewing all articles
Browse latest Browse all 36216

Trending Articles