Other Parts Discussed in Thread: AM3517
Hi,
I am trying to make working the UART4 on AM3517. The pins multiplexed with Camera re used on my board (gpio_95, gpio_96, gpio_97, gpio_98). I am working with Linux mainline (3.3).
The serial is correctly initialized - however, I cannot see any activity on the TX line. I have checked with a JTAG debugger the values for pinmux and clocks (both ick and fck). The fck clock is not reported in TRM, but I read in this forum it is 23 of PRCM.CM_FCLKEN1_CORE. This is set.
Reading the pinmux, I get:
480021e4 : 0002010c 011a0002 010c0102 010c010c ................
480021f4 : 010c010c 010c010c 0100010c 01000000 ................
48002204 : 01000100 00000000 00000000 01080108 ................
48002214 : 010c010c 01080104 01080108 01080108 ................
48002224 : 01040108 01080108 01000108 01180100 ................
Pinmux is set to Mode-2, that is uart instead of camer.
And reading the PRCM clock, bit 23 for both FCLKEN1 and ICKEN1 are set.
48004a00 : 00806001 00000000 00000004 00000000 .`..............
48004a10 : 7fbffedb 0000001f 00000004 00000000 ................
48004a20 : df7f9e1d 0000001f 00000009 00000000 ................
48004a30 : 43fffe58 00000000 00000004 00000000 X..C............
48004a40 : 0000030a 00000000 00000020 00000007 ........ .......
48004a50 : 00000000 00000000 00000000 00000000 ................
However, I do not see what I am sending - does anybody know any issue using these pins as UART instead of camera ? Does anybody have success with it ?
Is there any other important subsystems I should enable for UART4 ?
Thanks,
Stefano Babic