Author Topic: I need to acquire the CERDIP version of the PIC16C74B or a suitable replacement.  (Read 628 times)

0 Members and 1 Guest are viewing this topic.

Offline Dukov Ahzrukhal

  • Contributor
  • Posts: 37
  • Country: us
Hello everyone, I find myself in quite a predicament. I have chosen the PIC16C74B MCU for a project. However, this chip is one time programmable and so debugging has quickly gotten expensive. Since this is for a research project I can have the department handle the expense, but that doesn't feel quite right, and I doubt they will put up with this nonsense for long. There is a CERDIP version of the chip which I'd very much like to obtain, but I checked Mouser, Newark, LCSC, Arrow electronics, and Digikey and none have the part in stock. If anyone here can help me find one of these I would greatly appreciate it. If not I will need to find a suitable replacement, preferably something that wont involve rewriting all my code. As of now I'm using the UART and SPI interface, so at the very least I'll need a part that has those two functions.
 

Online oPossum

  • Frequent Contributor
  • **
  • Posts: 917
  • Country: us
  • The other white meat
 
The following users thanked this post: Dukov Ahzrukhal

Online 1Ghz

  • Supporter
  • ****
  • Posts: 46
  • Country: kr
https://www.microchip.com/wwwproducts/en/PIC16F747 (compatible with the PIC16C7x devices, more interrupts, better ADC, more CCP, in-circuit debugger)
https://www.microchip.com/wwwproducts/en/PIC16F874 (compatible with the PIC16C7x devices, more interrupts, better ADC, data EEPROM, in-circuit debugger, low-voltage programming)
https://www.microchip.com/wwwproducts/en/PIC16F874A (compatible with the PIC16C7x devices, more interrupts, better ADC, data EEPROM, in-circuit debugger, low-voltage programming + analog comparators)
https://www.microchip.com/wwwproducts/en/PIC16F884 (newer device, Enhanced CCP, more ADC channels, etc...)
« Last Edit: October 12, 2019, 09:58:08 pm by 1Ghz »
 
The following users thanked this post: Dukov Ahzrukhal

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 374
  • Country: gb
Hello everyone, I find myself in quite a predicament. I have chosen the PIC16C74B MCU for a project.

What caused you to choose this part?
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 12085
  • Country: gb
    • Mike's Electric Stuff
Use the 16f874 instead- flash memory, otherwise pretty much identical. There is no reason to use ancient parts like the 16c seris
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 800
  • Country: gb
There is no reason to use ancient parts like the 16c seris

Unless the OP's application requires the hermetically sealed die offered by the CERDIP package.
Very likely it doesn't.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 14543
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Heh, I inherited a handful of vintage (late 90s) PICs in CERDIP, but they're the -72 and -73.  Rats. ;D

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Dukov Ahzrukhal

  • Contributor
  • Posts: 37
  • Country: us
Whats wrong with the 16C series? I know its old, but the plastic versions are still available. I suppose I can use any other part, I mostly stick to these so I can reuse some of the subroutines I've already written. I've used the PIC16F84A in the past, but that one is also pretty old and doesn't have SPI or a UART.
 

Online hexreader

  • Regular Contributor
  • *
  • Posts: 176
  • Country: england
Whats wrong with the 16C series?
It is only programmable one time, and support (such as windowed CERDIP) is hard to find

Fine for production, but not good for development.

You starting this thread is evidence of the problem with OTP parts...  in a nutshell - cost, time and inconvenience when developing.
« Last Edit: October 13, 2019, 02:53:03 pm by hexreader »
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 374
  • Country: gb
Whats wrong with the 16C series?
Well, as you are finding, they are only one time programmable, which makes debugging difficult and expensive. You're going to burn through a lot of them before you get stable code.

The CERDIP parts are likely the same basic die, but with the window so they can be erased and reprogrammed during development. You could use these, but why? You can still only program them once and then need to erase then the same way you do an EPROM - with a UV eraser. You'll have to keep swapping them in and out of the circuit to do that. With a flash based part you can do this in-circuit within seconds using something like a PICKIT or ICD. As for debugging, you can set breakpoints and check memory contents, single step etc to see what your code is doing and then make fixes before reprogramming.

Other than that they are just old tech. You can get modern parts with more and better peripherals and other features. If your application has no legacy, there's simply no point using these old parts.
 

Offline PCB.Wiz

  • Frequent Contributor
  • **
  • Posts: 382
  • Country: au
Whats wrong with the 16C series? I know its old, but the plastic versions are still available. I suppose I can use any other part, I mostly stick to these so I can reuse some of the subroutines I've already written. I've used the PIC16F84A in the past, but that one is also pretty old and doesn't have SPI or a UART.

The main 'avoid' flag is the OTP, I am sure there are FLASH PIC's that can run subroutines you have already written.
 

Offline Dukov Ahzrukhal

  • Contributor
  • Posts: 37
  • Country: us
I do realize that these old parts are inconvenient when it comes to debugging. For now I will use the PIC16C65 because it has all I need and I found a bunch in CERDIP package, but I will avoid using them for my future projects. Part of the reason why I have not tried using more modern parts is that most have a million features that I don't need, so reading through the datasheet can get very tedious. The PIC16F747 seems like a good alternative though.
 

Online jaromir

  • Supporter
  • ****
  • Posts: 269
  • Country: sk
PIC16F74 is as close to 16C74 as it gets. It has the same peripherals - 3xTimer, capture/compare/PWM, SSP, AD, UART - the same pinout, the same instruction set, the same memory layout.
Different is programming method (fortunately) and somehow different is configuration word.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 12085
  • Country: gb
    • Mike's Electric Stuff
I do realize that these old parts are inconvenient when it comes to debugging. For now I will use the PIC16C65 because it has all I need and I found a bunch in CERDIP package, but I will avoid using them for my future projects. Part of the reason why I have not tried using more modern parts is that most have a million features that I don't need, so reading through the datasheet can get very tedious. The PIC16F747 seems like a good alternative though.
In most cases you can ignore the extra features - they are disabled by default. The only exception is analogue pins, which need to be disabled for them to work as digital inputs by clearing the ANSELx register(s).
You are wasting a lot of your time messing about with EPROM parts. Let me guess, you're still writing in assembler too?
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: TomS_

Online wraper

  • Supporter
  • ****
  • Posts: 10750
  • Country: lv
You are wasting a lot of your time messing about with EPROM parts.
And money by paying way more for inferior legacy ICs.
 
The following users thanked this post: TomS_


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf