×

La oferta termina hoy.Obtén un 30% de descuento en cualquier curso (excepto paquetes).

Termina en --- --- ---

Maxxecu can-bus

Descifrando las comunicaciones del bus CAN.

Mensajes del foro

Cursos

Blog

Artículos de tecnología

Debate y preguntas relacionadas con el curso "Comunicaciones CAN Bus Decodificadas"

= Hilos resueltos

Autor
3231 Vistas

Hello.

I want to send a transbrake signal to my maxxecu, from my transmission controller

But I'm having kinda hard finding out about bit mask , the transmission controller sends out 8 bit /flags on the same byte, so need to apply a bit mask to get it to work but not entirely sure if I got it right, how do I calculate the bit mask?

Best regards Henrik

Archivos adjuntos

Here is the data from the transmission controller

Archivos adjuntos
  • Screenshot_2022-02-06-16-12-12-375_com.android.chrome.jpg
  • Los archivos adjuntos solo pueden ser descargados por miembros Gold de pago. Lea más sobre cómo convertirse en miembro Gold aquí.

Mask = Result

80 = Shift right by 7 bits

40 = Shift right by 6 bits

20 = Shift right by 5 bits

10 = Shift right by 4 bits

08 = Shift right by 3 bits

04 = Shift right by 2 bits

02 = Shift right by 1 bit

01 = No bit shift

so the way I have done it now with bit mask 10 should be correct for reading transbrake ( bit 4)

Solemos responder en un plazo de 12 horas (a menudo antes).

¿Necesitar ayuda?

¿Necesitas ayuda para elegir un curso?

¿Está experimentando problemas con el sitio web?

¿O necesita ponerse en contacto con nosotros por cualquier otro motivo?