diff code_part1/OSTC_code_asm_part1/definitions.asm @ 537:3091628b2742

BUGFIX: Spurious logbook read issue
author heinrichsweikamp
date Sun, 08 Jan 2012 12:44:51 +0100
parents e77df4e2d025
children 5eff719fd292
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Wed Dec 21 12:06:27 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Sun Jan 08 12:44:51 2012 +0100
@@ -22,7 +22,7 @@
 ; ToDo:
 
 #DEFINE	softwareversion_x		d'2'		; Software version  XX.YY
-#DEFINE	softwareversion_y		d'09'		; Software version  XX.YY
+#DEFINE	softwareversion_y		d'10'		; Software version  XX.YY
 
 #DEFINE softwareversion_beta 	1 			; (and 0 for release) 
 
@@ -46,13 +46,16 @@
 ; Standard 16MHz mode
 ;	#DEFINE	SPBRG_VALUE 	d'34'
 ;  	#DEFINE	OSCCON_VALUE  	b'01101100'		; 4MHz (x4 PLL)
+;	#DEFINE	SSPSTAT_VALUE	b'00000000'		; with slew rate control (400kHz)
 ;	#DEFINE	SSPADD_VALUE	d'8'			; 400kHz I2C clock @ 16MHz Fcy
 ;	#DEFINE	T0CON_VALUE		b'00011111'		; Timer0
 ; 	#DEFINE	SPEED_16MHz
 ; Experimental 32MHz mode
 	#DEFINE	SPBRG_VALUE 	d'68'
   	#DEFINE	OSCCON_VALUE  	b'01111100'		; 8MHz (x4 PLL)
-	#DEFINE	SSPADD_VALUE	d'16'			; 400kHz I2C clock @ 32MHz Fcy
+;	#DEFINE	SSPADD_VALUE	d'16'			; 400kHz I2C clock @ 32MHz Fcy
+	#DEFINE	SSPADD_VALUE	d'32'			; 200kHz I2C clock @ 32MHz Fcy
+	#DEFINE	SSPSTAT_VALUE	b'00000000'		; with slew rate control
 	#DEFINE	T0CON_VALUE 	b'00010000'		; Timer0
  	#DEFINE	SPEED_32MHz