Skip to content

Transmission stall.. #84

@HondaRulez

Description

@HondaRulez

Hi,

Weird transmission stall.

Env.:
RP2040 @166mhz can2040 on PIO1. @ 500Kbps.
Freertos, can2040 pinned to core1, max priority, app runs from flash but the whole can2040 loaded into the RAM by linker script. (also the ISR functions of cos)

Continous Tx only, (other devices not sending anything but accepting) short frame, 8 byte data every 10 msec.
(transmission period no matter, same result if sending 1 packet/sec or if sheduling for continous transmission...)

USB and TCP IP stack runing on core 0 (pinned).
Agressive trafic on the USB somtimes cause missing interrupt on the USB controller (this is a well known BUG in the HW/Tiny USB stack.)

Before this happening I got error callback 1-3 times form the can2040, then the USB stalls and somtimes the CAN stops transmissing too.
(out FIFO is remains full).
When this event happened the whole chip blocking for a short period.~500msec (so the CAN timing is broken at all for sure.)

the transmission never restores until sending a message from another device, then the can2040 restores, and continue working.

Any 'poke' method to start the transmission again without stop/start the can stack ?

This is a reproducable error, so I able to do some testing if needed...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions