Here you can obtain answers to the most frequently asked questions. If you have a question that is not covered in the FAQ, please fill out the feedback form.
Search the List
|
List of all articles
Wednesday 03. March 2004 How to set a valid bitrate?
I have a Tracii XL hooked up to I2C Studio.
Running C# .NET scipt I set the master.Bitrate = 105260;
I then get the following message:
Error: The specified bitrate is not valid.
Error:
Unhandled Exception: System.Exception: Please call Board::Dispose to de...
Category: I2c StudioWednesday 03. March 2004 How do I get a 50-50 duty cycle for the I2C clock?
I am running C# .NET using the script portion of I2C studio with a Tracii XL. When I run my application with a 100KHz I2C bitrate, there is a 14.5 microsecond pulse width between the 8th data bit and the ACK bit. At 100 KHz, the pulse width is about 5 microseconds. We need to have a maximum of 5 ...
Category: I2c StudioTuesday 02. March 2004 How do I determine if NAKs are returned from the I2C bus?
Using I2C.NET, when communicating to the I2C bus, I need to determine if a NAK (not acknowledged) has returned, how do I test for this condition?
You will get an exception, if the API cannot transmit or receive all bytes due to a NACK. So add a try/catch block to your code.
Category: I2c StudioMonday 01. March 2004 How do I compile C++ using I2C Studio Script?
I cut and pasted the MasterExample.cpp to the Script portion of I2C Studio and I get an error message "CS1024: Preprocessor directive expected."
What do I need to do in order to get this to work?
You cannot use C++ code (*.cpp) in the script window of I2C Studio. You have to us...
Category: I2c StudioMonday 01. March 2004 What are the values associated with bitrate using I2C.NET?
I need to be able to set the I2C bitrate between 100000 and 110000, but I get an invlaid master.bitrate when I run the MasterExample.cs code with anything other than 100000.
What are all the possible I2C bitrates? Why are they not the same as those used in I2C Studio?
The possi...
Category: I2c StudioSaturday 21. February 2004 How do I do conditional testing with I2C Studio?
How do I do conditional testing with I2C Studio?
I need to constantly read an address from the I2C and I want to halt when the data changes. How can I do this?
I would recommend to use the script functionality of I2C Studio. Please have a look into the I2C.NET API documentation...
Category: I2c StudioFriday 20. February 2004 Where can I download examples of Script code?
Where can I download examples of Script code such the the ones listed in the I2C Studio user manual (MasterExample.cs)?
You can find all examples described in the manual as files in the installation directory of I2C Studio. A link to this directory can be found in the start menu entry ...
Category: I2c Studio


