--- In siteplayer@yahoogroups.com, Rusty Haddock <rusty@...> wrote:
>
> leandro8502 wrote:
> >I'm doing my thesis using this device "siteplayer", but I have
> >problems with the synchronization with another microcontroller
> >this is Atmega 16, I cant read the value in the memory of the siteplayer.
> >first Im sending 20 nulls character, next I send the number of the
> >instruction in hexadecimal, and finally send the locality number,
>
> Are you using the development board or just the module?
>
> What do you mean by 'send the number of the instruction in hexadecimal' ??
>
> Hexadecimal, like decimal, is simply a written representation. For the
> read command you should be sending to the Siteplayer a single byte
> (8-bits) with the value of 192 plus the number of bytes you want to
> read less 1. For example, to read three bytes at address 15 you send
> two bytes with the following values:
>
> 194 # 192 + (3-1)
> 15
>
> Naturally, you should be sending these bytes at the proper serial bit-rate
> so that the Siteplayer will understand your ATmega16. The default serial
> rate is 9600-bps.
>
> >and I wait for the siteplayer response but nothing happen...
> >someone can help please it's urgent...
> >I'm stuck in my thesis almost two months for this problem
>
> -Rusty-
> --
> _____ Rusty Haddock <=> AE5AE
> |\/ o \ o Way out yonder in the
> | ( -< O o Van Alstyne (TX) Metropolitan Area
> |/\__V__/ Math illiteracy affects 7 out of 5 people!
>
first, thanks for your answer.... but I still have the same problem...
I'm using only the module, and I'm working with atmega 16 at 9600 bps.
and I want to read only one byte for this reason the number that I sent was 192
and next I sent the number of the locality, but these numbers I sent in
hexadecimal... although the siteplayer don't response....
help me PLEASE...!!!
OR is possible send the numbers in decimal? another question the number should
send separated by intros or followed without spaces?
I'm doing this:
first send 20 nulls characters
next send the C0(hex)(192 decimal)it`s the number of the instruction to read
only one byte
and finally I send the number of the locality that is 05(hex)
later I wait for the siteplayer response but nothing happen..!!