×

La venta termina hoyObtenga un 30% de descuento en cualquier curso (excepto paquetes)

Termina en --- --- ---

Maxxecu can-bus

Comunicaciones CANBus decodificadas

Publicaciones del foro

Cursos

Blog

Artículos técnicos

Discusión y preguntas relacionadas con el curso Comunicaciones CAN Bus Decodificadas

= Hilos resueltos

Autor
1703 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
  • IMG_20220206_161147.jpg
  • Solo los miembros Gold pueden descargar archivos adjuntos. Obtén más información sobre cómo convertirte en miembro Gold aquí.

  • IMG_20220206_161159.jpg
  • Solo los miembros Gold pueden descargar archivos adjuntos. Obtén más información sobre cómo convertirte en miembro Gold aquí.

Here is the data from the transmission controller

Archivos adjuntos
  • Screenshot_2022-02-06-16-12-12-375_com.android.chrome.jpg
  • Solo los miembros Gold pueden descargar archivos adjuntos. Obtén más información sobre cómo convertirte 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)

Generalmente respondemos dentro de las 12 horas (a menudo antes)

¿Necesitar ayuda?

¿Necesitas ayuda para elegir un curso?

¿Tiene dificultades con el sitio web?

¿O necesita contactarnos por cualquier otro motivo?