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.

TMS320F280039C: 关于无法进入RX fifo 中断的问题

Part Number: TMS320F280039C

您好:

我参考的是官方的sci_ex2_loopback_interrupts.c例程进行串口收发的调试,经过测试发现无法进入接收中断服务函数,代码如下:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
uint16_t sDataA[2];
uint16_t rDataA[2];
//
// Function Prototypes
//
__interrupt void sciaTxISR(void);
__interrupt void sciaRxISR(void);
//
// Main
//
void main(void)
{
uint16_t i;
//
// Configure PLL, disable WD, enable peripheral clocks.
//
Device_init();
//
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

我打断点发现,在完成SCI_enableFIFO(SCIA_BASE)后,SCIFFPE变成了1,并且后面的复位操作并没有消除该错误标志。

麻烦您帮忙看看我的程序是否存在问题,谢谢!