uALFAT Issues
RW58
Posts: 7
Hello, I 've purchased a uALFAT breakout board from Saelig·and am having some issues.· Using fullduplexserial and tv_terminal, I am able to view the GHI firmware/splash screen, but the unit will not acknowldge any commands.·
Any help would be appreciated.· Thanks!·
Rich
The connections I've used are:
uALFAT
1 (UART TX)···· P0 on prop
2 (UART(RX)·····P1 on prop
7 (CTS)·········· Gnd
13 Vdd··········· 3.3v
15 Vss············ Gnd
I've also connected SPI_SSEL# and SPI_CLK to gnd (interface selection) with the same results.
Here is·the sample code I am using:
OBJ
······· term··· : "tv_terminal"
······· kb····· : "keyboard"
······· doc···· : "FullDuplexSerial"
PUB start |· c,d
· term.start(12)
· kb.start(26, 27)
· doc.start(0, 1, %0100, 9600)
repeat
··· c := doc.rxcheck
··· if c <> -1
····· term.out(c)
··· d := kb.key
··· if d <> 0 and d <> $DF
····· doc.tx(d)
····· term.out(d)
··
Any help would be appreciated.· Thanks!·
Rich
The connections I've used are:
uALFAT
1 (UART TX)···· P0 on prop
2 (UART(RX)·····P1 on prop
7 (CTS)·········· Gnd
13 Vdd··········· 3.3v
15 Vss············ Gnd
I've also connected SPI_SSEL# and SPI_CLK to gnd (interface selection) with the same results.
Here is·the sample code I am using:
OBJ
······· term··· : "tv_terminal"
······· kb····· : "keyboard"
······· doc···· : "FullDuplexSerial"
PUB start |· c,d
· term.start(12)
· kb.start(26, 27)
· doc.start(0, 1, %0100, 9600)
repeat
··· c := doc.rxcheck
··· if c <> -1
····· term.out(c)
··· d := kb.key
··· if d <> 0 and d <> $DF
····· doc.tx(d)
····· term.out(d)
··
Comments
By default I would use 0 (zero) for the mode.
Thomas
·
SCK(5), SPI_SEL(8), and CTS(7)·should be Gnd.
VBAT(12) and VCC(13) should be at 3.3V
5V(18) should be at 5V.
·
Thanks
I don't have it hooked up now, but here's the code I cobbled together to test it, it's ugly, but it was just a test.
did you try to send commands from a PC-Comport with a terminal-software ?
make a Y-cable that you can monitor the rx and the tx-data on a PC-terminal-software
............Prop.....PC-Comport
....................Y
................uALFAT
greetings
Stefan
I verified via a scope that I am transmitting. Also tried again on 2nd uALFAT -same results!
Stefan, I don't have a level shifter, so for now I'm using the prop-only. Shouldn't make a diff, as I can 'read' the uLFAT ok.
I'd think it was uALFAT itself, but I purchased 2 and both do the same thing (I guess it could be firmware, although no problems mentioned on the Saelig boards.)
I'm using the prop demo board kit, did either of you use any caps/resisters on uALFAT reset or SD_SCK?
No, you don't need a level shifter, the uALFAT works at logic level.