GRAYHILL 3J Gen 2.0 User Manual

Vehicle display controller + joystick controller
Hide thumbs Also See for 3J Gen 2.0:
Table of Contents

Advertisement

Quick Links

Vehicle Display Controller
+ Joystick Controller
Revision
Description
A
Original.
ECN#414854
Changed LED STAT PGNs to Prop B
Updated names of LOW POWER parameters
B
Changed default values for various parameters
Added BUTTON PGN SECONDARY parameter
Added Appendix C
Added details about Proportional Error States
Added encoder configuration parameters similar to Gen 1 in
Section 5.5.12. Misc. code updates.
3JUM1965-1 Revision C applies to firmware revisions:
C
Boot Loader:
Digital Joystick / Encoder only:
Single Proportional:
Dual Proportional:
JLF 11/26/2019 ECN#420806
Grayhill Confidential
3J Gen 2.0
Modules
J1939/CAN
User Manual
Grayhill PN: 3JUM1965-1
Revisions
JAA 8-9-2018 ECN#415809
Page 1
JAA 4-24-2018
3JPR1973-1 Rev B
3JPR1974-1 Rev B
3JPR1974-2 Rev A
3JPR1974-3 Rev A
Checked /
Approved
BMM/JLF
5-1-2018
JLF/RAL
8/20/2018
JJS/RAL
11/26/2019
2/15/24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3J Gen 2.0 and is the answer not in the manual?

Questions and answers

Summary of Contents for GRAYHILL 3J Gen 2.0

  • Page 1 3J Gen 2.0 Vehicle Display Controller + Joystick Controller Modules J1939/CAN User Manual Grayhill PN: 3JUM1965-1 Revisions Revision Description Checked / Approved Original. BMM/JLF ECN#414854 JAA 4-24-2018 5-1-2018 Changed LED STAT PGNs to Prop B Updated names of LOW POWER parameters...
  • Page 2: Table Of Contents

    Indicator Status Transmit Period ID=0x19, Size = 1 .......... 14 4.3.27. Diagnostic Blink Period ID=0x1A, Size = 1 ............14 4.3.28. LED COMM Timeout Period ID=0x1B, Size = 1 ..........14 4.3.29. LED Stuffing Configuration 1 ID=0x1C, Size = 3 ..........14 Grayhill Confidential Page 2 2/15/24...
  • Page 3 64965 (0xFDC5) ..........25 5.5.15. Active Diagnostic Trouble Codes (DM1) 65226 (0xFECA) ......25 5.5.16. Previously Active Trouble Codes (DM2) 65226 (0xFECB) ......26 5.5.17. Clear/Reset of Previously Active DTCs (DM3) 65227 (0xFECC) ..... 26 Grayhill Confidential Page 3 2/15/24...
  • Page 4 APPENDIX ..........................33 6.1. Appendix A Diagnostic Trouble Codes ................33 6.2. Appendix B Device Configuration Parameters ............... 34 6.3. Appendix C Behavior from Timeout/Low Power Configuration ........36 6.4. Appendix D FAQ and Examples ..................37 Grayhill Confidential Page 4 2/15/24...
  • Page 5: Overview

    Indicator numbers 16, 17, and 18 are skipped, as button 6 does not have indicators. Joystick Controller Digital Joystick VDC Rotary Encoder VDC Figure 1 – 3J Gen 2.0 Joystick & VDC Button and Indicator Map Grayhill Confidential Page 5 2/15/24...
  • Page 6: Joystick Controller Operation

    Figure 2 – Joystick Controller Output The Joystick Controller also features a momentary rotary input that provides a momentary signal indicating clockwise or counterclockwise rotation. This is reported on the CAN bus as part of Basic Joystick Message 1. Grayhill Confidential Page 6 2/15/24...
  • Page 7: Digital Joystick And Rotary Encoder Operation

    The device will wake with one of the following events: • Button Press • CAN Traffic From here, the device enters Run. Upon wake-up, the device will send an Address Claimed message. Grayhill Confidential Page 7 2/15/24...
  • Page 8: 2.3.4. Demo

    For n = 1, see the above table. For n > 1, the indicator behavior is the same for button n as is described for button 1 in the table above, but the state for brightness control does not change. Grayhill Confidential Page 8 2/15/24...
  • Page 9: Can Fd Tolerant Feature

    For a dual Hall effect Joystick Controller, normal output features a primary and a nearly identical secondary set of X and Y positional values for the joystick. This provides sensor Grayhill Confidential Page 9 2/15/24...
  • Page 10: 3.3.2. Digital Joystick And Encoder

    In order to configure the device, the PC tool must send out an Address Claim message using source address 0xFD (Reserved for OEM) with the Grayhill Manufacturer Code of 294 (0x126). When the device detects this address claim, it will allow for configuration of the...
  • Page 11: Reading

    ECUID_PN: ASCII string up to 64 characters long occupying field 1 of the ECUID PGN request 4.3.2. ECUID Location ID=0x01,Size <= 64 ECUID_LOC: ASCII string up to 64 characters long occupying field 3 of the ECUID PGN request Grayhill Confidential Page 11 2/15/24...
  • Page 12: Ecuid Type Id=0X02,Size<= 64

    ID=0x0C, Size = 1 NAME_FUNCTION: Integer value representing the Function portion of the J1939 Name 4.3.14.J1939 Name Vehicle System ID=0x0D, Size = 1 NAME_VEH_SYS: Integer value representing the Vehicle System portion of the J1939 Name Grayhill Confidential Page 12 2/15/24...
  • Page 13: J1939 Name Vehicle System Instance Id=0X0E, Size = 1

    LED_STAT_2_PGN: The lower 16 bits is the PGN used for transmitting eight data bytes containing the indicator status of indicators 33 to 64. The two bit field occupying locations 17 and 18 determine the data page where 0b00 is Data Page 0. Grayhill Confidential Page 13 2/15/24...
  • Page 14: Indicator Status Pri Id=0X17, Size = 1

    4.3.29.LED Stuffing Configuration 1 ID=0x1C, Size = 3 **** GRAYHILL INTERNAL USE ONLY **** DO NOT MODIFY **** Each bit within the three bytes represents an indicator LED controlled by the first driver and determines if that LED is stuffed or not. This is needed to prevent false failures during LED diagnostics.
  • Page 15: Default Backlight Intensity Id=0X1F, Size = 1

    4.3.34.LED PWM BASE 1 ID=0x21, Size = 24 **** GRAYHILL INTERNAL USE ONLY **** DO NOT MODIFY **** Each byte corresponds to an indicator LED and is used for balancing the intensity of the indicators when different LED types with different forward voltage drops are used. The valid range is between 0 and 255.
  • Page 16: Demo Mode Id=0X27, Size = 1

    **** UNUSED (3K Feature) **** DO NOT MODIFY **** AUXIO1_TX_PER: The value sets the transmission period of the button PGN in units of 10ms. Ex. A value of 20 sets the period to 200ms. A value of zero inhibits periodic transmission. Grayhill Confidential Page 16 2/15/24...
  • Page 17: Low Power Delay Period Id=0X2C, Size = 1

    DEVICE_SA_SAVE: When the device is configured for Arbitrary Address Capable and it successfully claims a different address than when it started, this option determines if this new source address is attempted at the next power-up (enabled) or if it tries the default source address. Grayhill Confidential Page 17 2/15/24...
  • Page 18: Brightness Control Configuration Id=0X32, Size = 1

    Used in the following message that is only applicable for dual output proportional joystick: 5.5.23.2 Basic Joystick Message 2 (BJM2) 64984 (0xFDD8) Communications 5.1. Message Header Description The following figure illustrates the format of the CAN 2.0B message ID. A brief description of each field follows. Grayhill Confidential Page 18 2/15/24...
  • Page 19: 5.1.1. Priority

    The byte and bit ordering and location within the data field are per the J1939 specification. The first data byte is sent first and is referenced as Byte 1. The LSB of the data bytes are on the right and are referenced as Bit 1. Grayhill Confidential Page 19 2/15/24...
  • Page 20: Joystick Controller And Vdc Source Address

    5.3. Joystick Controller and VDC Source Address The source address of the Grayhill standard Joystick Controllers and VDCs is set by default to 241 (F1h). This may be modified either dynamically if Dynamic Addressing is turned on, with the Commanded Address message in accordance with J1939-81, or with Configuration Command (requires a reset).
  • Page 21: Cab Illumination 53248 (0Xd000)

    Used for memory reading/writing during device re-flashing. Refer to SAE J1939/73 for more detail. 5.5.4. Memory Access Response (DM15) 55296 (0xD800) Used for memory reading/writing during device re-flashing. Refer to SAE J1939/73 for more detail. Grayhill Confidential Page 21 2/15/24...
  • Page 22: Binary Data Transfer (Dm16 ) 55040 (0Xd700)

    5.5.9. Transport Protocol Data Transfer 60160 (0xEB00) Used for messages that require nine bytes or more. Refer to J1939/21 5.5.10.Transport Protocol Connection Mgmt 60416 (0xEC00) Used for messages that require nine bytes or more. Refer to J1939/21 Grayhill Confidential Page 22 2/15/24...
  • Page 23: 60928 (0Xee00)

    Start Length Desc. Values 21 Bits Identity Number 0 to 2 11 Bits Manufacturers Code 294 (Assigned to Grayhill by SAE) 3 Bits ECU Instance 0 (Default) 5 Bits Function Instance 0 (Default) 8 Bits Function 135 (Keypad, Default) *...
  • Page 24: 61184 (0Xef00)

    = 255. This data is stored in non-volatile memory INIT VAL (Param = 2): Changes the initial value after boot to the value in DATA. This data is stored in non-volatile memory. It does not manually change the encoder’s value to DATA. Grayhill Confidential Page 24 2/15/24...
  • Page 25: 61184 (0Xef00)

    5.5.13.Prop A (Configuration Mode*) 61184 (0xEF00) *Device is placed in this mode by sending the Address Claimed message from a Source Address of 0xFD with Manufacturer Code of 294 (Grayhill). Direction – Transmit and Receive Priority – 7 Data Length – Variable...
  • Page 26: Previously Active Trouble Codes (Dm2) 65226 (0Xfecb)

    PGN: 65235 (0xFED3) Direction: Not Directly Transmitted or Received Data Page: PDU Format: PDU Specific: 202 Priority: Data Length: TX Rate: A request clears the active trouble codes then a Positive Acknowledgement is sent Grayhill Confidential Page 26 2/15/24...
  • Page 27: 65240 (0Xfed8)

    ASCII characters. Each field delimited with Variable Software ID field an asterisk and up to 200 characters Each asterisk delimited field is further delimited by commas with the following sub fields • Grayhill Software part number. • Software revision • Compile Date •...
  • Page 28: 5.5.22. Digital Joystick And Rotary Encoder Vdc Specific

    Example: Pressing button 2 will cause the following message to be transmitted. ID=0x18FF03F1, LEN=8, DATA=0x00,0x00,0x00,0x04,0xC0,0xFF,0xFF,0xFF Example: Pressing buttons 2 and 6 and pushing the joystick upward will cause the following message to be transmitted. ID=0x18FF03F1, LEN=8, DATA=0x10,0x00,0x00,0x04,0xC1,0xFF,0xFF,0xFF Grayhill Confidential Page 28 2/15/24...
  • Page 29: 5.5.23.Joystick Controller Specific

    0x3FF - Unused 1 byte Unused All bits set 00 - Button not pressed 01 - Button pressed 2 bits Button 4 Status 10 - Error 11 - Unused 2 bits Button 3 Status Same Grayhill Confidential Page 29 2/15/24...
  • Page 30 2 bits Encoder Neutral Position Status 10 - Error 11 - Unused 00 - Not in CCW position Encoder Counter Clockwise 01 - In CCW position 2 bits Position Status 10 - Error 11 - Unused Grayhill Confidential Page 30 2/15/24...
  • Page 31 0x000 to 0x3E8 - Valid magnitude (0 to 1000). Value changes by 20 (2%) each 3.7 10 bits Joystick 2 Y Position step. 0x3FE - Error 0x3FF - Unused 5-8 4 bytes Unused All bits set Grayhill Confidential Page 31 2/15/24...
  • Page 32: 65447 (0Xffa7)

    Same 2 bits Right Same 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 2 bits Unused 4 bits Unused Grayhill Confidential Page 32 2/15/24...
  • Page 33: Appendix

    Shorted 5202XX.31 Button Stuck 5202XX.07 Error (520220+X).31 Reserved 520281.31 Proportional Joystick Com Lost 520282.31 Digital Joystick Shorted 520283.31 Digital Joystick Stuck 520283.07 Encoder State Skipped 520284.31 Proportional Dual XY Sensor 520285.07 Detected Ambient Magnetic Field Grayhill Confidential Page 33 2/15/24...
  • Page 34: Appendix B Device Configuration Parameters

    10 (0x0A) 1000ms 4.3.28 LED_TIMEOUT_PER 27 (0x1B) 0-255 30 (0x1E) 3000ms Appendix C 4.3.29 LED_STUFFING_1~24 28 (0x1C) DO NOT Grayhill Use Only MODIFY 4.3.30 LED_STUFFING_25~48 29 (0x1D) DO NOT Grayhill Use Only MODIFY Unused – N/A for this product 4.3.31 LED_IND_DEFAULT...
  • Page 35 4.3.36 LED_PWM_BASE_2 35 (0x23) DO NOT Grayhill Use Only MODIFY 4.3.37 LED_IREF_BASE_2 36 (0x24) DO NOT Grayhill Use Only MODIFY 4.3.38 DEVICE_CFG 37 (0x25) DO NOT Grayhill Use Only MODIFY 4.3.39 FLEXIO_CFG 38 (0x26) DO NOT Unused – N/A for this product MODIFY 4.3.40...
  • Page 36: Appendix C Behavior From Timeout/Low Power Configuration

    If other messages are present on the CAN bus when the device enters low power mode from an absence of LED messages, the device will immediately re-enter run mode and the timeout cycle will repeat. Grayhill Confidential Page 36 2/15/24...
  • Page 37: Appendix D Faq And Examples

    RUN MODE Changing an EEPROM configuration setting (example is changing low power mode) 1) First, send an address claim message with Grayhill's CAN manufacturer code and debug tool source address FD to make the unit listen to subsequent configuration messages: 1CEEFFFD 00 00 C0 24 00 00 00 00 2) Then send the message to set the parameter.

Table of Contents