douk during my research for R9 reverse engineering, my agent populated this:
Where to find CAN definitions for the Yamaha R1 (2015+)
There are two sources I know of, and they agree with each other where they overlap.
1. r1-forum.com, "CAN Bus Protocol" thread
https://www.r1-forum.com/threads/can-bus-protocol.512553/
User SySt reverse-engineered the CAN bus of a 2015+ R1/R1M by hand for a data logger he built and raced with for a season. The thread runs from August 2015 to November 2017 and is now closed to replies. The site shows a bot challenge, so open it in a normal browser. Things it establishes:
- The bus runs at 500 kbps. There are about 1050 frames/s on only 16 IDs, the same with the engine off or running.
- The dash, ECU, ABS unit, IMU and CCU all sit on that bus, and you can reach all of them at the diagnostic connector in the tail.
0x260 carries the brake pressures as four 16-bit values: front demanded, front actual, rear demanded and rear actual.
0x264 carries the front and rear wheel speeds as 16-bit values.
- The lean angle comes in 5° steps ("not real precise"), broadcast at about 100 Hz.
The same forum's Lean Angle Sensor thread only repeats the 5° finding.
2. AiM's CAN_2015 protocol as a DBC file
https://github.com/billyjack2/CAN-DBC-Collection, file YAMAHA/CAN_2015/can1v3.dbc (can1v2.dbc is the same from BU_: onwards)
This is a conversion of AiM's logger protocol YAMAHA / CAN_2015, which covers the R1/R1M from 2015 and the R6 from 2017. Every signal has an AiM channel number and a sample rate in a comment. Because it comes from AiM and not from a forum, it gives exact bit positions and scales:
0x205: front and rear wheel speed, bytes 1–2 and 3–4, ×0.01 km/h.
0x209: this frame has
- RPM, bytes 1–2, ×0.4,
- TCS mode, 4 bits at bit 25,
- gear, 3 bits at bit 29 (0 = N … 6),
- power mode, 2 bits at bit 38.
0x215: this frame has
- throttle valve ×0.15 and grip ×0.145, as 16-bit values at bytes 1–2 and 3–4,
- the settings for quickshifter, slide control, lift control and launch control,
- single-bit flags in byte 7 for when TCS, SCS, LIF, launch control and front/rear ABS intervene.
0x226: map select, 3 bits at bit 53.
0x250: accelerometers X and Y, bytes 1–2 and 3–4, raw*0.001 - 7 g.
0x254: one gyro rate, bytes 5–6, 300 - raw*0.01 °/s. The file doesn't say which axis.
0x23E: coolant temperature, raw*0.66 - 36 °C.
0x260: the four brake pressures, ×0.1 bar.
Two caveats:
- The file declares a 9-byte payload for
0x260. Classic CAN can't carry 9 bytes, so at least one field there is off by a byte. Load the file with cantools using strict=False.
- The forum puts the wheel speeds in
0x264 and AiM puts them in 0x205. Both may be right, since the ABS unit could send them and the ECU send them again.