Bosch CK-M12 Quick Start Manual
Read Online
Read the Bosch CK-M12 Quick Start Manual online using the built-in PDF viewer.
Text of the manual
CAN Keypad CK-M12
Table of contents | en
3
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Table of contents
1
Introduction
4
2
Getting started
5
3
Wiring
6
4
CK-M12 Sport Mounting and Environmental Considerations
8
5
Voltage Supply and Current Consumption
9
6
CAN Communications
10
6.1
Primary Data Message (CK-M12_TX.dbc)
10
6.2
Feedback Message (CK-M12_RX.dbc)
11
7
Example Usage - PBX
16
8
Example Usage - DDU
18
9
Open Source Software (OSS) Declaration
21
10
Contacts
23
en | Introduction
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
1
Introduction
The CAN Keypad CK-M12 allows for simplification of the dashboard by offering 12 buttons and
9 additional wired inputs to be evaluated and transmitted via CAN bus to other devices on the
bus. Each button has an individually addressable LED indicating ring that can be used to
acknowledge a button press event, indicate status of a device, or alert the driver to a fault
condition.
No special configuration software is needed, all feedback logic is done by PBX, DDU or ECU.
CAN Keypad CK-M12
Getting started | en
5
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
2
Getting started
The following supplies are required to use the CK-M12:
–
CK-M12
–
Engine controller, data logger or related CAN enabled device
–
Appropriate harnessing to connect all devices, note that the CK-M12 does not contain a
termination resistor.
These steps are recommended to get started with the CK-M12:
–
Verify the resistance across CANH and CANL is equal to 60 ohms with a multimeter when
the system is powered off. If 60 ohms is not found, check the CAN termination and refer
to the wiring diagram in section three.
–
Configure the CAN enabled device of choice to read the CAN messages from the CK-M12.
–
Provide power to the CK-M12 and verify CAN communications between the CK-M12 and
CAN enabled device.
–
Transmit indicator CAN messages for color and brightness to the CK-M12 and verify
response.
en | Wiring
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
3
Wiring
The following table lists descriptions for each wire of the CK-M12.
CK-M12 Wire Identification
Wire
Function
Red
12/24V Power
Black
Ground
Yellow
CAN high (CANH)
Green
CAN low (CANL)
White, Black Band
Digital Input 1 Active Low
White, Brown Band
Digital Input 2 Active Low
White, Red Band
Digital Input 3 Active Low
White, Orange Band
Digital Input 4 Active Low
White, Yellow Band
Digital Input 5 Active Low
White, Green Band
Digital Input 6 Active Low
White, Blue Band
Digital Input 7 Active Low
White, Purple Band
Digital Input 8 Active Low
White, Grey Band
Digital Input 9 Active Low
Figure 3.1: CK-M12 Wiring Concept
Notice!
Digital Inputs 1 to 9 are not intended to accept voltage! Additionally a maximum resistance
to ground of 100 Ohm must be respected for proper function of digital inputs.
CAN Keypad CK-M12
Wiring | en
7
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
The CK-M12 Sport does not include CAN termination on board. Proper CAN termination must
be included in the wiring harness at each end of the bus. A daisy chain style bus must be
constructed with stub lengths for added devices kept to under 1 foot (0.3 meters). Figure 3
shows a correctly constructed CAN bus with termination. Shielding is not required and the CK-
M12 does not offer a shield wire. However, if another module on the CAN bus offers a shield
pin, it is recommended to use it.
Figure 3.2: Example CAN bus with proper termination and shield concept
en | CK-M12 Sport Mounting and Environmental Considerations
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
4
CK-M12 Sport Mounting and Environmental
Considerations
The following specifications should be considered for CK-M12 vehicle mounting.
Min. Temperature
-40°C
Max. Temperature
+85°C
Max. Vibration
Bosch Motorsport Vibration Profile 1
Sealing Tightness
IP68
CAN Keypad CK-M12
Voltage Supply and Current Consumption | en
9
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
5
Voltage Supply and Current Consumption
The following specifications should be considered for wire and circuit selection.
Supply Voltage
9 V to 32 V
Nominal Voltage
12 V/24 V
Max Current draw
250 mA
Average Current draw
100 mA
en | CAN Communications
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
6
CAN Communications
The CK-M12 transmits 1 CAN message that provides the status of each button and digital
input, and receives 1 message to configure the indicating ring color for each button and the
overall keypad brightness. The default baud rate is 1,000 kbps, however, other baud rates and
IDs can be achieved through custom configuration by Bosch Motorsport.
Notice!
The brightness value MUST be sent to see any indicator feedback. Colors 9 to 15 will not
be visible when using brightness value 1.
Figure 6.1: DBC Data flow
6.1
Primary Data Message (CK-M12_TX.dbc)
ID
0x800 (default setting however IDs can be
reconfigured)
ID type
Extended (29 bit identifier)
Direction
Transmit from CK-M12
Length
4 bytes
Rate
10 ms
Endian-ness
Little (Intel)
Button Status (0 not pressed, 1 pressed)
Bit 0
Button_01
Bit 1
Button_02
Bit 2
Button_03
Bit 3
Button_04
Bit 4
Button_05
Bit 5
Button_06
Bit 6
Button_07
CAN Keypad CK-M12
CAN Communications | en
11
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Bit 7
Button_08
Bit 8
Button_09
Bit 9
Button_10
Bit 10
Button_11
Bit 11
Button_12
Digital Input Status (0 not grounded, 1 grounded)
Bit 16
DigIn_01
Bit 17
DigIn_02
Bit 18
DigIn_03
Bit 19
DigIn_04
Bit 20
DigIn_05
Bit 21
DigIn_06
Bit 24
DigIn_07
Bit 25
DigIn_08
Bit 26
DigIn_09
6.2
Feedback Message (CK-M12_RX.dbc)
ID:
0x801 (default setting however IDs can be reconfigured)
ID type
Extended (29 bit identifier)
Direction
Receive to CK-M12
Length
6 bytes
Rate
N/A
Endian-ness
Little (Intel)
Feedback Message Data
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Indicator
1/2
Indicator
3/4
Indicator
5/6
Indicator
7/8
Indicator
9/10
Indicator
11/12
Keypad
Brightness
Indicator Data
Each button on the keypad can be addressed to display a different color depending on the 4
bit integer (0-15) sent to the corresponding address. The integer to color chart is shown
below. The keypad also has a global brightness setting again set by a 4 bit integer (0-15)
value.
en | CAN Communications
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
Notice!
The brightness value MUST be sent to see any indicator feedback. Colors 9 to 15 will not
be visible when using brightness value 1.
Brightness 15
-
-
-
-
-
Brightness 7
-
-
-
-
-
Brightness 0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Indicator Color
Figure 6.2: Indicator Color and Brightness Chart
Button 1 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
0
Length
4 bit
Endian-ness
Little (Intel)
Button 2 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
4
Length
4 bit
Endian-ness
Little (Intel)
Button 3 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
CAN Keypad CK-M12
CAN Communications | en
13
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Button 3 Indicator (0-15 Color)
Start Bit
8
Length
4 bit
Endian-ness
Little (Intel)
Button 4 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
12
Length
4 bit
Endian-ness
Little (Intel)
Button 5 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
16
Length
4 bit
Endian-ness
Little (Intel)
Button 6 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
20
Length
4 bit
Endian-ness
Little (Intel)
Button 7 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
24
Length
4 bit
Endian-ness
Little (Intel)
en | CAN Communications
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
Button 8 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
28
Length
4 bit
Endian-ness
Little (Intel)
Button 9 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
32
Length
4 bit
Endian-ness
Little (Intel)
Button 10 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
36
Length
4 bit
Endian-ness
Little (Intel)
Button 11 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
40
Length
4 bit
Endian-ness
Little (Intel)
CAN Keypad CK-M12
CAN Communications | en
15
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Button 12 Indicator (0-15 Color)
Type
Unsigned
Factor
1
Offset
0
Start Bit
44
Length
4 bit
Endian-ness
Little (Intel)
Keypad Brightness (0-15 Brightness)
Type
Unsigned
Factor
1
Offset
0
Start Bit
44
Length
4 bit
Endian-ness
Little (Intel)
en | Example Usage - PBX
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
7
Example Usage - PBX
The CK-M12 is designed to be used in conjunction with the PBX190/90 power controllers,
below is a simple example showing how to configure the keypad to switch on a high side
output when a button is pushed. In this example the indicating ring will toggle between 0
(black/off) and 6 (blue) when the button is pushed. The values shown in the blue boxes are
representing the default value for each of the blocks.
15
6
0
Figure 7.1: Momentary Switch Implementation
Figure 7.2: Toggle Switch Implementation
CAN Keypad CK-M12
Example Usage - PBX | en
17
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Figure 7.3: 6 Position Toggle Switch Implementation
Figure 7.4: X Position Switch with Non-linear Output
en | Example Usage - DDU
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
8
Example Usage - DDU
The CK-M12 can be used with a DDU for various functions using simple math channels. In this
example the DDU 7 will be controlling indicator 1 on the keypad based on the state of button
1. In the case that the button is pushed the math channel will return 4 (green). If the button is
released it will return 13(dimmed blue). The corresponding 4 bits of 0x801 are filled with the
math channel CKM_Ind1 to be transmitted to the keypad.
Figure 8.1: CAN configuration to read button 1 of the CK-M12
Figure 8.2: Math channel to create indicator color integer based on button 1 state, light blue when button
is not pressed, green when pressed
CAN Keypad CK-M12
Example Usage - DDU | en
19
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
Figure 8.3: Computed channel configuration for 2 or more position toggle switch functionality
Figure 8.4: Computed channel configuration for Up-Down switches for brightness control
Figure 8.5: CAN configuration for indicator output to CK-M12 including 12 math channels, one for each
indicator and the brightness value
en | Example Usage - DDU
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
Figure 8.6: CAN channel configuration for transmitting Indicator 1 value
CAN Keypad CK-M12
Open Source Software (OSS) Declaration | en
21
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
9
Open Source Software (OSS) Declaration
Modified BSD License (avr-libc)
The AVR-libc library is used with GCC on Atmel AVR microcontrollers.
The contents of avr-libc are licensed with a Modified BSD License.
All of this is supposed to be Free Software, Open Source, DFSG-free,GPL-compatible, and OK
to use in both free and proprietary applications.
See the license information in the individual source files for details.
Additions and corrections to this file are welcome.
*******************************************************************************
Portions of avr-libc are Copyright (c) 1999-2010
Keith Gudger,
Bjoern Haase,
Steinar Haugen,
Peter Jansen,
Reinhard Jessich,
Magnus Johansson,
Artur Lipowski,
Marek Michalkiewicz,
Colin O'Flynn,
Bob Paddock,
Reiner Patommel,
Michael Rickman,
Theodore A. Roth,
Juergen Schilling,
Philip Soeberg,
Anatoly Sokolov,
Nils Kristian Strom,
Michael Stumpf,
Stefan Swanepoel,
Eric B. Weddington,
Joerg Wunsch,
Dmitry Xmelkov,
The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
–
Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
–
Redistributions in binary form must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
en | Open Source Software (OSS) Declaration
CAN Keypad CK-M12
29.10.2019 | Version 1.1 |
Quick Start Manual
Bosch Motorsport
–
Neither the name of the copyright holders nor the names of contributors may be used to
endorse or promote products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
*******************************************************************************
CAN Keypad CK-M12
Contacts | en
23
Bosch Motorsport
Quick Start Manual
29.10.2019 | Version 1.1 |
10
Contacts
US Dealers East Coast
Mech Tronic
Bill Roth
[email protected]
631-423-0523
323 Coolidge Dr.
Centerport, NY 11721
US Dealers West Coast
Sakata Motorsport Electronics
Brian Sakata
[email protected]
714-446-9473
1217 N. Patt St.
Anaheim, CA 92801
Bosch Europe
Bosch Engineering GmbH
Motorsport
Robert-Bosch-Allee 1
74232 Abstatt
Germany
Phone: +49 7062 911 02
Fax: +49 7062 911 6001
Bosch North and South America
Bosch Engineering
Motorsports
38000 Hills Tech Drive
Farmington Hills, MI 48331-3417
United States of America
Phone: +1 248 876 2977
Fax: +1 248 876 7373
Bosch Asia Pacific
Bosch Engineering Japan K.K.
Motorsport
3-33-8 Tsuruya-cho, Kanagawa-ku, Yokohama-shi
221-0835
Japan
Tel: +81 45 410 1650
Fax: +81 45 410 1651
E-Mail: [email protected]
www.bosch-motorsport.com
© All rights reserved by Bosch Engineering GmbH, also for the case of patent reports.
Bosch Engineering GmbH
Motorsport
Robert-Bosch-Allee 1
74232 Abstatt
Germany
www.bosch-motorsport.com
© Bosch Engineering GmbH, 2018