In my project I can do the Interrupt with the KBI and with the RTC. But I can't do it by the UART, Any one can help me ?
How to do this interrupt, it's urgent please
leroiwalid wrote:Hi !In my project I can do the Interrupt with the KBI and with the RTC. But I can't do it by the UART, Any one can help me ?How to do this interrupt, it's urgent pleasethanks
The following code uses the UART interrupt for transmit; receive should be similar.
Thank you redbee for your answer but this is not what I search. In fact I want to use a similar thing to what we use before with the other interrupt.I have started by declaring this code to initiate the Uart Interrupt.
ITC_Init();IntAssignHandler(gUart1Int_c, (IntHandlerFunc_t)UartIsr1);ITC_SetPriority(gUart1Int_c, gItcNormalPriority_c);ITC_EnableInterrupt(gUart1Int_c);
in the other interrupt I have just to use the CRM_RegisterISR() function to make the interruption but now I can't find a solution for the UART module.
Do you understand me ?
In other term, what I want to do is, to do a read from the NVM when the user make an order by the UART.
My problem is how to do this order by UART and with the use of the UART Interrupt.It seems to be easy but I haven't find a solution
I has alike problem too.
UART Tx can't gennerate interrupt.
I see register UART Control Register(UCON) is 0x00002003
I try to force UCON = 0x00000003 for enable TxRdy interrupt but it return to 0x00002003
Problem not yet resolved
if you generate code by BeeKit
at on function Uart_ModuleInit() make comment or delete line
// UartOpenCloseTransceiver(UART_1, BIT_RX_EN, FALSE);
maybe help you.
Thank you ZFSM
I forget to say that may codebase is the "ARM7 SMAC Codebase 1.1.4"
I think that my problem is to find a function similar to the CRM_RegisterISR()
if any one here can help me??
Retrieving data ...