Does AM335X DCAN have the rx FIFO buffer??
as following figure
If the deviceB sends Canbus packets to AM335X per 1ms
and AM335X is running to other process
Is it possible to lose data??
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.
Does AM335X DCAN have the rx FIFO buffer??
as following figure
If the deviceB sends Canbus packets to AM335X per 1ms
and AM335X is running to other process
Is it possible to lose data??
Hi,
The AM335X DCAN peripheral has a message RAM, which can hold up to 64 message objects. Complete description of the DCAN peripheral can be found in the AM335X TRM Rev. K, section 23.
The default driver in drivers/net/can/c_can sets up a FIFO of 16 message objects for receiving CAN frames. Why it only uses 16 message objects is a mystery but it *should* be enough to ensure that you aren't missing CAN frames.