I solved it.
First enable FIFO then SetFilters....
Here is the solution
#include <FlexCAN_T4.h>
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can1;
CAN_message_t rxMsg;
void setup(void)
{
Serial.begin(115200);
Can1.begin()...
Hallo,
thank you for a quick response.
I have pasted the code in a new project. With PCAN-View I can send every MsgID I wish.
here is the output of the program.
Here is the program output
09:48:12.157 -> Msg.ID: 0x100
09:48:13.227 -> Msg.ID...
Hello,
I my project I use FlexCAN_T4.
I would line FlexCAN_T4 to filter out all standard messages except 0x123 and 0x124.
But if I send another message, then 0x123 or 0x124 I receive them too.
How can I achieve that FlexCAN_T4 filter works...
If I call the functions one after the other, there is no blocking behavior. The functions in the same thread are running without hesitation.
The switch back to the main thread comes after approximately 6 seconds
Hello,
I'm developing a project where I collect the data from the can interfaces and send it with EthernetClient to the cloud.
EthernetClient is running in a thread function and sends the data regularly to the cloud.
In the main loop, I collect...
Thank you for that information !!!
But if all objects are in RAM 2 and the compiler says there is not enough RAM1.
The only things I can optimize are libraries, but I need them.
What do you think?
I have divided my code into 2 parts
1. Classes that communicate with the CAN interfaces
2. Classes that use LVGL to show the inputs of CAN interfaces
So I'm able to compile these 2 packages separately
The result of package 1 compilation is...
Hello
I'm new to teensy.
My project is written mostly in C++
I'm using LVGL library.
Now I'm running out of RAM1
teensy_size: Memory Usage on Teensy 4.1:
teensy_size: FLASH: code:388392, data:70840, headers:8732 free for files:7658500...