View Single Post
  #10   Spotlight this post!  
Unread 09-04-2007, 10:49
Spencer E.'s Avatar
Spencer E. Spencer E. is offline
Android junkie
FRC #1305 (NNSRI Ice3 (cubed))
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Ontario, Canada
Posts: 91
Spencer E. has a spectacular aura aboutSpencer E. has a spectacular aura about
Send a message via MSN to Spencer E.
Re: Communicating through a GBA's link port

Quote:
Originally Posted by Astronouth7303 View Post
One thing that has not been described in the documents is how the GBA's "UART" mode relates to RS-232 settings. Specifically baud, parity, data bits, and stop bits. 8 data and 1 stop bit has become something of a de facto standard. Which leaves parity and baud. I can't remember what the RC uses for these, and I can't find what the GBA's settings are. I guess this is an exercise left to the reader!
On the gbatek site you gave me there are bits you can set to fix the baud rate, parity and data rate, so setting those bits to match the settings of the RC should work. Setting them to the right bits would probably be easier through assembly, I find it easier to directly access the memory rather than using C. Using devkitPro though you can use assembly opcodes right inside your C code (as per they do with the initialization of the RC).
__________________