summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/xml_data/16F627.xml
blob: 2656e1a991bbeacab46e62da8ad1e424575795d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8"?>
<!--************************************************************************-->
<!--* Copyright (C) 2005-2007 Nicolas Hadacek <[email protected]>            *-->
<!--*                                                                      *-->
<!--* This program is free software; you can redistribute it and/or modify *-->
<!--* it under the terms of the GNU General Public License as published by *-->
<!--* the Free Software Foundation; either version 2 of the License, or    *-->
<!--* (at your option) any later version.                                  *-->
<!--************************************************************************-->
<device name="16F627" status="NR" alternative="16F627A" memory_technology="FLASH" self_write="no" architecture="16X" id="0x07A0"
        xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
        xsi:noNamespaceSchemaLocation='pic.xsd'>

<!--* Documents ************************************************************-->
  <documents webpage="010207" datasheet="40300" progsheet="30034" erratas="80073" />

<!--* Checksums ************************************************************-->
  <checksums>
    <checksum protected="Off"     bchecksum="0x39FF" cchecksum="0x05CD" />
    <checksum protected="200:3FF" bchecksum="0x4DFE" cchecksum="0xFFB3" />
    <checksum protected="All"     bchecksum="0x3BFE" cchecksum="0x07CC" />
  </checksums>

<!--* Operating characteristics ********************************************-->
  <frequency_range name="commercial" >
    <frequency start="0"  end="10" vdd_min="3" vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="3" vdd_max="5.5" vdd_min_end="4.5" />
  </frequency_range>
  <frequency_range name="commercial" special="low_power" >
    <frequency start="0"  end="4"  vdd_min="2" vdd_max="5.5" />
    <frequency start="4"  end="10" vdd_min="3" vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="3" vdd_max="5.5" vdd_min_end="4.5" />
  </frequency_range>
  <frequency_range name="extended"   >
    <frequency start="0" end="4"  vdd_min="3"   vdd_max="5.5" />
    <frequency start="4" end="20" vdd_min="4.5" vdd_max="5.5" />
  </frequency_range>
  <frequency_range name="extended"   special="low_power" >
    <frequency start="0" end="4"  vdd_min="2"   vdd_max="5.5" />
    <frequency start="4" end="20" vdd_min="4.5" vdd_max="5.5" />
  </frequency_range>

  <voltages name="vpp"            min="10"  max="13.5" nominal="13" />
  <voltages name="vdd_prog"       min="4.5" max="5.5"  nominal="5"  />
  <voltages name="vdd_prog_write" min="2"   max="5.5"  nominal="5"  />

<!--* Memory ***************************************************************-->
  <memory name="code"   start="0x0000" end="0x03FF" />
  <memory name="user_ids"  start="0x2000" end="0x2003" rtqmask="0x007F"          />
  <memory name="device_id" start="0x2006" end="0x2006" />
  <memory name="config"    start="0x2007" end="0x2007" />
  <memory name="eeprom"    start="0x0000" end="0x007F" hexfile_offset="0x2100" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x3DFF" icnames="_CP_50" >
    <tqmask name="WDT"   value="0x0004" >
      <value value="0x0000" name="Off" cname="_WDT_OFF" />
      <value value="0x0004" name="On"  cname="_WDT_ON"  />
    </tqmask>
    <tqmask name="PWRTE" value="0x0008" >
      <value value="0x0000" name="On"  cname="_PWRTE_ON"  />
      <value value="0x0008" name="Off" cname="_PWRTE_OFF" />
    </tqmask>
    <tqmask name="FOSC"  value="0x0013" >
      <value value="0x0000" name="LP"           cname="_LP_OSC"             />
      <value value="0x0001" name="XT"           cname="_XT_OSC"             />
      <value value="0x0002" name="HS"           cname="_HS_OSC"             />
      <value value="0x0003" name="EC_IO"        cname="_EXTCLK_OSC"         />
      <value value="0x0010" name="INTRC_IO"     cname="_INTRC_OSC_NOCLKOUT" />
      <value value="0x0011" name="INTRC_CLKOUT" cname="_INTRC_OSC_CLKOUT"   />
      <value value="0x0012" name="ER_IO"        cname="_ER_OSC_NOCLKOUT"    />
      <value value="0x0013" name="ER_CLKOUT"    cname="_ER_OSC_CLKOUT"      />
    </tqmask>
    <tqmask name="MCLRE" value="0x0020" >
      <value value="0x0000" name="Internal" cname="_MCLRE_OFF" />
      <value value="0x0020" name="External" cname="_MCLRE_ON"  />
    </tqmask>
    <tqmask name="BODEN" value="0x0040" >
      <value value="0x0000" name="Off" cname="_BODEN_OFF" />
      <value value="0x0040" name="On"  cname="_BODEN_ON"  />
    </tqmask>
    <tqmask name="LVP"   value="0x0080" >
      <value value="0x0000" name="Off" cname="_LVP_OFF" />
      <value value="0x0080" name="On"  cname="_LVP_ON"  />
    </tqmask>
    <tqmask name="CPD"   value="0x0100" >
      <value value="0x0000" name="All" cname="_DATA_CP_ON"  />
      <value value="0x0100" name="Off" cname="_DATA_CP_OFF" />
    </tqmask>
    <tqmask name="CP"    value="0x3C00" >
      <value value="0x0000" name="All"     cname="_CP_ALL" />
      <value value="0x1400" name="200:3FF" cname="_CP_75"  />
      <value value="0x3C00" name="Off"     cname="_CP_OFF" />
      <value value="default" name="invalid" />
    </tqmask>
  </config>

<!--* Packages *************************************************************-->
  <package types="pdip soic" nb_pins="18" >
    <pin index="1"  name="RA2/AN2/VREF"        />
    <pin index="2"  name="RA3/AN3/CMP1"        />
    <pin index="3"  name="RA4/T0CKI/CMP2"      />
    <pin index="4"  name="RA5/MCLR/VPP"        />
    <pin index="5"  name="VSS"                 />
    <pin index="6"  name="RB0/INT"             />
    <pin index="7"  name="RB1/RX/DT"           />
    <pin index="8"  name="RB2/TX/CK"           />
    <pin index="9"  name="RB3/CCP1"            />
    <pin index="10" name="RB4/PGM"             />
    <pin index="11" name="RB5"                 />
    <pin index="12" name="RB6/T1OSI/PGC"       />
    <pin index="13" name="RB7/T1OSO/T1CKI/PGD" />
    <pin index="14" name="VDD"                 />
    <pin index="15" name="RA6/OSC2/CLKOUT"     />
    <pin index="16" name="RA7/OSC1/CLKIN"      />
    <pin index="17" name="RA0/AN0"             />
    <pin index="18" name="RA1/AN1"             />
  </package>

  <package types="ssop"      nb_pins="20" >
    <pin index="1"  name="" />
    <pin index="2"  name="" />
    <pin index="3"  name="" />
    <pin index="4"  name="" />
    <pin index="5"  name="" />
    <pin index="6"  name="" />
    <pin index="7"  name="" />
    <pin index="8"  name="" />
    <pin index="9"  name="" />
    <pin index="10" name="" />
    <pin index="11" name="" />
    <pin index="12" name="" />
    <pin index="13" name="" />
    <pin index="14" name="" />
    <pin index="15" name="" />
    <pin index="16" name="" />
    <pin index="17" name="" />
    <pin index="18" name="" />
    <pin index="19" name="" />
    <pin index="20" name="" />
  </package>

</device>