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.

REG Configuration of PRU UART0 for AM335x

Other Parts Discussed in Thread: SEGGER

Hi,

I have configured UART5 for my custom board using AM335x. Now i need to configure UART0 PRU. i tried doing the same way as UART5 with change in PIN MUX. its configured with TX pin with D15 and RX pin with D16 in mode 5. But i could see any info on serial port (for both tx and rx characters).

i have configured the control config registers for uart 0 as (as per the mux tool)

HWREG( SOC_CONTROL_REGS + UART_RX_PIN_CHANNEL_0 ) = 0x2D;
// (UART_RX_PAD_CONF_PULLUP_RXACTIVE_FASTCTRL | GPIO_PAD_MODE_5);
// UART0_TX config
// Write to UART0 TX PAD Register
HWREG( SOC_CONTROL_REGS + UART_TX_PIN_CHANNEL_0 ) = 0xD;
// (UART_TX_PAD_CONF_PULLUP_FASTCTRL | GPIO_PAD_MODE_5);

i have the same steps as those of uart5 but additionally added wakeup clk settings. And i heard that we need a separate debug plug PRU-ICSS Debug (separate debugger). presenlty am using a segger JLink with IAR IDE. and im referring to PRUSS_UART0 Registers to check values.

im just following like a normal uart setup( apart from extra clock config for uart 0). do i need to use anything extra for PRU- uart0.


please help me out of this situation.


Regards,

Mahendra . S