Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AS8267 Datasheet(PDF) 111 Page - ams AG

Part # AS8267
Description  Single-Phase 2-Current Energy Measurement Integrated Circuits with Microcontroller, RTC, Programmable Multi-Purpose I/Os
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

AS8267 Datasheet(HTML) 111 Page - ams AG

Back Button AS8267 Datasheet HTML 107Page - ams AG AS8267 Datasheet HTML 108Page - ams AG AS8267 Datasheet HTML 109Page - ams AG AS8267 Datasheet HTML 110Page - ams AG AS8267 Datasheet HTML 111Page - ams AG AS8267 Datasheet HTML 112Page - ams AG AS8267 Datasheet HTML 113Page - ams AG AS8267 Datasheet HTML 114Page - ams AG AS8267 Datasheet HTML 115Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 136 page
background image
Data Sheet AS8267 / AS8268
Revision 1.0, 19-Jun-07
Page 111 of 136
Program Debugging
Program debugging can be done using a so-called monitor program, which may communicate with a PC using
the UART2 interface or the UART1 interface in direct access mode. In the AS8267 / AS8268 the SPI interface
(SPI2 and MCU) can also be used to access the whole XDATA address space.
Note: Direct access mode (‘dam’ register bit) turns off the command interpreter. If the MCU program performs
this operation, it must be able to clear the dam bit after the operation, or the SPI2 access must have the ability
to do this. If both possibilities are blocked there is no way out and the device is permanently locked.
To prevent this situation UART2 is recommended to be used as debug interface.
Read from XDATA Address
This command is used for Flash and external EEPROM read access.
Mainly for evaluation purposes it is possible to read all 64k of the XDATA address space. This includes all
registers, the X_RAM memory and the Flash memory. A dedicated command is reserved for this. The following
diagram shows the main blocks involved here:
UART1
SCT
RXD
TXD
SCT
DSP
RTC
MPIO
SPI
X_RAM
WDT
External
EEPROM
LCDD
FLASH
WRITE
READ
MASS_ERASE, PAGE_ERASE
Transmission Protocol:
In order to make the data transfer easier for the system control a defined protocol is used for talking to the
UART1, where also the length of the data to be read from the XDATA address space is specified at the
beginning of the transmission. It looks like this:
Data
7
0
1
2
3
4
5
6
...
Read Command
(8 bits)
7
0
1
2
3
4
5
6
15
8
9
10
11
12
13
14
7
0
1
2
3
4
5
6
Start Address
(16 bits)
15
8
9
10
11
12
13
14
7
0
1
2
3
4
5
6
Block Length
(16 bits)
(TXD)



Html Pages

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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com