This document describes using MATLAB Simulink to program and communicate between two dsPIC30f microcontrollers over a Controller Area Network (CAN) protocol. It presents the development of a real-time digital system using Simulink, Real-Time Workshop and Embedded Coder to generate C code from Simulink models. The C code is then compiled and run on the dsPIC30f microcontrollers. Specifically, it communicates engine RPM values transmitted by one microcontroller over CAN to the other microcontroller, which decodes and displays the RPM on an LCD screen. The decoding algorithm is also described.