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.

Is it possible to use 1ch upp output , 1ch upp input 8bit and RMII ethernet at the same time, in OMAP-L138?

Other Parts Discussed in Thread: AM1808

I'm using AM1808/L138 to develop a special scanner.

I need to use 2 ch uPP(one 8bit input channel, one 16bit output channel) and ethernet  at the same time, but I can not use MII interface. So I want to use the RMII ethernet interface which use the same pins as upp channel B [7:0] (upp_data[15:8]).

uPP Channel Control Register (UPCTL) Bit Assigned Channel
CHN  IWA  IWB  DATA[15:8]  DATA[7:0]  XDATA[15:8]  XDATA[7:0]
  0       0        x        —                  A[7:0]         —                     —
  0       1        x        A[15:8]          A[7:0]         —                     —
  1       0        0       B[7:0]            A[7:0]         —                     —
  1       0        1       B[7:0]            A[7:0]         B[15:8]            —
  1       1        0       B[7:0]            A[7:0]         —                     A[15:8]
  1       1        1       B[7:0]            A[7:0]         B[15:8]            A[15:8]


  1       1        1       RMII              A[7:0]         B[15:8]            A[15:8]

If I set CHN=1  IWA=1  IWB=1 and in PINMUX reg I set the upp_data[15:8] pins as the RMII function, is that functional?

  • The configuration you describe has not been tested by TI, so we can't support using the peripherals in that combination.  With that said, I think it should work.  If it does, you will need to deal with the fact that your "8-bit input" (i.e. channel B) is actually being stored as 16-bit values with the LSBs containing bad data.  Depending on what speed you operate the uPP peripheral, it could require significant CPU overhead to "clean" incoming data buffers.

  • I'd like to "clean" incoming data buffers by using another dma. If we get  some uselful result, I'll post it there.