Interrupt Nesting & SW Priorization [공개]
관련문서
https://software-dl.ti.com/C2000/docs/c28x_interrupt_nesting/html/index.html
C28x Interrupt Nesting
In most cases a system will only require one or two interrupts to be nested. This is easily handled by the example shown previously. There is, however, an example provided by which covers possibilities for every single interrupt in the group. This example
software-dl.ti.com
PIE 그룹과 채널 디폴트 우선순위
TIMER1 : INT13
TIMER2 : INT14
인터럽트가 코어에 전달되는 과정
방법
INT13, INT14는 Nesting을 위해 Step3-3과 Step5 수행. SW Priotization 하려면 STEP1 수행
PIE그룹에 속하는건 Nesting을 위해선 Step3과 Step5 수행. SWPriotization까지 하려면 전부 해야함
필요한 헤더파일 경로
- sw_prioritized_isr_levels.h : C:\ti\c2000\C2000Ware_4_02_00_00\driverlib\f2838x\examples\c28x\interrupt
- sw_interrupt_prioritization_logic.h : C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2838x\common\include
TIMER0,1,2 인터럽트를 통해 중첩과 인터럽트 우선순위 변경 테스트
디폴트 실행
우선순위 변경후 중첩 허용
최적화 레벨 수정