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.

TMS320F28377D: 测试官方例程clb_ex11_interrupt_tag无法进入中断,编译与调试无报错信息。

Part Number: TMS320F28377D
Other Parts Discussed in Thread: SYSCONFIG

在调试clb_ex11_interrupt_tag例程,发现无法进入中断,详细如下:

这段代码主函数是一个while空循环,只是CLB模块内有个计数器在两个比较匹配值时会触发中断,理论上就会进入ISR。编译、下载、调试、运行都不报错,但就是不进入ISR,得到不预期功能。

期待官方能解答一下。

参考:www.ti.com/.../spruir8a.pdf

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//#############################################################################
//
// FILE: clb_ex11_interrupt_tag.c
//
// TITLE: CLB Interrupt Tag.
//
//! \addtogroup driver_example_list
//! <h1>CLB Interrupt Tag</h1>
//!
//! For the detailed description of this example, please refer to:
//! C2000Ware_PATH\utilities\clb_tool\clb_syscfg\doc\CLB Tool Users Guide.pdf
//!
//
//
//#############################################################################
//
// $Release Date: $
// $Copyright:
// Copyright (C) 2013-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX