ata6571
2.0.0.0
|
ATA6571 Click is a compact add-on board that contains a transceiver designed for high-speed CAN applications. This board features the ATA6571, a standalone high-speed CAN FD transceiver that interfaces a CAN protocol controller and the physical two-wire CAN bus from Microchip.
We provide a library for the ATA6571 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for ATA6571 Click driver.
ata6571_cfg_setup
Config Object Initialization function. ata6571_init
Initialization function. ata6571_set_operating_mode
This function sets the device operating mode by controlling the EN and NSTB pins. ata6571_generic_write
This function writes a desired number of data bytes by using UART serial interface. ata6571_generic_read
This function reads a desired number of data bytes by using UART serial interface. This example reads and processes data from ATA6571 Clicks.
The demo application is composed of two sections :
Initializes the driver and sets the device operating mode.
Depending on the selected demo application mode, it reads all the received data or sends the desired message every 2 seconds.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.