Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
yucheng
Level 5
Level 5
Distributor - Jingchuan(GC)
100 sign-ins First solution authored 50 replies posted

在使用TC387时,我配置一个中断,产生中断请求后,到对应的回调函数,而到了DefaultInterruptHandler中,有哪些情况会进DefaultInterruptHandler中吗,我在 UM 中看到了这几种,是否还有其他的可能性(end customer :小米汽车)

1f108b40a757bc628cdc9ba4a8e7faa.png

0 Likes
3 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

SSC能够检测三种不同的错误条件。接收错误在所有模式下都可以检测到;传输错误和波特率错误仅适用于从机模式。当检测到错误时,会设置相应的错误标志,如果已启用则会生成错误中断请求。

关于Default中断处理,您可否告知在哪个软件包的哪个文件中?

0 Likes
Wangbk
Level 3
Level 3
25 sign-ins 10 replies posted First question asked

 DefaultInterruptHandler是一个函数吗?有没有可能是中断函数没有配置到中断向量表?

0 Likes
yucheng
Level 5
Level 5
Distributor - Jingchuan(GC)
100 sign-ins First solution authored 50 replies posted

Hi Wangbk:

    是一个函数,我们配置了 优先级后 就不进,但是目前也没检查自己的中断优先级,如果两个中断的中断优先级是同样的,会不会还出现这样的问题,进默认的中断(default interrupt handler),不进我配置的中断

0 Likes