2938 views|5 replies

12

Posts

0

Resources
The OP
 

How to use freertos to forward the received message content [Copy link]

 

Can I use the original canRxCallback( ) function?

You still need to use IQRHandler() interrupt and message queue.

Latest reply

To use IQRHandler() interrupts, use message queues To use IQRHandler() interrupts, use message queues To use IQRHandler() interrupts, use message queues  Details Published on 2022-10-11 13:20
 

6063

Posts

4

Resources
2
 
This post was last edited by damiaa on 2022-6-4 20:05

The message queue can transfer information between tasks, interrupts and tasks.

If the information you are transmitting is only received and sent in a single task, without interruption and multitasking, then it is not necessary. Just use it directly.

If your sending and receiving are in different tasks, or between interrupts and tasks, then it is necessary.

The conjecture you mentioned above is used in multi-tasking, so you need to use a message queue.

 
 
 

12

Posts

0

Resources
3
 
damiaa posted on 2022-6-4 20:01 It is said that message queues can transfer information between tasks and between interrupts and tasks. If the information you transfer is only received in a single task at the same time...

Thank you very much

 
 
 

7422

Posts

2

Resources
4
 

Generally, it will be transmitted through a message queue. Generally, the processing logic of CAN will be made into a thread/task and wait on this message queue.

 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

104

Posts

0

Resources
5
 

It depends on how you use it. Different usages may lead to different processing methods. You gave too little information!

 
 
 

87

Posts

0

Resources
6
 
To use IQRHandler() interrupts, use message queues To use IQRHandler() interrupts, use message queues To use IQRHandler() interrupts, use message queues
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
Research on the difference between left and right channel signals of audio

This post was last edited by bqgup on 2020-9-18 14:31 # Exploration of the difference between left and right channel s ...

Common delay and interrupt problems and solutions for various microcontrollers

Delay and interrupt errors are common problems encountered by MCU novices in the process of MCU development and applicat ...

[Raspberry Pi Pico Review]——by fxyc87

@fxyc87 - Unboxing + Download - Start Programming - Start compiling the program 2 - How to save the written progra ...

15th Anniversary] EE DIY (Progress) -- Upper Computer UI Changes

This post was last edited by RCSN on 2021-7-12 18:00 For details of DIY projects, see this post The previous host com ...

[HPM-DIY] HPM6750 USB open source protocol stack performance comparison - cherryusb or tinyusb?

Since the current hpm SDK uses tinyusb, the performance speed is still extremely unmatched with the high-speed USB of t ...

Integrated operational amplifier practical circuit diagram

This book introduces the basic knowledge of integrated operational amplifier circuits and explains the diagram reading. ...

Network port isolation transformer network cable side protection and routing

662606 As shown in the figure above, the upper side is a network port isolation transformer, U43 is a clamping diode, th ...

Ask for advice on the full-bridge circuit driving motor capacitance problem

This full-bridge circuit drives the motor. Is this capacitor necessary? How to choose the capacitor size? 667441

How much salary can a hardware engineer with a bachelor's degree and 5 years of work experience get in your city?

This post was last edited by Nubility on 2023-3-15 09:14 I failed to change my career. I was unemployed for too long. I ...

"Artificial Intelligence Practical Tutorial - From Python to Machine Learning" Reading Sharing 3: Principal Component Analysis

This post was last edited by cc1989summer on 2024-8-22 23:08 The second part of "Artificial Intelligence Practical Tuto ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list