Hi,
I am using TMS320DM6437 EVM for my project application. And I am new to this TI + DSP area. I need to do some task on UART (mainly receive routine).
My UART module is working fine in polling method at Baud 115200, But I need to use interrupt service based on my application. I have read the SPRA544 Application report and they have given a formula to calculate the vector address as follows Address = ISTP + 32* <interrupt number>. In the Device specific datasheet it is stated that the '84' is the event number for UART0. I have configured the UART IER register to enable the Receive interrupt(ERBI = 1).
My query is :
1. Is it necessary to set the Global Interrupt Enable bit ? If so please guide me in which register I need to configure to do so.
2. # How to calculate ISTP value for UART0 Rx. After calculating the address of the ISR where should i configure ?
3. interrupt void myISR(void) {....}. Is this format for an ISR? If not, please correct me for the same