-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NC CAN data #461
Comments
struct nc_cluster { //packet intervals in ms void send218frame() { packet.id = 0x218; //0F A0 7C 80 FF FF FF 00 packet.data[0] = 0x0F; Mazda.txPacket(packet); /*
*/ PRHT requires 231 packet (that contains gear information), 201 packet (speed), 218(?) whose function i'm not 100% sure of, 4F0(?) that appears to be a static message of 231 is.. a bit messy here, since this (i think) ties into the fuel anti-slosh.. void send231frame() { if (currenttime > next_fuel_slosh) { packet.id = 0x231; if (TRANS_version > tT56) { if (TRANS_version == tT56) {
} cluster.LastPRNDL = cluster.PRNDL; Mazda.txPacket(packet); 212 packet is produced by the ABS module. I don't have it called out explicitely in my notes, but I think it's enabled by the 4Fx packets. The ECU reads the steering angle sensor and broadcasts that to the ABS module for Security - you can short circuit (sorta) the Security lamp on the cluster - it's a challenge/hash response/ack workflow, but you can shortcut by sending the ack packet within 10ms(?) of cluster power on. void turnoffsecurity() { //040#81 7F 00 00 00 00 00 00 packet.id = 0x040; Mazda.txPacket(packet); void send211frame() { packet.id = 0x211; c211data++; Mazda.txPacket(packet); |
rx8 preset runs the tach, oil pressure and coolant gauges. It can be copied and then delete the 0x212 portion as that will conflict with the ABS broadcast. |
NC dash(and chassis) CAN broadcasts from fome to support dash, abs, prht, etc.
https://github.com/hatsunearu/nc-mx5-miata-canbus/blob/main/mazda_mx5_nc.md
The text was updated successfully, but these errors were encountered: