This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uPP (loopback) failure

 Hi,

 

I'm trying to deploy the uPP BIOS driver which is supplied with PSP 1.30.1 for C6748.

My first step was to try and run the example given with the same PSP (simple loop-back between the two channels), it fails.

 

The loop-back transmit/receive sequential pattern.

If I try the loop-back at 8-bit width, 75MHz (the given example without any change), it misses every third byte.

If I try my own configuration (16-bit, 50MHz) I get the following pattern -

00    01    02    01    06    05    08    09    0C    0D    0E    0D    12    11    14    15    18    19    1A    19    1C    1D    1E    1D    22    21
24    25    28    29    2A    29    2E    2D    30    31    34    35    36    35    3A    39    3C    3D    40    41    42    41    46    45    48    49
4C    4D    4E    4D    52    51    54    55    58    59    5A    59    5E    5D    60    61    64    65    66    65    6A    69    6C    6D    70    71
72    71    76    75    78    79    7C    7D    7E    7D    80    81    82    81    86    85    88    89    8C    8D    8E    8D    92    91    94    95
98    99    9A    99    9E    9D    A0    A1    A4    A5    A6    A5    AA    A9    AC    AD    B0    B1    B2    B1    B6    B5    B8    B9    BC    BD
BE    BD    C2    C1    C4    C5    C8    C9    CA    C9    CE    CD    D0    D1    D4    D5    D6    D5    DA    D9    DC    DD    E0    E1    E2    E1
E4    E5    E6    E5    EA    E9    EC    ED    F0    F1    F2    F1    F6    F5    F8    F9    FC    FD    FE    FD    02    01    04    05    08    09
0A    09    0E    0D    10    11    14    15    16    15    1A    19    1C    1D    20    21    22    21 
..........................

 

Any idea?

 

Regards,

Uri

  • Are you using the C6748 EVM or a custom board?

    Jeff

  • Hi Jeff,

     

    You question had caused me to re-check, and here are my findings -

     

    I have two sample of uPP code. The first came from the PSP (v1.30.1), the second from the uPP Wiki

    The second works on both targets I have (LogicPD eXperimenter Kit, and our custom board)

    The PSP example works fine on the eXperimente, and fails (as described) on the custom board.

    I'm trying to think what could causes it, but how custom board effects uPP digital loop-back?

     

    Regards,

    Uri

  • The culprit has been found.....

    The clock from the periphral interfer with the loop-back....

     

    Uri

  • Hi All,

    I am working on the SBC8018 board for upp driver. I am able to build and install the upp driver code given on the below link,

    I am trying to run loop back using linux upp driver code.

     I have allocated statically tx/rx buffer. While reading rx buffer I am always getting value as 0.

    Could you please let me know, is static buffer allocation affect this DMA operation.

    Here is my upp configuration,


     UPPID = 44231100
     UPPCR =       8a
     UPDLB =     1000
    RSVD0 =        0
    UPCTL =        7
     UPICR =        0
     UPIVR =        0
     UPTCR =        0
     UPISR =     1010
     UPIER =        0
     UPIES =        0
     UPIEC =        0
     UPEOI =        0
                =        0
                =        0
                =        0
     UPID0 = c6df0068
     UPID1 =    10040
     UPID2 =        0
                =        0
     UPIS0 = c6df0068
     UPIS1 =    20000
     UPIS2 =       80
                =        0

    UPQD0 = c6df2210

    UPQD1 =    10040
     UPQD2 =        0
                  =        0
     UPQS0 = c6df2210
     UPQS1 =    20000
     UPQS2 =       80
                 =        0
    With this configuration I am always getting rx buffer value as zero.

    Please let me know any modification do I need to make on kernel side to make it work.

    Thanks

    Mrudula

  • Hi Mrudula,

    Kindly create your new request as a new thread so that, we would get more chance to pay more attention towards new thread instead of old one.

    Thanks & regards,

    Sivaraj K