TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (354 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 (136887 times)
  2. FAT32 Library (70019 times)
  3. Network Ethernet Library (56002 times)
  4. USB Device Library (46308 times)
  5. Network WiFi Library (41933 times)
  6. FT800 Library (41208 times)
  7. GSM click (29017 times)
  8. PID Library (26430 times)
  9. mikroSDK (26398 times)
  10. microSD click (25386 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

ATA663254 click

Rating:

5

Author: MIKROE

Last Updated: 2018-07-12

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LIN

Downloaded: 4271 times

Not followed.

License: MIT license  

ATA663254 click is a fully integrated LIN transceiver device with an integrated 5V LDO voltage regulator.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "ATA663254 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "ATA663254 click" changes.

Do you want to report abuse regarding "ATA663254 click".

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

mikroSDK Library Blog

ATA663254 Click

ATA663254 Click

Native view of the ATA663254 Click board.

View full image
ATA663254 Click

ATA663254 Click

Front and back view of the ATA663254 Click board.

View full image

Library Description

Library caries 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 is new data placed in the RX buffer

uint8_t ata663254_getRstState() - Function checks RST pin if undervoltage detection happens

Examples 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. 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
}


Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 clickor 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

Accel 13 click

5

Accel 13 Click features an ultra-low power triaxial accelerometer sensor with embedded intelligence, labeled as the IIS2DLPC.

[Learn More]

EXPAND 6

5

EXPAND 6 Click is a compact add-on board that contains an I2C configurable multi-port I/O expander with independently configurable pins as bi-directional input/outputs or PWM outputs. This board features the CY8C9520A, 20-bit I/O expander with EEPROM, and 4 independently configurable 8-bit PWM outputs from Cypress Semiconductor.

[Learn More]

IR Distance click

1

IR distance click carries Sharp’s GP2Y0A60SZ0F distance measuring sensor. The sensor module comprises an integrated PSD (position sensitive detector), an infrared LED and a signal processing circuit. The measuring range is between 10 and 150 cm.The board is designed to use either a 3.3V or a 5V power supply.

[Learn More]