![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hey,
Which is abbreviation should be selected to run the PIC16f628 with the internal oscillator? ERCLK ERIO IRCLK IRCIO EXTCLK LP XT HS I'm using the software from the DIY K128 programmer. I got the program working and after changing some things, it has stopped. Is it possible that I fried it? how durible are the chips? Thanks |
|
|
|
|
|
|
(permalink) | |
|
Quote:
I don't have any experience with the software you're using. But I think I can figure it out based on the commands that you can use in the asm.-file for MPlab. They are as follows: _ER_OSC_CLKOUT _ER_OSC_NOCLKOUT _INTRC_OSC_CLKOUT _INTRC_OSC_NOCLKOUT _EXTCLK_OSC _LP_OSC _XT_OSC _HS_OSC Looking at your commands I would say either IRCLK -Internal Rc Clock out on RA6 and RA7 or IRCIO -Internal Rc I/O-function on RA6 and RA7 Odin |
||
|
|
|
|
|
(permalink) |
|
I'm a little bit confused. I thought that RA6 and RA7 were in/out pins. Unless running a external crystal, in which case they might be used for that.
I emailed the creator of the software. This is the response I recieved. Very similar to yours: IRCLK has internal OSC selected with OSC2 as CLK OUT and OCS1 as IO pin IRIO has internal OSC selected with OSC2 and OCS1 as IO pins Which do I want to run and why? Thanks, sorry for the lack of knowledge! |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
If you check my tutorials, they all use RA6 and RA7 as I/O pins, I've never had a reason to use the OSC output. |
|||
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
__________________
Its what your friend in Your mind, what you in your friends mind |
|||
|
|
|