Dispatch Bay

A colleague prototyped CAN bus receive code for a new sensor node, but it never picks up any frames. The UART output stays blank even though traffic is flowing on the bus.

The firmware should initialize CAN1 in normal mode, configure a filter to accept all standard frames, receive a frame from RX FIFO 0, and print the result over UART.

Expected output format for a frame with ID 0x100 and 2 data bytes 0xCA, 0xFE:

ID:0x100 DLC:2 DATA:CA FE

The line must end with a newline character (\n); output is matched exactly.

The register map and UART helpers are provided. Find and fix all the bugs so the firmware correctly receives and prints the incoming frame.

Loading the interactive arena.