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.

TMS320F280049C: Usage of SCI-A interrupt

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hello TI Community,

I'm new to interrupts and need some guidance. I've configured my system to receive characters via UART interrupt and send them back to the console via UART transmission. However, the system isn't receiving characters as expected. Below is the code for your review. Any help would be greatly appreciated. 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "F28x_Project.h"
#include "inc/hw_types.h"
#include "driverlib.h"
#include "device.h"
#include "IQmathLib.h"
#include "math.h"
#include "FullBridgeInv.h"
#include "dlog_4ch.h"
#include "F28004x_Gpio.h"
#include "asysctl.h "
void interrupt void uartRxISR();
void interrupt void uartTxISR();
void initSCIA();
// UART receive interrupt handler
interrupt void uartRxISR(void)
{
// Read received data
char receivedChar = SciaRegs.SCIRXBUF.all;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thank you!

Vishal Tyagi