Lab 4: Lab M04: NMEA-0183 UART Framing, FlexCAN Quanta Timing & ISO 11898 Bus-Off Recovery
Trace tty_driver/uart_port hardware RS-485 DE turnaround and NMEA GPS framing, compute FlexCAN time-quanta bit timing, and implement SocketCAN NAPI RX with Bus-Off recovery.
Prerequisites in this module
What ./check.sh verifies
- Builds libuart_can.a and uart_can_cli with -std=c11 -Wall -Wextra -Werror.
- Archives uart_can_core.o into libuart_can.a and links uart_can_cli.
nmea_verify_checksumvalidates interior XOR=0x47 between dollar and asterisk.flexcan_compute_timingverifies 500 kbps at 80.0% sample point.
Subscribe or sign in to unlock this graded lab
Part of GL-E06 — Linux 6.12 Bus, Sensor (regmap/IIO), Serial/CAN/USB, blk-mq & Network Drivers. Full access includes all 16 KSA Terminal courses across GL-C01..GL-C04, GL-E00..GL-E07 & GL-Q01..GL-Q04 (288 lessons, 96 TAP 13 graded labs, real Linux 6.12, C11 & C++20/Qt 6 captures, slide decks, printable PDF/HTML handbooks, and flashcards).
Annual All-AccessUS$349/yrsave 25% · 3 months free
Monthly All-AccessUS$39/moCancel any time · All 16 courses
Team (3+ seats)US$290/seat/yrCard or Net-30 PO invoice
Progress is saved on this device.