gLCD EB058 18f4455
Moderator: Benj
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
gLCD EB058 18f4455
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
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
- Attachments
-
- 18f4455_oct_2011_test_v1.1.fcf
- (9.5 KiB) Downloaded 220 times
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: gLCD EB058 18f4455
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.
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.
1 in 10 people understand binary, the other one doesn't !
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: gLCD EB058 18f4455
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.
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.
- Attachments
-
- Flowcode1.fcf
- (7.5 KiB) Downloaded 237 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: gLCD EB058 18f4455
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
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
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: gLCD EB058 18f4455
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
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
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: rf 16f877a issue
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
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
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: gLCD EB058 18f4455
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.
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.
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: gLCD EB058 18f4455
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
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
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: gLCD EB058 18f4455
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
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
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: gLCD EB058 18f4455
Thats great
Glad you've got it sorted.
Glad you've got it sorted.
1 in 10 people understand binary, the other one doesn't !