码迷,mamicode.com
首页 > Web开发 > 详细

A CANBus Tiny Network without Transceiver ICs : STM32F4 Discovery

时间:2015-08-09 13:50:57      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:

技术分享

Sometimes you have a CAN equipped processor on a low cost board but it has no CAN transceiver chips.

Here is a method that can be used to create a small experimental network with such a board.

There will be no noise immunity and you might have to lower the speed….

but many experimenters have made this work satisfactorily.

Use a signal diode similar to 1N914 or 1N4148.

Power supply diodes usually do not have a fast enough recovery time for CAN to function.

Modifying the STM32F4 Discovery:

技术分享

In order to connect the two CAN controllers together, you must add two signal diodes (1N914, 1N4148 or similar)

and one 3.3 K? resistor as shown on this schematic.

The connections are easily accessible.

1. Add the three parts as shown on the schematic and in the photo.

2. Connect the resistor to the 3 volt supply as shown.

3. Add a jumper wire (not shown) from PB5 to PB8.

4. Note: I used a 2.7K? resistor and it seems to work well.

5. I soldered the components to the board.

6. Note: you will need to open the resistor for a step later.

 

You cannot connect this to a real CAN network as the voltages are wrong and it is not differential.

It is suitable for small experiments.

TIP: To view CAN frames on an oscilloscope: connect to the low side of the resistor. This will give a clean waveform.

 

A CANBus Tiny Network without Transceiver ICs : STM32F4 Discovery

标签:

原文地址:http://www.cnblogs.com/shangdawei/p/4714957.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!