[dev65] TC65 with SPI

Romain Farkas romain.farkas at epfl.ch
Sat Feb 14 06:43:55 MST 2009


Hey Fabio,
I've tried to interface a SD card to the XT75 which has basically I guess
the same SPI interface. After quite some time I gave up because there was no
way I could have some serious control on the timing of the SPI frames. But I
was able to write and read some data from the SD card. If you're interested
I can try to find the source code...

But I guess it would be much easier with an external microcontroller.

BR

Romain

2009/2/14 Fabio Nicolas Schmidt <fabioschmidt at gmail.com>

> Hello.
>
> It was very hard to find this forum that talk about TC65 and his variants.
> You have no idea how much I break my head doing some simple things with TC65
> and Java.
>
> Have somebody still used SPI with Java? How do you implemented SPI
> communication into your Java Application? I had some errors while oppening
> and closing SPI, but they are still solved.
>
> The problem was that I was not able to keep a SPI connection oppened,
> because during SPI communication I had to send some AT commands, and using
> other AT Parsers was not working. And oppening and closing SPI channel lot
> of times was returning me some exceptions, like "cant send at command,
> ongoing data connection".
>
> So, I called Cinterion Support ant they explained me to make three classes,
> one for each AT parser. I made they Static, so I instanciate each at parser
> into each AT class, then I open the SPI connection into one of this class
> and mantain it oppened until the end of the program.
>
> Can you tell some of yours experiences? I think this is very important to
> impove our abilities using it.
>
> Sorry about my English errors, I´m from Brazil.
>
> Thanks.
>
> --
> Fábio Nicolas Schmidt MSN fabioschmidt at gmail.com
>
> _______________________________________________
> dev65 mailing list
> dev65 at castrov.cuug.ab.ca
> http://castrov.dyndns.org/cgi-bin/mailman/listinfo/dev65
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://castrov.dyndns.org/pipermail/dev65/attachments/20090214/91314c51/attachment.htm 


More information about the dev65 mailing list