RAPIDSEA supported an automotive body electronics supplier in building a production-ready remote keyless entry system with mobile key fob integration using the RAPIDSEA CAN IVN Stack. By deploying a configurable CAN IVN layer for vehicle-side communication, the team delivered a validated lock/unlock architecture, covering RF front-end to body control module CAN integration, in 8 weeks, with the CAN protocol layer fully decoupled from the RF and mobile application stacks.
Automotive body electronics supplier developing access control systems for passenger vehicle OEMs in India and Southeast Asia. Product portfolio covers central locking modules, passive entry systems, and next-generation mobile key solutions replacing traditional RF fobs with smartphone-based access. End customers include vehicle OEMs integrating at production and aftermarket fleet operators.
As OEMs began mandating smartphone-based digital key support alongside legacy RF fob compatibility, the tight coupling between the RF layer and vehicle CAN interface became an architectural liability. A firmware change to the BLE mobile key stack risked destabilising the CAN lock/unlock command interface. The customer needed a CAN IVN stack for vehicle access systems sitting as a cleanly defined layer between the access decision logic and the body control module's CAN command interface.
STM32G0-series Cortex-M0+ MCU, a cost-optimised 32-bit device balancing CAN FD capability with bill-of-material constraints of a body electronics module. Managed three concurrent interfaces: CAN to the body control module, UART to the RF receiver, and UART bridge to a BLE co-processor. RAPIDSEA CAN IVN Stack's MISRA-C compliant, OS-agnostic architecture integrated cleanly into bare-metal firmware.
CAN IVN Stack Embedded Integration: STM32G0 HAL Mapping
STM32G0's FDCAN peripheral mapped to the RAPIDSEA HAL transmit, receive, and filter callbacks. Both classic CAN and CAN FD modes configured at the HAL level. HAL bring-up and first CAN frame transmission to the body control module simulator completed in one day.
Runtime OEM Profile Engine
Five OEM programme configurations compiled into binary profile tables stored in internal flash. At factory programming, the active OEM profile index written to a dedicated flash configuration sector. Switching OEM programme required only a factory configuration byte change, no firmware rebuild.
Access Decision to CAN Command Interface
Access control state machine refactored to call a single CAN command API regardless of triggering access technology. RF decode, BLE mobile key confirmation, and NFC tap events all resolved to the same lock/unlock/trunk command calls.
Command Arbitration and Debounce
RAPIDSEA CAN IVN Stack's transmit queue configured with a minimum inter-command interval of 300 milliseconds, preventing burst command sequences from BLE rapid-tap events from generating back-to-back CAN frames. Eliminated actuator chatter and BCM rejection responses.
Door Status Broadcast Parsing
Receive filter configured to pass the BCM's door status broadcast frame ID to a dedicated receive callback. RAPIDSEA CAN IVN Stack extracted door ajar, lock status, and interior light state signals and populated a structured status object updated at the 100ms broadcast rate.
| Metric | Result |
|---|---|
| Time to SoP | 8 weeks on STM32G0 - HAL bring-up completed in 1 day |
| OEM programmes | 5 served from a single firmware binary via runtime profile selection |
| BLE mobile key extension | Added without modifying the CAN layer - decoupled architecture validated |
| Actuator chatter | Eliminated - command arbitration resolved BCM rejection events |
| Door status state machine | Consuming structured objects vs raw CAN frames - eliminated a class of frame parsing bugs |
Building a CAN IVN stack for automotive remote keyless entry that scales across multiple OEM programmes, supports simultaneous RF and mobile key access paths, and handles door status broadcast parsing cleanly requires a protocol layer that is genuinely decoupled from the access technology above it. The RAPIDSEA CAN IVN Stack gave this body electronics supplier exactly that, a configurable, OEM-profile-driven CAN interface absorbing five OEM variants from a single firmware binary.
Connect with our experts to explore RAPIDSEA CAN IVN implementations.
The key architectural decision is separating access decision logic from CAN command construction and transmission. The RAPIDSEA CAN IVN Stack provides this separation through a clean command API and configurable frame template table. OEM-specific CAN IDs are loaded as runtime profiles, allowing a single firmware binary to serve multiple OEM programmes. Door status broadcasts are handled through the receive filter and callback interface.