Sandbender Technology 1PICA0001 User Manual

Can interface phat

Advertisement

Quick Links

Document Legal Notice/License use
Copyright © 2018 Sandbender Technology Ltd,
Document Number
IEMAN000001
Document Title
CAN Interface pHAT User Manual
Document Release Status
Released
CAN Interface pHAT
User Manual
Document Number: IEMAN000001
Document Revision: R003
For Product SKU: 1PICA0001
8 Coronation Grove, Harrogate,
North Yorkshire, HG2 8BU.
Document Revision
Page
R003
1 of 22
Document Type
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Sandbender Technology 1PICA0001

  • Page 1 Document Legal Notice/License use Document Release Status Document Type Released User Manual CAN Interface pHAT User Manual Document Number: IEMAN000001 Document Revision: R003 For Product SKU: 1PICA0001 Copyright © 2018 Sandbender Technology Ltd, 8 Coronation Grove, Harrogate, North Yorkshire, HG2 8BU.
  • Page 2: Table Of Contents

    Document Number Document Revision Page IEMAN000001 R003 2 of 22 Document Title CAN Interface pHAT User Manual Contents Introduction ........................3 What is the purpose of this document ................... 3 Who should read this document ....................3 How is this document organised ....................3 How do you receive more information ...................
  • Page 3: Introduction

    1.1 What is the purpose of this document This document is the user manual for the CAN Interface pHAT (SKU 1PICA0001), this is a Raspberry Pi HAT circuit board that is intended to be used as an interface to a CAN bus. CAN buses are widely used in automotive and industrial networks due to their speed, simplicity and reliability.
  • Page 4: How Do You Receive More Information

    Document Title CAN Interface pHAT User Manual 1.4 How do you receive more information This document is controlled by Sandbender Technology Ltd. The contact below is the primary contact for questions relating to this document. Contact at Sandbender Technology Ltd:...
  • Page 5: Hazards, Warnings And Conformance

    2.3 RoHS The CAN Interface pHAT (SKU: 1PICA0001) is designed and manufactured to meet the requirements of the RoHS2 (2011/65/EU) directive. All components used in the construction are lead free and the soldering processes used during manufacturing (both SMT reflow and hand soldering) use lead free solder.
  • Page 6: Functional Description

    Document Number Document Revision Page IEMAN000001 R003 6 of 22 Document Title CAN Interface pHAT User Manual 3 Functional Description The CAN Interface pHAT* is designed to be fully compliant with the HAT hardware specification published by the Raspberry Pi Foundation. The HAT is primarily intended to enable a Raspberry PI or similar system to send and receive messages on a CAN bus, it supports high speed communications of up to 1Mbit/s.
  • Page 7: Functional Groups

    Document Number Document Revision Page IEMAN000001 R003 7 of 22 Document Title CAN Interface pHAT User Manual 3.2 Functional Groups 3.2.1 HAT 40 WAY GPIO CONNECTOR This is a 40way DIL connector mounted to the underside of the board. This allows the pHAT to be stacked on top of a Raspberry Pi board.
  • Page 8: Can Controller And Transceiver

    Document Number Document Revision Page IEMAN000001 R003 8 of 22 Document Title CAN Interface pHAT User Manual 3.2.2 CAN Controller and Transceiver The CAN Controller on the board is the Microchip MCP2515-I/SO, this is labelled IC4. The CAN Controller interfaces with the Raspberry Pi over the SPI interface, this consists of 4 lines: CS –...
  • Page 9 Document Number Document Revision Page IEMAN000001 R003 9 of 22 Document Title CAN Interface pHAT User Manual A SMT test pad TP4 (located on the underside of the board) is present to support automated testing of the board – this allows direct access to the output of the clock oscillator on pin 3 of IC4. 01/06/2018 9 of 22...
  • Page 10: Can Termination And Connector

    Document Number Document Revision Page IEMAN000001 R003 10 of 22 Document Title CAN Interface pHAT User Manual 3.2.3 CAN Termination and Connector This circuit is shown for reference. Only a few components are fitted to the standard product. The R6 & R7 0Ω links are fitted, this allows the footprint of L1 (a common mode choke) to be •...
  • Page 11: Fram Eeprom

    Document Number Document Revision Page IEMAN000001 R003 11 of 22 Document Title CAN Interface pHAT User Manual 3.2.4 FRAM EEPROM The F-RAM memory is present to allow the option of logging (data) to a local memory that is not part of the Raspberry Pi disk drive.
  • Page 12: Rtc And Battery

    Document Number Document Revision Page IEMAN000001 R003 12 of 22 Document Title CAN Interface pHAT User Manual 3.2.5 RTC and Battery The Raspberry Pi as supplied does not have a real time clock. If the RPi is used in an application that prevents connection to a time reference (e.g.
  • Page 13: Dc To Dc Converter

    Document Number Document Revision Page IEMAN000001 R003 13 of 22 Document Title CAN Interface pHAT User Manual 3.2.6 DC to DC Converter The isolated side of the CAN transceiver U1 is powered from the output of a DC to DC converter DC1, this provides up to 1kV of isolation between the RPi GND and GND1.
  • Page 14: Hat Configuration Eeprom

    Document Number Document Revision Page IEMAN000001 R003 14 of 22 Document Title CAN Interface pHAT User Manual 3.2.7 HAT Configuration EEPROM To meet the HAT hardware specification the board is fitted with a I2C EEPROM IC5. The part fitted to the board is an ON Semiconductor CAT24C32.
  • Page 15: Grove Connector

    Document Number Document Revision Page IEMAN000001 R003 15 of 22 Document Title CAN Interface pHAT User Manual 3.2.8 Grove Connector The PCB has an unpopulated Grove connector position present on the board, this will allow a Grove compatible part to be soldered in. It is up to the end user to determine what this is used for! This connector is connecter to the same I2C that the RTC clock is connected to.
  • Page 16: Board Mounting Hardware

    Document Number Document Revision Page IEMAN000001 R003 16 of 22 Document Title CAN Interface pHAT User Manual 3.2.9 Board Mounting Hardware The board has been designed to allow for automated build, test and handling. The locations of the four 2.8mm mounting hole are part of the HAT specification and allow the board to be mechanically fixed onto a Raspberry Pi or enclosure.
  • Page 17: Application Use

    Document Number Document Revision Page IEMAN000001 R003 17 of 22 Document Title CAN Interface pHAT User Manual 4 Application Use 4.1 Dimensions and mounting The mounting holes and slots for access to the Raspberry Pi camera and display interfaces are according to the Raspberry Pi HAT specification.
  • Page 18: Rtc Battery G1

    Document Number Document Revision Page IEMAN000001 R003 18 of 22 Document Title CAN Interface pHAT User Manual 4.2 RTC Battery G1 When the board has no power the RTC IC maintains a clock using power from a small battery. The battery holder G1 is located as shown in the diagram below. This holder will accept a CR1220 3V battery (coin cell) or similar (BR1220).
  • Page 19: Safe Battery Cell Disposal And Handling

    Document Number Document Revision Page IEMAN000001 R003 19 of 22 Document Title CAN Interface pHAT User Manual 4.2.1 Safe Battery Cell Disposal and Handling ATTENTION! Coin cells are small and can present a hazard in several ways: • Removed cells present a choking or electro- chemical burn hazard if swallowed.
  • Page 20: Eeprom Memory Protection Jumper Jp1

    Document Number Document Revision Page IEMAN000001 R003 20 of 22 Document Title CAN Interface pHAT User Manual 4.3 EEPROM Memory Protection Jumper JP1 Jumper JP1 is fitted as standard as the board is supplied with the HAT EEPROM blank. JP1 is located as indicated in the diagram below. Figure 15 - HAT Memory Write Protection (JP1) Link JP1 IC5 Write Protection...
  • Page 21: Can Bus Connection Pl1

    Document Number Document Revision Page IEMAN000001 R003 21 of 22 Document Title CAN Interface pHAT User Manual 4.4 CAN Bus Connection PL1 The CAN bus physical connection is with a 9-pin male D-Sub connection (DIN41652), this is in accordance with CiA303-1 (part of the CANopen specification). The connector location is shown below. Figure 16 - CAN Bus ‘D’...
  • Page 22: Can Termination Jumper Jp2

    Document Number Document Revision Page IEMAN000001 R003 22 of 22 Document Title CAN Interface pHAT User Manual 4.5 CAN Termination Jumper JP2 Removable jumper (JP2) is present to allow the onboard 120 Ohm CAN bus termination resistors to be selectively connected across the CAN bus. If the board is to be used as an end terminator in a CAN network AND no external resistors are present the bus may be terminated by fitting the jumper link to the header.

Table of Contents