Hi,
I am using the 6748DSP and trying to do some basic test on uart. I just need to configure the uart to send some characters and in polling mode. I have followed all the steps metiioned in the spruh79(6748 reference manual) regarding the uart initialisation , but i cannot make it work. I just need simple uart. When i configure the MCR to work in loopback mode i can see the THR buffer data being loopbacked to RBR (from ccs).
But when in a non loopback mode, there is no tx or rx happening. I feel there is some clock to be enabled . i cannot figure it out.. Please anyone can help on this.
30.2.7 Initialization
The following steps are required to initialize the UART:
1. Perform the necessary device pin multiplexing setup (see your device-specific data manual).
2. Set the desired baud rate by writing the appropriate clock divisor values to the divisor latch registers
(DLL and DLH).
3. If the FIFOs will be used, select the desired trigger level and enable the FIFOs by writing the
appropriate values to the FIFO control register (FCR). The FIFOEN bit in FCR must be set first, before
the other bits in FCR are configured.
4. Choose the desired protocol settings by writing the appropriate values to the line control register
(LCR).
5. If autoflow control is desired, write appropriate values to the modem control register (MCR). Note that
all UARTs do not support autoflow control, see your device-specific data manual for supported
features.
6. Choose the desired response to emulation suspend events by configuring the FREE bit and enable the
UART by setting the UTRST and URRST bits in the power and emulation management register
(PWREMU_MGMT).