Page 1 of 1
gLCD EB058 18f4455
Posted: Sat Oct 08, 2011 8:37 am
by lewisrendal
Hi,
Compiles but does not run, using the patch to marry the pins on the E blocks eb058.
Using v4.5 flowcode
ports in use -
B1 = SCK
B0 = SDI
C7 = SDO
C0 = CS
Anyhelp would be grateful
Cheers
James

Re: gLCD EB058 18f4455
Posted: Sun Oct 09, 2011 7:12 pm
by JohnCrow
Hi James
Ive just tried the gLCD on a 18F4455, not been able to get it to work myself.
Spent a bit of time changing settings but not got anywhere.
Re: gLCD EB058 18f4455
Posted: Thu Oct 13, 2011 10:21 am
by Benj
Hello,
I have managed to get it working.
For the split port SPI chips you must keep the CS pin on portB unless you are using the software SPI mode.
I have my connections set up as follows.
EB058 - Connected to PortB.
Jumper setting C.
Single core wire used to patch signals across.
RB0 - SDI
RB1 - SCK
RB2 - CS
RC7 - SDO
Here is my program.
Re: gLCD EB058 18f4455
Posted: Sat Oct 15, 2011 8:17 pm
by lewisrendal
Hi Ben,
Yes I got it working but had to change a few software settings that were enabled.
Just an update:-
EB058 works with - 16f88, 18f4455
EB058 Not Working with - 16f877a, 16f873a
EB051 works with - 16f88, 16f877a
EB063 works with - 16f88
EB063 Not working with - 16f877a, 16f873a
The pattern emerging here is the 16f87xa pic's are not working with spi commands, I have correctly connected, hence all the other applications working, so the question is what's happening ???
I'm running under windows 7 and the flowcode version is v4.5.18.74
The position for the jumper is "B" for the EB063 & EB058 when using the 16f877a and 16f873a, and I have also used the patch connections with no joy.
Please advise
James
Re: gLCD EB058 18f4455
Posted: Sun Oct 16, 2011 10:20 am
by JohnCrow
Hi James
Try these EB063 programs.
They are working fine on my hardware using 16F877A's
I Dont have any 16F873s to test
Also try this Transceiver.
Set up two identical systems and load into both.
Allows half duplex communications
Re: rf 16f877a issue
Posted: Sun Oct 16, 2011 6:19 pm
by lewisrendal
Hi John,
Thanks for your examples.
Unfortunatly I have not been able to get the devices to talk, I have loaded your examples directly into the chips no mods etc.. and still not working, about time the boys from matrix shed a little light on this to be honest.
Regards
James
Re: gLCD EB058 18f4455
Posted: Sun Oct 16, 2011 6:44 pm
by JohnCrow
This is very strange.
Both my programmmers are the EB006-7
With the standard 19.660800 crystal
Ive had both systems working perfectly today. Ive had them set up next to each other on the bench, didnt even need to plug an aerial into the RF boards.
Just a thought, seeing as you are having problems with the spi command on port c, have you tried a simple binary counter (say 0 to 255 in steps of 1) to output to the LED E-Block on Port C.
If this fails you know there is a problem with either the PIC or the port.
Re: gLCD EB058 18f4455
Posted: Sun Oct 16, 2011 7:13 pm
by lewisrendal
Hi John,
Yes I agree, I have a counter that displays on the lcd, this counts 8 bit, this works fine and keeps working, only when I introduce the rf component into the circuit, the counter does not work ?
It's as if the program does not get past this component in the sequence of the software ?
I have had the 18f445 working on spi on the glcd, so I will try that next and see what happens ?
Cheers
James
Re: gLCD EB058 18f4455
Posted: Sun Oct 16, 2011 8:11 pm
by lewisrendal
Hi John,
Have found the problem, one of the development boards I'm using have been left from a previous project with 18f4455, USB HID project, the usb port selects jumper settings C3, C4 and C5, when returned back to normal position the rf modules started talking.
Thanks for you pointers.
Regards
James

Re: gLCD EB058 18f4455
Posted: Sun Oct 16, 2011 9:56 pm
by JohnCrow
Thats great
Glad you've got it sorted.