Hi,
Iam trying to write a simple function in am335x beagle bone gel file to make UART2 work, but i am not getting the characters which i have sent from THR buffer, i need to know which are all registers have to set or what should be the basic configuration for UART. Below are the changes i made .
WR_MEM_32(SPI0_D0, 0x01);/*txd*/
WR_MEM_32(SPI0_SCLK, 0x21);/*rxd*/
WR_MEM_32(UART2_LCR, 0x03);
WR_MEM_32((UART2_BASE_ADDR + THR), 0x29);
i have defined these register's address at first as in the datasheet. please give any suggestions..