ATA6571 Click Board
ATA6571 Click Board
Key Features:
- High-Speed CAN Transceiver, improved EMC Compatibility and ESD performance, very low power consumption, remote wake-up support, protection and diagnostic functions, and more.
- Based on the ATA6571 Click is based on the ATA6571, a standalone high-speed CAN FD transceiver up to 5 Mbit/s that interfaces a Controller Area Network (CAN) protocol controller and the physical two-wire CAN bus from Microchip.
- Can be used for all types of high-speed CAN networks, especially in nodes requiring low-power mode with wake-up capability via the CAN bus.
- mikroBUS: UART Interface
The ATA6571 Click Board™ is a compact add-on board containing a transceiver 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. It offers several operating modes with diagnostic and fail-safe features that enhance system reliability. Its advanced low-power management with local and remote Wake-Up support makes it possible to achieve low current consumption in Standby and Sleep mode. This Click Board™ is suitable for all types of high-speed CAN networks, especially in nodes requiring low-power mode with wake-up capability via the CAN bus.
The ATA6571 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the ATA6571 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control ATA6571 Click board™. The library performs a standard UART interface communication.
Key Functions
void ata6571_set_operation_mode ( uint8_t op_mode )
- Set device operation mode function.void ata6571_write_byte ( uint8_t input )
- Write Single Byte.uint8_t ata6571_read_byte( void )
- Read Single Byte.
Example Description
The application is composed of three sections :
- System Initialization - Initializes UART used for communication and another UART bus used for data logging.
- Application Initialization - Initializes UART driver. In addition to this module is placed inside normal working mode capable of transmission and reception of data.
- Application Task - (code snippet) - This is an example which demonstrates the use of ATA6571 Click board™. Transmitter/Receiver task depend on uncommented code Receiver logging each received byte to the UART for data logging, while the transmitter sends a message every 2 seconds.
void application_task ( ) { char tmp; uint8_t drdy_flag; if ( app_mode == APP_MODE_RECEIVER ) { // RECEIVER - UART polling drdy_flag = ata6571_byte_ready( ); if ( 1 == drdy_flag ) { tmp = ata6571_read_byte( ); mikrobus_logWrite( &tmp, _LOG_BYTE ); } } else { // TRANSMITER - TX each 2 sec for ( tmp = 0; tmp < 9; tmp++ ) { ata6571_write_byte( demo_message_data[ tmp ] ); Delay_ms( 100 ); } mikrobus_logWrite( " MESSAGE SENT! ", _LOG_LINE ); mikrobus_logWrite( "-------------------", _LOG_LINE ); Delay_ms( 2000 ); } }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The ATA6571 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
ATA6571 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.