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?