ATA663254 Click Board
ATA663254 Click Board
Key Features:
- Complete integrated LIN solution, with a 5V LDO that can be used for powering up other LIN nodes in the network, as well as the MCU. The onboard connector provides a secure and easy connection to the LIN network.
- Based on the ATA663254 integrated LIN bus transceiver with the 5V voltage regulator from Microchip
- It can be used for small and portable LIN based networks, that are commonly used in automotive applications, but also for any application where robust and interference-free communication up to 20Kbps is needed
- mikroBUS: UART and GPIO Interfaces
The ATA663254 Click Board™ is a fully integrated LIN transceiver device with an integrated 5V LDO voltage regulator. The combination of voltage regulator and bus transceiver makes it possible to develop simple but powerful slave nodes in LIN bus systems. The integrated LDO can be used to provide power to the host MCU so that no additional voltage regulators are required, only the power supply connected to the LIN connector is needed. The ATA663254 Click Board™ features the under-voltage protection, short-circuit protection, TXD time-out timer and its LIN physical layer complies with LIN 2.0, 2.1, 2.2, 2.2A and SAEJ2602-2 standard specifications.
These features make the ATA663254 Click Board™ a perfect solution for realizing small and portable LIN based networks that are commonly used in automotive applications for communicating with the vehicle sensor peripherals, but also for any application where robust and interference-free communication up to 20Kbps is needed.
Software Support
We provide a library for ATA663254 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
Defines and initializes driver's UART bus. Declares and defines driver's functions for sending and receiving data bytes,
also for checking if the data byte is ready for reading.
void ata663254_enable(uint8_t state);
- Function enables and disables click
void ata663254_writeByte(uint8_t input);
- Function writes (sends) one byte in the RX buffer
uint8_t ata663254_readByte();
- Function reads (receives) one byte from the RX buffer
uint8_t ata663254_ready();
- Function checks if new data placed in the RX buffer
uint8_t ata663254_getRstState();
- Function checks RST pin if under-voltage detection happens
Example Description
- System Initialization - Initializes peripherals and pins
- Application Initialization - Initializes click driver
- The receiver part of the task logs each received byte to the UART bus, used for data logging. The transmitter part of the task sends a message every two seconds.
void applicationTask() { // RECEIVER #ifdef __RX__ if(ata663254_ready()) { tmp = ata663254_readByte(); mikrobus_logWrite(&tmp, _LOG_BYTE); } #endif // TRANSMITER #ifdef __TX__ uint8_t cnt; for (cnt = 0; cnt < 9; cnt++) { ata663254_writeByte(MESSAGE_DATA[cnt]); } Delay_ms(2000); #endif }
The full application code and ready to use projects can be found on our LibStock page.
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 ATA663254 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.
ATA663254 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.