Taidacent STM32f103c8t6

Taidacent TTL to CAN Bus Converter (STM32f103c8t6) User Manual

Model: STM32f103c8t6

1. Introduction

This module converts a TTL signal into a CAN signal, simplifying data transmission for embedded systems. It eliminates the need to learn complex CAN protocols, thereby shortening development cycles and reducing costs. The module supports both 3.3V and 5V power supplies and features semi-hole technology for easy integration into various systems. It is equipped with a 32-bit ARM processor and a CAN level shifting chip, offering 14 sets of masking filters with five frame filtering methods each. Parameters are configured via simple AT commands, with only 6 instructions required. Its wide baud rate range enhances network adaptability.

2. Product Features

  • Processor: ARM processor with Cortex M3 core for enhanced data processing and lower power consumption. Integrated CAN controller for efficient transmission.
  • Power Supply: Compatible with 5V and 3.3V power supplies, featuring an LDO linear regulator.
  • CAN Baud Rate: Supports 3Kbps to 1Mbps, fully compliant with CAN bus 2.0A and 2.0B specifications.
  • Serial Port Baud Rate: Supports 4800bps to 460800bps.
  • Sampling Point: Automatically adjusted to or near the CIA value.
  • Filtering: 14 sets of 32-bit shielding filters, freely configurable.
  • Configuration: Parameters set via AT commands and saved after power down.
  • Data Transfer Speed: Over 600 frames per second.
  • Recovery: Offline self-recovery function.
  • Default Settings: Hardware and software restore default parameters.
  • Message Data Length: 0-8 bytes, arbitrarily settable.
  • Protection: Includes surge protection circuit to suppress transient interference.
  • Status Indicator: LED indicator shows 1 Hz in communication mode and 5 Hz in configuration mode.
  • Compatibility Note: The serial port is TTL 3.3V signal; not compatible with 232 signal. A 5V to 3.3V circuit is recommended for interfacing with 5V systems.

3. Setup and Connections

Proper connection of the module is essential for correct operation. Refer to the pinout diagram and descriptions below for guidance.

Taidacent TTL to CAN Bus Converter Pinout Diagram

Figure 3.1: Pinout diagram of the Taidacent TTL to CAN Bus Converter module, highlighting connection points.

Pin Descriptions:

  • 5V: Connect to a 5V power supply.
  • 3.3V: Connect to a 3.3V power supply.
  • GND: Connect to power ground.
  • CFG: Configuration pin. Set to 0 for configuration mode, 1 for working mode.
  • TXD: Connect to the RXD pin of your target board (e.g., STM32).
  • RXD: Connect to the TXD pin of your target board (e.g., STM32).
  • CANL: Connect to the CANL signal line of the CAN network.
  • CANH: Connect to the CANH signal line of the CAN network.

Important Note: The serial port of this module operates with a TTL 3.3V signal. It is not compatible with 232 signals. If integrating with a 5V system, it is strongly recommended to use a 5V to 3.3V level shifter circuit to prevent damage to the module or target board.

Top view of Taidacent TTL to CAN Bus Converter module

Figure 3.2: Top view of the module, showing the STM32 microcontroller and other components.

Bottom view of Taidacent TTL to CAN Bus Converter module with pin labels

Figure 3.3: Bottom view of the module, indicating pin labels for connection.

4. Operating Instructions

4.1 Modes of Operation

  • Configuration Mode: Set the CFG pin to 0. In this mode, the module accepts AT commands for parameter setup. The status indicator LED will flash at 5 Hz.
  • Working Mode: Set the CFG pin to 1. In this mode, the module performs TTL to CAN signal conversion. The status indicator LED will flash at 1 Hz.

4.2 AT Command Configuration

The module's parameters, such as CAN baud rate, serial port baud rate, and filter settings, are configured using a set of simple AT commands. There are only 6 instructions to manage the module's settings. These settings are saved automatically after power down, ensuring persistent configuration.

For detailed AT command syntax and usage, refer to the specific programming guide or datasheet provided by Taidacent (not included in this manual).

4.3 Data Transmission

Once configured and in working mode, the module facilitates high-speed data transfer between TTL serial and CAN bus interfaces. It supports data transfer speeds exceeding 600 frames per second. The message data length can be set arbitrarily from 0 to 8 bytes.

5. Maintenance

The Taidacent TTL to CAN Bus Converter module is designed for reliable operation with minimal maintenance. To ensure longevity and optimal performance:

  • Keep the module clean and free from dust and moisture.
  • Avoid exposing the module to extreme temperatures or humidity.
  • Ensure proper ventilation if enclosed in a casing.
  • Handle with care to prevent physical damage to components or solder joints.

6. Troubleshooting

  • No Communication:
    • Verify all power and signal connections (5V, 3.3V, GND, TXD, RXD, CANL, CANH) are secure and correct as per Section 3.
    • Ensure the CFG pin is set correctly for the desired mode (0 for configuration, 1 for working).
    • Check that the serial port of your target board is indeed TTL 3.3V. If it's a 5V system, confirm a level shifter is used.
    • Confirm baud rates (serial and CAN) are correctly configured and match the connected devices.
  • Incorrect LED Indicator Behavior:
    • If the LED is not flashing as expected (1 Hz in working mode, 5 Hz in configuration mode), recheck the CFG pin setting and power supply.
  • Module Unresponsive:
    • The module features offline self-recovery. Disconnect and reconnect power to attempt a reset.
    • You can restore hardware and software default parameters if configuration issues persist. Refer to the AT command documentation for the specific command to reset to factory defaults.
  • Data Corruption/Errors:
    • Verify CAN bus termination resistors are correctly implemented in your network, if applicable.
    • Check for electrical noise or interference in the environment. The module has surge protection, but extreme conditions can still affect performance.

7. Specifications

FeatureSpecification
BrandTaidacent
Model NumberSTM32f103c8t6
Hardware InterfaceSerial Interface (TTL 3.3V)
Compatible DevicesMicrocontroller, Single-Board Computer, Industrial Automation Device
CAN Baud Rate Range3Kbps - 1Mbps (CAN 2.0A and 2.0B)
Serial Port Baud Rate Range4800bps - 460800bps
Power Supply3.3V / 5V
ProcessorARM Cortex M3
Filtering14 sets of 32-bit masking filters
Data Transfer Speed> 600 frames per second
Unit Count1.0 Count
UPC792323453549
ASINB08THGZ2BN

8. Warranty and Support

Specific warranty information for the Taidacent TTL to CAN Bus Converter (STM32f103c8t6) is not provided in this manual. For details regarding warranty coverage, technical support, or further assistance, please contact Taidacent directly or refer to their official website. You may also reach out to the retailer from whom the product was purchased.

Manufacturer: Taidacent

© 2023 Taidacent. All rights reserved.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.