If the handle argument is zero, the function will attempt to close all possible handles, thereby closing all open Aardvark adapters. The error signifies that it was not possible to guarantee that the connected Aardvark device has processed the host PC request, though it is likely that the requested action has been communicated to the Aardvark adapter and the response was simply lost. This is the return value mentioned above. While provided language bindings stubs are fully functional, it is possible to modify the code found within this file according to specific requirements imposed by the application designer. If you have any questions regarding this issue please contact Total Phase support.

Uploader: Mizil
Date Added: 26 July 2011
File Size: 44.20 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 72533
Price: Free* [*Free Regsitration Required]

They can also be found in the software download package available on the Total Phase website. The benefits of every developer having their own interface are:. If you flip your Aardvark adapter over figure 6 such that the text on the serial number label is in the proper upright position, the pin order is as shown in the following diagram. If there is a version mismatch, the API calls to open the device will fail. There was an error reading from the Aardvark adapter.

As described before, the Aardvark software contains asynchronous queues that can be filled during synchronous operations on the Aardvark adapter.

Aardvark I2C/SPI Host Adapter

The bus is always freed i. USB Drivers – Linux.


This website requires cookies 12c/dpi provide all of its features. Data can be transferred at high speed, often into the range of the tens of megahertz. Read the bytes from an I 2 C slave reception with extended status information.

Write a stream of bytes to the I 2 C slave device followed by a read from the same slave device.

For sales inquiries, please contact sales totalphase. Return number of bytes written from a previous Aardvark I 2 C slave to I 2 C master transmission with extended status information. The requested slave was not found. Total Phase and distributors have no obligation to provide maintenance, support, or updates.

Due to the presence of only two wires, there is additional complexity in handling the overhead of addressing and acknowledgments. If both arrays are NULLneither array is populated, but the number of devices found is still returned.

1 General Overview

The ribbon cable pin order follows the standard convention. This length denotes the aardcark of bytes that the slave has available for reading not including the length byte itself.

The Aardvark adapter is completely field-upgradable via USB. If there is other time critical code that must be executed simultaneously, it is best to use the asynchronous polling function found in the API which allows for variable timeout values.

If maxTxBytes is 0there is no limit on the number of bytes that this slave will transmit per transaction. While provided language bindings stubs are fully functional, it is possible to modify the code found within this file according to specific requirements imposed by the application designer. Because all communication takes place on only two wires, all devices must have a unique address to identify it on the bus.


The Aardvark adapter will then assemble the address into the proper format as described in the Philips specification, namely by first issuing an write transaction on the bus to specify the bit slave and then a read transaction to read the requested number of bytes. There is a limitation that a maximum of only bytes can be written in a single transaction if the bit addressing mode is used.

Aardvark I2C/SPI Host Adapter – Total Phase

No bytes are sent to the slave, so the data argument is ignored i. There was an error writing to the Aardvark adapter.

Select the China site in Chinese or English for best site performance. The next time the line is an output and activated aardvarj GPIO, the output value previously set aaddvark automatically take effect. These delays will further reduce the overall throughput across multiple transactions. Leave a comment Category – SupportTutorials. Each device has its own SS line.

I 2 C slave write stats are available. If the timeout value is negative, the function will block indefinitely until data arrives.