PIC16F19156

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
JLeith
Posts: 494
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 135 times
Been thanked: 22 times
Contact:

PIC16F19156

Postby JLeith » Fri Jul 05, 2019 4:27 pm

Hello
I'm using Flowcode 6 and I need a PIC16 with higher ram for a OLED display project

I selected PIC16F19156 for the task but I can't find the chip (Build - Find Target)

PIC16F19156 I/SP-ND from DigiKey

John

User avatar
Benj
Matrix Staff
Posts: 13980
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4244 times
Been thanked: 4006 times
Contact:

Re: PIC16F19156

Postby Benj » Fri Jul 05, 2019 4:32 pm

Hi John,

We currently do not support this device, even in Flowcode 8. I could look at adding it into v8 if that would be useful.

I'm afraid that the compiler shipped with Flowcode 6 will not support this chip.

User avatar
JLeith
Posts: 494
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 135 times
Been thanked: 22 times
Contact:

Re: PIC16F19156

Postby JLeith » Sat Jul 06, 2019 12:30 am

Hi Benj

That is a sad time. I would of thought PIC16 family would cover all chips or at least have a update to Compiler.

The chips arrived this morning $16 dollars down the drain

Benj do you happen to know a 28pin chip with SRAM Byte 2048 ?

I have a SSD3106 OLED display that needs more memory other then 1024.

The PIC16F family in Flowcode 6 all work work with my Compiler ?

John

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: PIC16F19156

Postby medelec35 » Sat Jul 06, 2019 12:58 am

Hi John,
JLeith wrote:Benj do you happen to know a 28pin chip with SRAM Byte 2048 ?

Looking at devices Flowcode 6 supports then what about 18F26K80?
It has 3.6K of SRAM which is over 1K more than PIC16F19156.
You can program the newer devices with PICkit 2, without a resistor in series with VPP.
Maybe best to use PICkit 3/4 or mikroProg for PIC, dsPIC, PIC24, and PIC32.
It's not PIC16F but I'm using an 18F chip to drive a 5in resistive touch LCD and its works brilliantly!
These users thanked the author medelec35 for the post:
JLeith (Sat Jul 06, 2019 1:03 am)
Rating: 5.88%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JLeith
Posts: 494
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 135 times
Been thanked: 22 times
Contact:

Re: PIC16F19156

Postby JLeith » Sat Jul 06, 2019 1:04 am

Thank you Martin.

Let me try the PIC18F26K80 and see if my program will complies to hex.

Back in a few minutes

John

User avatar
JLeith
Posts: 494
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 135 times
Been thanked: 22 times
Contact:

Re: PIC16F19156

Postby JLeith » Sat Jul 06, 2019 1:13 am

Hi Martin
I was able to select the PIC18F26K80 it didn't like my use of A4.
Has a internal OSC.

It compiled to Hex. Hurray...

Did get some cautions.

Caution: argument of 'delay_us' calls must have a value of 1 or more
Caution: Delay inaccurrate: 'delay_us', Delay overhead:0ms, Unit delay:0.00101725ms, Delay resolution:1 units
Caution: Delay inaccurrate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units
Warning unreferenced functions removed:

Here is my OLED project. Flowcode
Attachments
Team OLED July 3 .fcfx
(144.58 KiB) Downloaded 2 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: PIC16F19156

Postby medelec35 » Sat Jul 06, 2019 1:44 am

JLeith wrote:Caution: Delay inaccurrate: 'delay_us', Delay overhead:0ms, Unit delay:0.00101725ms, Delay resolution:1 units
Caution: Delay inaccurrate: 'delay_ms', Delay overhead:0ms, Unit delay:1.00016ms, Delay resolution:1 units

Take a look at this post
Also at this post
Glad it compiles for you that is promising.
These users thanked the author medelec35 for the post:
JLeith (Sat Jul 06, 2019 4:17 pm)
Rating: 5.88%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JLeith
Posts: 494
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 135 times
Been thanked: 22 times
Contact:

Re: PIC16F19156

Postby JLeith » Sat Jul 06, 2019 4:19 pm

Morning Martin.

Thank you for the info on the "Caution". New beginnings for me in the PIC18 world.

John

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: PIC16F19156

Postby medelec35 » Sat Jul 06, 2019 8:16 pm

Hi John, not just for the 18f world but same applies to the 16f world as well.
These users thanked the author medelec35 for the post:
JLeith (Wed Jul 17, 2019 7:46 pm)
Rating: 5.88%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.