Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

I2c through RealTerm

Status
Not open for further replies.

asafb

New Member
Hi,
I have some basic questions regarding realTerm operation specific I2C commands.
In general i'll need to use the RealTerm as an I2c interface .
1)
I am trying to enter command in I2c format (like 02 59 - which read special function status_ register ) throw a file (Dump to port feature).
How can i see that the RS232 received it through realTerm .
2)
The real term output a log file . Is there anywhere i can find an explanation/documentation of what it means ?
This is a report i got after writing the command 02 59
APRO v4.06
Compiler : Delphi 3
Operating System : Windows XP 5.1 Service Pack 2
Device: COM1
Date/time: 24/08/05, 08:16:19
Time Type SubType Data OtherData
-------- -------- ------------ -------- ---------
0062.569 TrDatChg Avail 00000001
0062.569 TrigAllc Timer 00000050
0062.569 TrigAllc Timer 00000058
0062.569 TrigAllc Status 00000063 (Output buffer free)
0062.569 TrigAllc Status 0000006C (Output buffer used)
0062.569 TrigAllc Status 00000071 (Modem status)
0062.570 Ascii taInitial 00000000
0062.570 TrDatChg Timer 00000058 [01][00][00][00]
0062.570 TrDatChg Timer 00000050 [F0][FF][00][00]
0062.570 Ascii taGetBlock 00000000
0062.571 TrDatChg Timer 00000050 [F0][FF][00][00]
0062.571 TrDatChg Status 00000063 =[00][00][00]
0062.571 TrDatChg Timer 00000058 [01][00][00][00]
0062.571 TrgHdAlc Procedure 00000000
0062.601 Trigger Status 00000063
0062.601 Ascii taWaitFrSpc 00000000
0062.601 Ascii taSendBlock 00000000
0062.601 Dispatch WriteCom 00000001 0
0062.601 Dispatch WriteCom 00000001 2
0062.601 Dispatch WriteCom 00000001 [20]
0062.601 Dispatch WriteCom 00000001 5
0062.601 Dispatch WriteCom 00000001 9
0062.601 TrDatChg Timer 00000050 [F0][FF][00][00]
0062.601 TrDatChg Status 0000006C [00][00][00][00]
0062.601 Trigger Status 00000045
0062.601 Ascii taFinDrain 00000000
0062.603 TrDatChg Timer 00000048 [01][00][00][00]
0062.603 Trigger Status 0000006C
0062.603 Ascii taFinDrain 00000000
0062.603 Ascii taFinished 00000000
0062.604 TrigDisp Timer 00000050
0062.604 TrigDisp Timer 00000058
0062.604 TrigDisp Status 00000063 (Output buffer free)
0062.604 TrigDisp Status 0000006C (Output buffer used)
0062.604 TrigDisp Status 00000071 (Modem status)
0062.604 TrgHdDsp Procedure 00000000
0062.605 Ascii Status 00000000 ErrorCode:0
0062.698 Trigger Timer 00000048
0062.699 TrDatChg Status 00000045 [00][00][00][00]


3) from your experience How is the best way to work with I2c and realterm together ?


Thaks for your time and effort
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top