Página 1 de 1

Clock externo no 12F629

MensagemEnviado: 24 Jan 2008 09:54
por lpagano
Pessoal,

Existe alguma declaração específica em assembly para se fazer com que o 12F629 opere com oscilador externo, ou é só mesmo informar o software programador na hora de programar o dispositivo?

MensagemEnviado: 24 Jan 2008 10:03
por jonatanz
Voce está programando em ASM com o MPLAB?

MensagemEnviado: 24 Jan 2008 10:28
por ze
mplab: (12F629TMPO.asm)

Código: Selecionar todos
#include <p12F629.inc>        ; processor specific variable definitions

errorlevel  -302              ; suppress message 302 from list file

__CONFIG   _CP_OFF & _CPD_OFF & _BODEN_OFF & _MCLRE_ON & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT
; '__CONFIG' directive is used to embed configuration word within .asm file.
; The lables following the directive are located in the respective .inc file.
; See data sheet for additional information on configuration word settings.


Só pra não ficar muito mastigado, verifique em <p12f629.inc> o #define (ops! "EQU") para osc ext.
abrç