| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AS8218 bảng dữ liệu(PDF) 99 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS8218 bảng dữ liệu(HTML) 99 Page - ams AG |
|
99 / 123 page ![]() Data Sheet AS8218 / AS8228 Revision 3.0, 31-May-06 Page 99 of 123 Note: It would also be possible to write to the EEPROM via the UART2 and the MCU, but then a dedicated MCU program is required to handle the data flow. 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 the length of the data to be written to the EEPROM is specified at the beginning of the transmission. The protocol is as follows: Write 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) Data 7 0 1 2 3 4 5 6 ... Acknowledge 7 0 1 2 3 4 5 6 (TXD) Notes: 1) When ‘enable_crc’ is set to 0 the UART1 only sends back the acknowledge word (FAh). 2) When ‘enable_crc’ is set to 1 a 16-bit checksum has to be transferred to the UART1 at the end of the data stream. The SCT will calculate the checksum and depending on the result it will send back the acknowledge word (FAh) or the not-acknowledge word (FBh). Read from EEPROM If it is required to read out the EEPROM data this can also be done using the UART1 interface. The following diagram shows the main blocks involved: UART1 SCT SPI EEPROM RXD S_N SO SC SI TXD Again it would also be possible to do this using UART2 and MCU. 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 the length of the data to be read from the EEPROM is specified at the beginning of the transmission. The protocol is as follows: 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) |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |