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.
尊敬的,
我的应用是EV空调,在旧版本,我们使用CAN进行通信,它是正常的。 但是,CTM需要我们在新版本中更改Lin协议,我们在代码方面遇到一些问题,Pls帮助我们提供一些建议。
由于 ADC_ISR_User()需要太多的时间来处理,为不 影响Lin communite,我们使用 嵌套 函数(KAdc_IrqNestAllow_Flg 缺省值1)
无论我们将 KAdc_IrqNestAllow_Flg设置为1或0,代码都可以运行,但Lin communition将受到影响,
所以我的问题是,当我们启动嵌套 函数并运行Lin 协议时 ,代码将运行到 F2806X_DefaultIsr.c,而这不是启用的。 如果 我的嵌套 函数(KAdc_IrqNestAllow_Flg 缺省值)不正常,请帮助确定? 很棒的酒店