Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

CAN initialized error occurred while CAN and SCI driver initialized in the same thread in S124DK

$
0
0

hi,

as title.

I refer "an-r11an0065eu0101-synergy-can-hal-mod-guide", and "r11an0085eu0101-synergy-sci-uart-hal-mod-guide".

CAN or SCI function works independently,

but when I new a thread then add CAN and SCI in the stack,

then initialize SCI and CAN in "thread_entry.c".

compiling is work, but "err = g_can0.p_api->open(g_can0.p_ctrl, g_can0.p_cfg);" always return error code 60002.

Am I miss any setting?


Viewing all articles
Browse latest Browse all 5781

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>