Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Until a sufficient protocol can be defined for sending driver input data over CAN, we will be using the following dummy scheme for the event data field:Byte #1:

31
Bits
30
0
29
1
28
2
27
3
26
4
25
5
24
6
23
7
22
Contents
21
Device Number

Byte #2:

...

Byte #3:

...

Byte #4:

Bits01234567ContentsDevice Number
2019181716
Device IDDevice StateAnalog/DigitalXXXX
1514131211109876543210
Analog DataXXXXXXXX


BitDescription
Device ID [7:0]The ID of the device sending the message
Device State
Analog/DigitalIf the event is an analog signal, con
Analog Data



Pin Assignments

Input DevicePinType
PowerPC0Digital
Gas PedalPA1Analog
Mechanical BrakePA2Analog
Direction Selector ForwardPB2Digital
Direction Selector ReversePB3Digital
Cruise ControlPC4Digital
Cruise Control IncreasePC5Digital
Cruise Control DecreasePC6Digital
Turn Signal RightPC7Digital
Turn Signal LeftPC8Digital
Hazard Light SwitchPC9Digital
I2C Serial Data LinePB9I2C
I2C Serial Clock LinePB8I2C

...