[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] CANbus driver
From: |
Piotr Esden-Tempski |
Subject: |
Re: [Paparazzi-devel] CANbus driver |
Date: |
Wed, 30 Jan 2013 08:42:57 -0800 |
Did you check that the RS resistor is there and correctly set on your Lisa/M?
Meaning the R56 should not be on the board and R55 should be jumped (can be a
blob of solder) to ground.
Cheers Piotr
On Jan 30, 2013, at 1:49 AM, Miguel Torres <address@hidden> wrote:
> I'm starting to work with CAN bus, so right now I'm just playing with bit
> timing and sending dummy messages to test all nodes. I have 3 nodes
> connected: one Lisa/M, one LPCXpresso board (LPC11C24 MCU with integrated can
> controller and transceiver) and one microchip can bus analyzer. I will add
> the ESC32 once I got the can transceiver mounted on it.
>
> To start with, i would like to have the existing driver code up and running.
> It looks like a simple driver but as far as it seems it should work. Once the
> basic communications are working I will focus on the communications protocol
> and messages. I'm not sure if it's a good idea to continue with the actual
> driver or if it's better to redesign a new one. At least the CAN bus timing
> settings should be configurable by the user.
>
> Regarding the tests, I've got the LPCXpresso and the can bus analyzer send
> and receive messages, but with Lisa/M I haven't managed to perform any
> communication at all. I've tried with different bitrates but without luck. I
> don't have a jtag debugger so I'm only sending some telemetry messages and
> blinking some leds for debugging. I am using master branch and fixedwing
> firmware. Searching for can bus in the paparazzi code I only found the "Beth"
> airframe to work with canbus, and since it's a custom code for a bench test,
> I am wondering if the can bus driver conficts with other elements of the
> fixedwing firmare. I have written a small module to test the canbus driver
> that periodically sends a message, and also i have written a receive callback
> to "echo" the received messages back.
>
> Regards
>
> Miguel.
>
>
>
> __________________________________________________________________________________________________
>
> Miquel Ãngel Torres Gil
> Instituto Tecnológico y de EnergÃas Renovables, S.A. (ITER, S.A.)
> PolÃgono Industrial de Granadilla, s/n 38600 - Granadilla de AbonaSanta Cruz
> de Tenerife - España (Spain)
> TEL: + 34 922-747-700; FAX: +34 922-747-701
>
> __________________________________________________________________________________________________
>
> Antes de imprimir este e-mail piense bien si es necesario hacerlo. El
> medioambiente es cosa de todos.Please consider your environmental
> responsibility. Before printing this e-mail, ask yourself whether you really
> need a hard copy.
>
>
> ADVERTENCIA:
> La información incluida en este e-mail es CONFIDENCIAL, siendo para
> uso exclusivo del destinatario arriba mencionado. Si Usted lee este mensaje y
> no es el destinatario indicado, le informamos que está totalmente prohibida
> cualquier utilización, divulgación, distribución y/o reproducciónn de
> esta comunicación sin autorización expresa en virtud de la legislación
> vigente. Si ha recibido este mensaje por error, le rogamos nos lo notifique
> inmediatamente por esta misma vÃa a GRUPO ITER, S.A. y proceda a su
> eliminación.
> DISCLAIMER: This message is intended exclusively for its addressee and may
> contain information that is CONFIDENTIAL and protected by professional
> privilege. If you are not the intended recipient you are hereby notified that
> any dissemination, copy or disclosure of this communication is strictly
> prohibited by law. If this message has been received in error, please
> immediately notify us via e-mail to GRUPO ITER, S.A. and delete it.
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel