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.

how to use dm6437's uart interrupt?

I have realized the dm6437's uart data transmition interrupt, but  i can not get the data receiver interrupt. My main program is listed as follows. if other uart's register should be configurated  ? Please give me some guide. thank u.

 EVMDM6437_init( );

/* Open Uart Handle */
 uart1 = SEEDDEC6437_UART_open(1,
          baud_9k6,
          data_w8,
          data_s1,
          data_p);

uart1->regs->IER = 0x0007; //使能中断

for ( i = 0 ; i < 0x100 ; i++ ) {
        rx[i] = 0;
}

 while(1)
 {
   
    while(1)
   {
    
    tmp = EVMDM6437_UART_rcvReady( uart1 );
    if(tmp == 1)
     break;
    
   }
   
   EVMDM6437_UART_getChar( uart1, &rx[i] );
   

   while(1)
   {
    tmp = EVMDM6437_UART_xmtReady( uart1 );
    if(tmp == 1)
     break;
   }
     EVMDM6437_UART_putChar( uart1, rx[i] );*/
    

  }