ΣSigmaStudio Ask AI Русский Log in

facing problem in implementation and interrupt handling in UART DMA in ADSP21489

Processors & DSP satya Feb 12, 2015 00:00 1 replies Original on forum ↗
Subscribe
satya Question
Feb 12, 2015 00:00

Dear Sir,

In my project, i have to work on RS422 interface for receiving input from external source to our unit

My unit is design using ADSP21489, I'm using UART interface for receiving input from external source and opted for uart DMA transfer instead core transfer.

Now, for DMA transfer

In SRU init DPI 9 pin used for UART TX and DPI 10 for UART RX and in hardware also pin assignment taken care

In UART init baud, stop and parity are set in UART0LCR and UART DMA enabled in UART0RXCTL

PICR2 set for to receive interrupt to P13

but interrupt(SIG_P13, UART0_Rx_isr ) service routine is not calling UART0_Rx_isr function when data is available.

please clarify or provide worked sample example to solve my problem as early as possible.

regards

satya

jobo23 Reply
Mar 16, 2015 00:00

Hello Satya.

There is an example in the 21489 EZkit directory that utilizes the UART receive interrupt. It can be used as the template for your application:

<VisualDSP Root Directory>\214xx\Examples\ADSP-21489 EZ-Board\UART echo back_C

-Joe