zoukankan      html  css  js  c++  java
  • A CANBus Tiny Network without Transceiver ICs : STM32F4 Discovery

    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.

  • 相关阅读:
    C# 排序技术研究与对比
    基于.net的通用内存缓存模型组件
    Scala学习笔记:重要语法特性
    一个初学者的指南,使用D3做数据绑定
    CLR垃圾回收的设计
    CLR线程概览(下)
    CLR线程概览(一)
    使用sos查看.NET对象内存布局
    .NET对象的内存布局
    MYC编译器源码之代码生成
  • 原文地址:https://www.cnblogs.com/shangdawei/p/4714957.html
Copyright © 2011-2022 走看看