Blog
Recent Posts
Developing High-Performance CAN FD Applications with the Microchip dsPIC33CK256MP502
Posted by on
CAN FD has become an important option for embedded systems that have outgrown the limitations of Classical CAN but still require the reliability, deterministic behavior, and straightforward network architecture that have made CAN so successful.
For developers working with real-time control, sensor processing, motor control, industrial equipment, or automotive electronics, the challenge is often not simply adding CAN FD communication. The processor must handle the network while simultaneously performing time-critical application tasks.
The Microchip dsPIC33CK256MP502 provides an interesting solution by combining a high-performance Digital Signal Controller (DSC) with an integrated CAN FD controller.
The Microchip dsPIC33CK256MP502 CAN FD Demo Board provides a compact platform for evaluating this combination and developing practical CAN FD applications.
From Classical CAN to CAN FD
Classical CAN remains one of the most widely used embedded networking technologies. However, its 8-byte maximum data payload and relatively limited data throughput can become restrictive as embedded systems exchange increasing amounts of information.
CAN FD, or CAN with Flexible Data Rate, extends the original CAN protocol in two particularly important ways.
First, a CAN FD data frame can contain up to 64 data bytes, compared with the 8-byte maximum of Classical CAN.
Second, CAN FD allows the data portion of the message to operate at a higher bit rate than the arbitration portion. A network can therefore retain CAN's familiar arbitration mechanism while transmitting the actual payload considerably faster.
The result is increased network throughput without abandoning the basic principles that make CAN attractive for embedded and real-time applications.
The dsPIC33CK256MP502
At the center of the demo board is Microchip's dsPIC33CK256MP502, a 100 MHz, single-core Digital Signal Controller.
The device combines conventional microcontroller functionality with a DSP engine designed for computationally demanding real-time applications. It includes:
-
256 KB Flash memory
-
24 KB RAM
-
Integrated CAN FD controller
-
High-speed ADC capabilities
-
PWM peripherals
-
UART, SPI, and I²C communications
-
DSP-oriented processing capabilities
-
Peripherals designed for real-time control applications
This combination makes the processor particularly attractive when CAN FD communication is only one part of a larger embedded application.
For example, a device might acquire analog information from sensors, perform calculations or filtering, control an actuator, and communicate the resulting data with other devices over CAN FD.
Integrated CAN FD
One important advantage of the dsPIC33CK256MP502 is that the CAN FD controller is integrated directly into the processor.
The controller supports Classical CAN 2.0B as well as CAN FD, allowing developers to use the same processor platform for applications ranging from conventional CAN networks to higher-throughput CAN FD systems.
The CAN FD peripheral provides features such as configurable transmit and receive FIFOs, message filtering, a transmit queue, transmit-event handling, timestamps, and programmable retransmission behavior.
These hardware resources can reduce the amount of software intervention required for routine CAN communication and allow the processor to concentrate on the application itself.
A Ready-to-Use CAN FD Development Platform
Working with a CAN-capable processor alone still requires supporting hardware before it can communicate with a physical CAN network. A CAN controller operates at the protocol level, while a CAN transceiver provides the electrical interface to the CAN bus.
The Microchip dsPIC33CK256MP502 CAN FD Demo Board combines the processor with an onboard CAN FD transceiver, creating a compact development platform that can be connected directly to a CAN or CAN FD network.
The board accepts an 8 to 24 VDC supply and includes reverse-polarity protection, making it convenient for bench development as well as experiments using power sources representative of real embedded systems.
Additional hardware includes an RGB status LED and a UART interface with selectable 3.3 V or 5 V logic levels.
Starting with Working CAN FD Communication
A development board becomes considerably more useful when developers do not have to start by writing every peripheral driver from scratch.
The board is supplied with demonstration firmware configured for a 500 kbit/s nominal arbitration rate and a 2 Mbit/s CAN FD data rate.
An MPLAB X project using Microchip MCC Melody provides the starting point for application development.
This allows developers to begin with working CAN FD communication, study the configuration, and then modify the project for their own message formats, timing requirements, filters, data rates, and application functions.
An optional bootloader is also available.
Adding Sensors and Peripherals Through Qwiic
The board also includes an I²C/Qwiic connector.
Qwiic provides the standard I²C signals together with 3.3 V power and ground through a polarized four-pin connector. A wide range of compatible sensors, displays, memory devices, I/O expanders, and other peripherals can therefore be added without creating additional interface circuitry for an initial prototype.
This creates an especially useful architecture for CAN FD experimentation:
Sensor or peripheral → dsPIC33CK256MP502 → CAN FD network
A developer could, for example, connect a temperature, pressure, motion, or other sensor through I²C, process its readings with the dsPIC33, and transmit the resulting information over CAN FD.
Conversely, CAN FD messages received from the network could be used to control peripherals connected to the processor.
More Than a CAN FD Interface
The dsPIC33CK256MP502 is particularly interesting because the processor is capable of much more than simply sending and receiving CAN frames.
Its architecture is intended for demanding real-time applications such as motor control, digital power conversion, sensor processing, and other applications requiring deterministic processing.
That makes the board useful for experimenting with designs in which CAN FD becomes the communications component of a larger control system.
Possible applications include:
-
Industrial controllers
-
Distributed sensor systems
-
Motor-control nodes
-
Automotive and vehicle electronics
-
Robotics
-
Test equipment
-
Data-acquisition systems
-
Embedded gateways
-
CAN FD protocol development
-
Educational and laboratory projects
The same board can also serve as a convenient platform for learning the differences between Classical CAN and CAN FD without immediately developing custom hardware.
CAN FD as a Path Beyond Classical CAN
CAN FD does not replace Classical CAN in every application. An 8-byte payload and conventional CAN bit rates remain entirely adequate for many embedded networks.
However, applications increasingly need to exchange larger amounts of information while maintaining the proven arbitration and error-handling concepts of CAN.
CAN FD provides a logical migration path.
For embedded developers, the dsPIC33CK256MP502 adds another advantage: CAN FD communication can be combined with substantial real-time processing capability in a single device.
The result is a platform suitable not only for demonstrating CAN FD frames but for developing complete embedded nodes in which communication, sensing, processing, and control are tightly integrated.
Microchip dsPIC33CK256MP502 CAN FD Demo Board
The Microchip dsPIC33CK256MP502 CAN FD Demo Board provides the essential hardware needed to begin experimenting with this architecture, including the dsPIC33CK processor, CAN FD physical interface, power supply circuitry, UART access, status indication, and I²C/Qwiic expansion.
With demonstration firmware and an MPLAB X/MCC Melody project available as a starting point, the board can be used to evaluate CAN FD, develop prototype network nodes, experiment with higher CAN data rates, and explore the dsPIC33CK platform before committing to a custom hardware design.
For specifications, documentation, demonstration software, and ordering information, visit the Microchip dsPIC33CK256MP502 CAN FD Demo Board product page at Copperhill Technologies.
Making Embedded Systems: Design Patterns for Great Software
Interested in developing embedded systems? Because embedded systems operate under tight constraints, they demand a disciplined and efficient approach to programming. This accessible guide introduces proven development practices based on classic software design patterns as well as patterns specific to embedded programming. You’ll learn how to design system architectures around processors rather than operating systems, while developing practical strategies for working with hardware limitations, evolving designs, and manufacturing requirements.
Written by an experienced engineer whose projects range from DNA scanners to children’s toys, this book is ideal for intermediate and experienced programmers working on virtually any embedded platform. This expanded second edition adds new material on IoT and networked sensors, motors and motion, debugging, data-handling strategies, and more.
-
Optimize embedded systems to reduce cost while improving performance
-
Develop robust software architectures for resource-constrained environments
-
Work effectively with sensors, displays, motors, and other I/O devices
-
Reduce RAM usage, power consumption, code size, and processor cycles
-
Learn to interpret schematics, datasheets, and power requirements
-
Implement complex mathematics and machine learning on small processors
-
Design effective embedded systems for IoT and networked sensor applications
Low-Cost CAN Bus Monitor For Developing And Debugging High-Speed CAN Networks
Controller Area Network (CAN) is a serial network technology that was originally designed for the automotive industry, especially for European cars, but has also become a popular bus in industrial automation as well as other applications. The CAN Bus is primarily used in embedded systems, and as its name implies, is a network technology that provides [...]
MCUs That Combine CAN FD (Flexible Data-Rate) And Core Independent Peripherals
Microchip Technology announced its PIC18 Q84 family, a series of microcontroller units (MCU) that supports data transmission and reception through a CAN FD network. The CAN FD port meets the demand for increased bandwidth in CAN applications. The CAN FD module supports the CAN 2.0B standard and thus is fully backward compatible with previous CAN Bus modules. The [...]
SAE J1939 C Library - Including Source Code - for CAN-Enabled PICmicro Microcontrollers
SAE J1939 is a series of SAE recommended practices that have been developed to provide a standard architecture by which various electronic systems on a vehicle can communicate. It was developed by the Truck and Bus Control and Communications Network Subcommittee of the Truck and Bus Electrical and Electronics Committee, but its application is not [...]
Controller Area Network (CAN) Transceiver Family Supports CAN FD (Flexible Data-Rate) Protocol
A family of Controller Area Network (CAN) transceivers including various automotive Grade 0 qualified parts is now available from Microchip Technology Inc. The ATA65XX family adds six devices to Microchip’s CAN portfolio.The family supports the recently established CAN FD (Flexible Data-rate) protocol for up to five Mbit/s communication speed and the new CAN PN (Partial Networking) standard for improved [...]
Unified Centralized Software Stack For Automotive Networking
A new high-speed network solution for in-vehicle infotainment with device control over Internet Protocol (IP) is now available from Microchip Technology Inc. The Unified Centralized Software Stack (UNICENS) is a software module available at no charge to Microchip customers who are using Intelligent Network Interface Controllers (INIC) such as the OS81118, OS81119 and any future INICs.Modern cars [...]
Microchip Technology's ATtiny1617 Series Of Microcontrollers Featuring The 8-bit AVR® Processor
Microchip Technology, a provider of microcontroller, mixed-signal, analog and Flash-IP solutions, has expanded its AVR microcontroller (MCU) portfolio by adding three new devices to the tinyAVR MCU family. The ATtiny1617 series of MCUs expand the range of AVR devices that feature Core Independent Peripherals (CIPs). The devices extend the memory offering for these next generation tinyAVR [...]
Zigbee Alliance-Certified Platform With Zigbee PRO And Green Power Features
The first zigbee alliance-certified zigbee platform with zigbee PRO and Green Power features (formerly known as zigbee 3.0) from a semiconductor company is now available from Microchip Technology, a provider of microcontroller, mixed-signal, analog and Flash-IP solutions. This software stack, and corresponding BitCloud 4.0 software development kit, is ideal for the design of home automation, commercial lighting, smart [...]
Microchip Prototyping Boards For 32-Bit Applications
Two prototyping boards for 32-bit applications are now available from Microchip Technology Inc., a provider of micro-controller, mixed-signal, analog and Flash-IP solutions. The PIC32MX and PIC32MZ Curiosity Boards include an integrated programmer debugger and are fully integrated with Microchip’s MPLAB® X IDE and into PIC32’s powerful software framework, MPLAB® Harmony that provides flexible and modular interface to application [...]
FCC Certified RF Transceiver Development Kit For IoT Applications
Microchip Technology Inc., a provider of microcontroller (MCU), mixed-signal, analog and Flash-IP solutions, and Sigfox, a provider of global solutions for the Internet of Things (IoT), have launched an FCC-certified, fully integrated RF transceiver and kits for developing IoT solutions for use on the Sigfox network.Powered by Microchip's ATA8520E, a low-power RF transceiver with an integrated AVR [...]
Loading... Please wait...

