English
Language : 

EMDB6812 Datasheet, PDF (1/19 Pages) EM Microelectronic - MARIN SA – The EMDB6812 is based on two PCBs
R
EM MICROELECTRONIC - MARIN SA
EMDB6812
EMDB6812 V1.1 MANUAL
VERSION 1.0
CONTENTS
1. INTRODUCTION ........................................................................................................................................ 2
2. HARDWARE DESCRIPTION ..................................................................................................................... 2
2.1 PARTS.....................................................................................................................................................................2
2.2 Hardware BOARD versionning ...............................................................................................................................3
2.3 DEMOBOARD DESCRIPTION ...............................................................................................................................3
2.3.1 Connector description ............................................................................................................................4
2.3.2 Demoboard Schematic ..........................................................................................................................6
2.4 SAMPLE BOARD DESCRIPTION ..........................................................................................................................7
2.4.1 SampleBoard schematic ........................................................................................................................7
2.5 Partlist......................................................................................................................................................................8
3. HARDWARE CONFIGURATION ............................................................................................................... 9
3.1 Power-Supply ..........................................................................................................................................................9
3.2 VPP/TEST ...............................................................................................................................................................9
3.3 Port A switches........................................................................................................................................................9
3.4 Port B leds .............................................................................................................................................................10
3.5 Oscillator................................................................................................................................................................10
3.6 Programming .........................................................................................................................................................10
3.7 Reset .....................................................................................................................................................................10
4. APPENDIX : DEMO APPLICATION ........................................................................................................ 11
4.1 Introduction............................................................................................................................................................11
4.2 Architecture ...........................................................................................................................................................11
4.2.1 Features ...............................................................................................................................................11
4.3 Function.................................................................................................................................................................11
4.4 Software ................................................................................................................................................................12
4.4.1 CPU operation Modes..........................................................................................................................12
4.4.2 Main loop..............................................................................................................................................12
4.4.3 RTC ......................................................................................................................................................13
4.4.4 Command GetTime, 0xA0 ...................................................................................................................14
4.4.5 Command SetTime, 0xA1....................................................................................................................14
4.4.6 Command SetTimer, 0xA2 ..................................................................................................................15
4.4.7 Command DisablePower, 0x80 ...........................................................................................................15
4.4.8 Command EnablePower, 0x81 ............................................................................................................16
4.4.9 Command SetPWM1, 0x82 .................................................................................................................16
4.4.10 Command SetPWM2, 0x83 .................................................................................................................16
4.4.11 Command SetOutputs, 0x84 ...............................................................................................................16
4.4.12 Command GetKeys, 0x90....................................................................................................................17
4.4.13 Command GetSVLD, 0x92 ..................................................................................................................17
4.5 HOST Application..................................................................................................................................................18
4.5.1
4.5.2
Setup ....................................................................................................................................................18
Commands ...........................................................................................................................................19
Copyright © 2004, EM Microelectronic-Marin SA
1
www.emmicroelectronic.com