<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C520BF.7B2630F0">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>H<font color=navy><span
style='color:navy'>i </span></font>All,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> We are
developing MCC driver for MPC8280. We are using TDMD2 for
2 channels in HDLC mode. </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> Currently we are
testing using internal/external loopback setting. For this we have
connected BRG6 Output to CLK19 and TMR3IN (timer3 input). The TMR3O(timer 3 output)
is fed to L1RSYNC. We are receiving GUN interrupt. In the first interrupt we
are receiving IDL interrupt followwd by GUN interrupt and the driver
stops.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> We have
verified the reasons given for this.But not able to overcome this problem.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> I have
pasted some of the code snippets of my driver which i am doubtful of. I
hope to get some comments from the group on this.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> Please find
below some of the code snippets: </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <strong><b><font
face=Arial><span style='font-family:Arial'>/*Configuring SIxMR for TDMD2*/</span></font></b></strong></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <span
class=GramE>immap</span>->im_siramctl2.si_dmr = 0xA68;
/*(SI_M_CRT | SI_M_SDM_INTERNAL_LOOPBACK | SI_M_SAD_0 | SI_M_CE | SI_M_FE |
SI_M_SL | SI_M_RFSD_2BIT_DELAY);*/</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <strong><b><font
face=Arial><span style='font-family:Arial'>/* SI2 RAM programming*/</span></font></b></strong></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> immap->im_si2txram[0]
= ( SIRAM_MCC | (SIRAM_CNT_1<<2) |SIRAM_RESOL_BYTE| (128<<5));<br>
immap->im_si2txram[1] = ( SIRAM_MCC |
(SIRAM_CNT_8<<2) | SIRAM_RESOL_BYTE | SIRAM_ENTRY_LAST | (129<<5));</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_si2rxram[0] = ( SIRAM_MCC | (SIRAM_CNT_1<<2)
|SIRAM_RESOL_BYTE| (128<<5));<br>
immap->im_si2rxram[1] = ( SIRAM_MCC
|(SIRAM_CNT_8<<2) |SIRAM_RESOL_BYTE| SIRAM_ENTRY_LAST | (129<<5));</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <strong><b><font
face=Arial><span style='font-family:Arial'>/*Clock and BRG6 initialization */</span></font></b></strong></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <span
class=GramE>immap</span>->im_cpmtimer.cpmt_tmr3= 0x0e;
/*(CPM_TIMER_ICLK|CPM_TIMER_GE|CPM_TIMER_FRR);*/<br>
immap->im_cpmtimer.cpmt_trr3=
0x41; /* 63 bits :: <strong><b><font face=Arial><span
style='font-family:Arial'>Is this right</span></font></b></strong>, I have set
it to 63 b<font color=navy><span style='color:navy'>e</span></font>cause my
first channel is 1 bit wide and second channel is 64 bit wide */<br>
<span class=GramE>immap</span>->im_cpmtimer.cpmt_tgcr2
= 0x09 ; <br>
immap->im_brgc6 = 0x00010000; /* Directly
feeding BRG6 with BRG_CLK which is of 33Mhz in my board*/</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <strong><b><font
face=Arial><span style='font-family:Arial'>/*Port pin configuration*/</span></font></b></strong></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> immap->im_ioport.iop_psorb
|= (TDMD2_L1TXD|TDMD2_L1RXD|TDMD2_L1RSYNC); <br>
immap->im_ioport.iop_pdirb &=
~(TDMD2_L1TXD|TDMD2_L1RXD|TDMD2_L1RSYNC); </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_pparb |=
(TDMD2_L1TXD|TDMD2_L1RXD|TDMD2_L1RSYNC); </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_psora &= ~(TDMD2_CLK19); </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_pdira &= ~(TDMD2_CLK19); <br>
immap->im_ioport.iop_ppara |= (TDMD2_CLK19); <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_psorc &= ~(TDMD2_TIN3 | TDMD2_BRGO6
|TDMD2_TOUT3);</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_pdirc |= (TDMD2_BRGO6 | TDMD2_TOUT3); <br>
immap->im_ioport.iop_pdirc &=
~(TDMD2_TIN3); </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_ioport.iop_pparc |= (TDMD2_TIN3 | TDMD2_BRGO6 |
TDMD2_TOUT3); </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_cpmux.cmx_si2cr |= (TDMD2_CLK19_CS);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> /*Initialize
RxBDs.*/ called for two channels</span></font></b></strong><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></b></strong><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> for
(index = 0; index < MAX_NUM_BD; index++)<br>
{<br>
if( index !=
(MAX_NUM_BD-1) ) /* If not the last RxBD for this channel */<br>
{<br>
rx_tx_bd->rx_bd[index+offset].cbd_sc = 0x9000; /* Empty, Interrupt */<br>
}<br>
else /* if last
RxBD for this channel */<br>
{<br>
rx_tx_bd->rx_bd[index+offset].cbd_sc = 0xB000; /* Empty,
Interrupt,and wrap */<br>
}<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* set the CM bit in the RxBDS
*/<br>
rx_tx_bd->rx_bd[index+offset].cbd_sc |= 0x0200; /* set
continuous bit */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* clear the buffer length */<br>
rx_tx_bd->rx_bd[index+offset].cbd_datlen = 0;<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* set address to point to proper receive area for this BD in
the bufferpool scheme this program uses */<br>
va_ptr = (u32
*)cpm2_hostalloc(MAX_BUF_LEN, 8);<br>
rx_tx_bd->rx_bd[index+offset].cbd_bufaddr = (uint )__pa(va_ptr);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
} /* end for loop initializing RxBDs */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/* <strong><b><font face=Arial><span
style='font-family:Arial'>Initialize TxBDs and RX BDs for both the channels</span></font></b></strong>*/<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> for ( offset = 0, counter =
0; counter < NUM_CHANS_PER_TDM;)<br>
{<br>
<strong><b><font face=Arial><span style='font-family:Arial'>
/* Initialize TxBDs. */</span></font></b></strong><b><span style='font-weight:
bold'><br>
<strong><b><font face=Arial><span style='font-family:Arial'> </span></font></b></strong></span></b>
for (index=0; index < MAX_NUM_BD; index++)<br>
{<br>
if( index !=
(MAX_NUM_BD-1) ) /* If not the last TxBD for this channel */<br>
{<br>
/* Set
Ready bit */<br>
rx_tx_bd->tx_bd[index+offset].cbd_sc = 0x8000;<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* If this channel is HDLC, also set Last and TC bits */<br>
rx_tx_bd->tx_bd[index+offset].cbd_sc |= 0x0C00;<br>
}<br>
else /* if last
TxBD for this channel */<br>
{<br>
/* Set
Ready, Wrap bits */<br>
rx_tx_bd->tx_bd[index+offset].cbd_sc = 0xA000;<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* If this channel is HDLC, also set Last and TC bits */<br>
rx_tx_bd->tx_bd[index+offset].cbd_sc |= 0x0C00;<br>
};<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* set the CM bit in the TxBDS
*/<br>
rx_tx_bd->tx_bd[index+offset].cbd_sc |= 0x0200; /* set
continuous bit */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
/* set address to point to proper receive area for this BD in the
bufferpool scheme this program uses */<br>
va_ptr = (u32
*)cpm2_hostalloc(MAX_BUF_LEN, 8);<br>
memset(va_ptr,(u8)'B', MAX_BUF_LEN);<br>
rx_tx_bd->tx_bd[index+offset].cbd_bufaddr = (uint )__pa(va_ptr);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><br>
/* load the buffer
length */<br>
rx_tx_bd->tx_bd[index+offset].cbd_datlen = 54;//MAX_BUF_LEN;<br>
}/* end for loop initializing TxBDs */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> offset = (++ counter *
MAX_NUM_BD);<br>
} /* End of outer for loop*/<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> /* MCC Init*/</span></font></b></strong><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> #define
TDM 3</span></font></b></strong><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_mcc2.mcc_mccf = TDM | (TDM << 2) | (TDM << 4) |
(TDM << 6); /* Enable TDM2 to use channels 128 to 225 */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> /* Clear all the
interrupts and enable the required interrupts */<br>
immap->im_mcc2.mcc_mcce = (MCC_EM_GOV | MCC_EM_GUN
| MCC_EM_TINT | MCC_EM_TQOV |<br>
MCC_EM_RINT3 | MCC_EM_QOV3 | MCC_EM_RINT2 | MCC_EM_QOV2<br>
|MCC_EM_RINT1 | MCC_EM_QOV1 | MCC_EM_RINT0 | MCC_EM_QOV0);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_mcc2.mcc_mccm = (MCC_EM_GOV | MCC_EM_GUN | MCC_EM_TINT |
MCC_EM_TQOV |<br>
MCC_EM_RINT3 | MCC_EM_QOV3 | MCC_EM_RINT2 | MCC_EM_QOV2<br>
|MCC_EM_RINT1 | MCC_EM_QOV1 | MCC_EM_RINT0 | MCC_EM_QOV0);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> Note : Apart from
this i am doing global channel parameters, channel specific parameters and xtra
channel parameters.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> /* Initialising the TX
and Rx parameters */</span></font></b></strong><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> while
((immap->im_cpm.cp_cpcr & CPCR_FLG) != READY_TO_RX_CMD);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_cpm.cp_cpcr = CPCR_INIT_TX_RX_ONECHANL | psbc | (128<<6)|
CPCR_FLG; /* ISSUE COMMAND */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> while
((immap->im_cpm.cp_cpcr & CPCR_FLG) != READY_TO_RX_CMD);<o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> while
((immap->im_cpm.cp_cpcr & CPCR_FLG) != READY_TO_RX_CMD);<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>
immap->im_cpm.cp_cpcr = CPCR_INIT_TX_RX_ONECHANL | psbc | (129<<6)|
CPCR_FLG; /* ISSUE COMMAND */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> while
((immap->im_cpm.cp_cpcr & CPCR_FLG) != READY_TO_RX_CMD);<o:p></o:p></span></font></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <strong><b><font
face=Arial><span style='font-family:Arial'>/*Enabling TDMD2 */</span></font></b></strong><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <span
class=GramE>immap</span>->im_siramctl2.si_gmr = 1 << 3;<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:11.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face="Times New Roman"><span
style='font-size:11.0pt;mso-bidi-font-family:"Courier New"'>Any hint would be
greatly appreciated.</span></font><font size=2><span style='font-size:11.0pt;
mso-bidi-font-family:Arial'><br style='mso-special-character:line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]><font color=navy><span style='color:navy'><o:p></o:p></span></font></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
11.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face="Times New Roman"><span
style='font-size:11.0pt;mso-bidi-font-family:Arial'> Best Regards,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face="Times New Roman"><span
style='font-size:11.0pt;mso-bidi-font-family:Arial'><br>
-Akash Kaul<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>