Log in

View Full Version : 16f636



Ioannis
- 12th October 2012, 08:29
Did anyone used the Cryptographic module of the 16F636 device?

Although I have the license disks, there is only one program in assembly that is really confusing to me.

I am tryin to set up the registers of the peripheral but have not figured how yet.

Ioannis

Ioannis
- 16th October 2012, 09:02
OK, I found the ASM examples about setting the Keeloq Module, but have no clue what the ASM commands really do. So I cannot translate them in PBP.

Any help on this appreciated.

The commands, among others, are:

MOVLW CRCON
MOVWF FSR
MOVLW D'2' ;POINT AT KEY 0 - KEY 3
MOVWF INDF ;LOADS CRCON
MOVLW D'4'

If anyone needs the pdf please PM me.

Thanks,
Ioannis