cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f103vct6 uart4,no recieving interrupt,plz help me!

zhengd
Associate
Posted on November 20, 2010 at 04:50

stm32f103vct6 uart4,no recieving interrupt,plz help me!

3 REPLIES 3
zhengd
Associate
Posted on May 17, 2011 at 14:15

void ISR_UART4(void)

{

u16 u16RecvData = 0;

if( USART_GetITStatus(UART4,USART_IT_TXE))  

{

USART_ClearITPendingBit(UART4, USART_IT_TXE);

}

if( USART_GetITStatus(UART4,USART_IT_RXNE))

{

USART_ClearITPendingBit(UART4, USART_IT_RXNE);

u16RecvData = USART_ReceiveData(UART4);

   

   

}

}

Posted on May 17, 2011 at 14:15

Can you post interrupt handler code?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 17, 2011 at 14:15

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6X2&d=%2Fa%2F0X0000000bq4%2Ft6WFArC153UMj_CvTD2AHWKoIHkxYoxapvEvRFCrZeM&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..