Skip to content

"IoT Made Easy!" - This application serves as an illustration of how to extend a CAN network wirelessly using BLE. The CAN-BLE Central Device connects to the CAN-BLE Peripheral Device and establishes a BLE link using Microchip's proprietary Transparent UART Profile for CAN data transfer.

Notifications You must be signed in to change notification settings

MicrochipTech/pic32cxbz2_wbz45x_ble_can_bridge

Repository files navigation

PIC32CXBZ2_WBZ45x BLE to CAN Bridge using MCP251863

"IoT Made Easy!"

Devices: | PIC32CXBZ2 | WBZ45x |
Features: | CAN | BLE |

⚠ Disclaimer

THE SOFTWARE ARE PROVIDED "AS IS" AND GIVE A PATH FOR SELF-SUPPORT AND SELF-MAINTENANCE. This repository contains example code intended to help accelerate client product development.

For additional Microchip repos, see: https://github.com/Microchip-MPLAB-Harmony

Checkout the Technical support portal to access our knowledge base, community forums or submit support ticket requests.

Contents

  1. Introduction
  2. Bill of materials
  3. Hardware Setup
  4. Software Setup
  5. Harmony MCC Configuration
  6. Board Programming
  7. Run the demo

1. Introduction

This application serves as an illustration of how to extend a CAN network wirelessly using BLE.
CAN Bridge Block Diagram The CAN-BLE Central Device connects to the CAN-BLE Peripheral Device and establishes a BLE link using Microchip's proprietary Transparent UART Profile for data transfer.

The Microchip CAN Bus Analyzer tool is used in this example to simulate transmitting and receiving CAN messages from a CAN network. Alternatively, the CAN-BLE peripheral device can be connected to a mobile application to visualize the CAN messages on a mobile phone.

2. Bill of materials

TOOLS QUANTITY
PIC32CX-BZ2 and WBZ451 Curiosity Development Board 2
MCP251863 CLICK 2
CAN BUS ANALYZER TOOL 2
DB9 Connector 2

3. Hardware Setup

WBZ451 MCP251863 CLICK Description WBZ451 MCP251863 CLICK Description
AN 1(STB) StandBy Control PWM NC NC
RST 13(IN1) RX Interrupt INT NC NC
CS 3(CS) CHIP SELECT RX NC NC
SCK 4(SCK) SPI CLOCK TX NC NC
MISO 5(MISO) SERIAL DATA OUTPUT SCL NC NC
MOSI 6(MOSI) SERIAL DATA INPUT SDA NC NC
3.3V 7(3.3V) POWER SUPPLY 5V 5V 5V POWER SUPPLY
GND 8 (GND) GROUND GND GND GROUND