TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136537 times)
  2. FAT32 Library (69734 times)
  3. Network Ethernet Library (55842 times)
  4. USB Device Library (46177 times)
  5. Network WiFi Library (41801 times)
  6. FT800 Library (40989 times)
  7. GSM click (28922 times)
  8. PID Library (26384 times)
  9. mikroSDK (26280 times)
  10. microSD click (25298 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

CAN FD 5 click

Rating:

5

Author: MIKROE

Last Updated: 2020-09-23

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: CAN

Downloaded: 2444 times

Not followed.

License: MIT license  

CAN FD 5 Click is a compact add-on board that contains a high-speed CAN transceiver that supports both CAN and CAN FD protocol types.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "CAN FD 5 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "CAN FD 5 click" changes.

Do you want to report abuse regarding "CAN FD 5 click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

CAN FD 5 Click

CAN FD 5 Click

Native view of the CAN FD 5 Click board.

View full image
CAN FD 5 Click

CAN FD 5 Click

Front and back view of the CAN FD 5 Click board.

View full image

Library Description

The library covers all the necessary functions to control CAN FD 5 click board. Library performs a standard UART communication.

Key functions:

  • void canfd5_write_byte ( uint8_t input ) - Write Single Byte.
  • void canfd5_set_normal_operating_mode ( void ) - Set normal operating mode function.
  • void canfd5_set_operating_mode ( uint8_t op_mode ) - Set operating mode function.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes UART, sets CS and PWM pins as output and INT pin as input.
  • Application Initialization - Initialization driver enables - UART, performs an normal operating mode, also write log.
  • Application Task - (code snippet) This is an example that demonstrates the use of the CAN FD 5 click board. This application task writes message data via UART every 3 seconds. Results are being sent to the Usart Terminal where you can track their changes.
void application_task ( )
{
    mikrobus_logWrite( "----------------------", _LOG_LINE );
    mikrobus_logWrite( "", _LOG_LINE );
    
    canfd5_write_data( &demo_message_data[ 0 ] );
    
    mikrobus_logWrite( "  TX Data:  ", _LOG_TEXT );
    mikrobus_logWrite( demo_message_data, _LOG_LINE );
    Delay_ms( 3000 );
}

Other mikroE Libraries used in the example:

  • UART

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

Balancer 2 click

0

Balancer 2 Click is an overvoltage protection device for a 2-series cell lithium-ion battery. Click contains two separate overvoltage battery detection circuits and automatic cell imbalance correction.

[Learn More]

4G LTE 2 Voice click

0

4G LTE 2 Click is a compact add-on board representing a secure-cloud multi-band solution offering universal connectivity and reliable performance. This board features the LARA-R6001, the world’s smallest LTE Cat 1 module with global coverage and a built-in MQTT client from u-blox, representing a data and voice solution. Equipped with familiar AT commands set over the UART interface, USB interface, and Network and Status indicators, the LARA-R6001 also has a comprehensive certification scheme and multi-band/multi-mode capabilities providing excellent flexibility alongside the support of voice/audio application.

[Learn More]

Signal Relay click

0

Signal Relay click can be used for ON/OFF control in various devices. It carries four ultra-small GV5-1 PCB relays from Omron and runs on a 5V power supply.

[Learn More]