Re: Speed while sending out CAN-signals
Posted: Mon 10. Apr 2017, 11:00
Thanks for the help delivered so far. Good news:
Update on buffer tests
At first a slow increase with some improvements. Then I increased all buffers to 64
Now the code works perfect.
However, I do not know if 64 is affecting other parts of the Router.
Could you please tell me:
- the unit of the Queue-Size? Is it bytes or messages or something else?
- is there a maximum queue size which should not be exceeded?
Best regards
ckessle2
Update on buffer tests
At first a slow increase with some improvements. Then I increased all buffers to 64
Code: Select all
#define CAN1_TX_QUEUE_SIZE 64
#define CAN1_RX_QUEUE_SIZE 64
#define CAN2_TX_QUEUE_SIZE 64
#define CAN2_RX_QUEUE_SIZE 64
#define CAN3_TX_QUEUE_SIZE 64
#define CAN3_RX_QUEUE_SIZE 64
#define CAN4_TX_QUEUE_SIZE 64
#define CAN4_RX_QUEUE_SIZE 64
However, I do not know if 64 is affecting other parts of the Router.
Could you please tell me:
- the unit of the Queue-Size? Is it bytes or messages or something else?
- is there a maximum queue size which should not be exceeded?
Best regards
ckessle2