TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

Serial /TI link question

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> General Discussion
Author Message
IsMyNameTaken



Joined: 11 Jun 2009
Posts: 1

PostPosted: June 15, 2009 5:33 PM    Post subject: Serial /TI link question Reply with quote

I am currently trying to interface my TI-89 Titanium to an Atmel Atmega32 and have hit a brick wall. According to the data I have on the link protocol the message I am receiving from the calculator is wrong.

The program on the calculator is the following line:

send {1}

Now on the microcontroller side I get the following data stream:

89 06 08 00 03 00 00 00 04 01 FF 00 07 01

I should also note that send{a} and send{abc} works just as well provided the data fits in a single byte.

So 89 and 06 are correct for the device ID and command as are 0008 for the packet length. I think 00 00 00 03 is good for the variable size (as 1 can be stored in a byte and the size is the data size +2). The data type 04 is a list which seems right and the check sum of 0170 works out for the data. This leaves the Name size and Name data.

The name size is specified as 01 but the following data (FF 00) is two bytes.

Am I just reading this wrong or is my understanding of the TI-89 link protocol wrong?
Back to top
View user's profile Send private message
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> General Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |