Search found 3 matches

by nickma
Sun Oct 19, 2014 6:55 pm
Forum: STM32 Support
Topic: CAN-Bus bringup problems
Replies: 4
Views: 2803

Re: CAN-Bus bringup problems

The CAN Buffer size is three Messages big.

For me it looks like the *software driver isn't trying to send anything*.
Why:
because of the debug output (first post):
can_state == 3 means CAN_READY (see: m)
and after three Messages the tx_empty_before isn't 1 anymore and the returncode turns to be -1 ...
by nickma
Sun Oct 19, 2014 6:48 pm
Forum: STM32 Support
Topic: CAN-Bus bringup problems
Replies: 4
Views: 2803

Re: CAN-Bus bringup problems


Looking at board schematic, PA11 and PA12 are connected to the USB circuitry, it is possible this is the problem.
Giovanni

Hi Giovanni,
thanks for the response

Hardware: There shouldn't be any restrictions if the USB-Data arent plugged in/connected, which in my case isn't the case
Software ...
by nickma
Sun Oct 19, 2014 5:14 pm
Forum: STM32 Support
Topic: CAN-Bus bringup problems
Replies: 4
Views: 2803

CAN-Bus bringup problems

Hi,
I'm trying a couple of hours now to bringup my CAN communication and I think I need help..
I basically copied the ChibiOS_2.6.3/testhal/STM32F1xx/CAN project and I'm trying to get it working. Fact is that I'm not getting any data out of the tx/rx pin.

Hardware Setup:

⋅ Board ...