| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PC33814AE bảng dữ liệu(PDF) 39 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
PC33814AE bảng dữ liệu(HTML) 39 Page - Freescale Semiconductor, Inc |
|
39 / 50 page ![]() Analog Integrated Circuit Device Data Freescale Semiconductor 39 33814 5.3.9 SPI Command Summary The SPI commands are defined as 16 bits with 4 address control bits and 12 command data bits. There are 7 separate commands that are used to set the operational parameters of device. The operational parameters are stored internally in 8-bit registers. Write commands write the data contained in the present SPI word whereas read commands have to wait until the next SPI command is sent to read the data requested. Table 17 defines the commands and default state of the internal registers at POR. SPI commands may be sent to the device at any time while the device is in the Normal state. Messages sent are acted upon on the rising edge of the CSB input. Bit value returned equals bit value sent for this command 5.3.9.1 SPI Commands There are seven SPI commands that can be issued by the MCU to: • Do a SPI Check verification • Read the contents of the SPI configuration registers • Write the contents of the SPI configuration registers • Read the contents of the SPI status registers • Write the contents of the SPI status registers • Read the contents of the SPI control registers • Write the contents of the SPI control registers 5.3.9.2 SPI Registers The SPI interface consists of three blocks of four, 8-bit read/write registers. There are three types of SPI registers: • Configuration Registers - These registers allow the MCU to configure the various parameters and options for the various functional blocks. • Control Registers - These registers are used to command the outputs on and off and set the PWM duty cycle values. • Status Registers - These registers report back faults and other conditions of the various functional blocks. The following acronyms are use in the SPI table: • OC = over-current, could be short to battery (SB) • OV = over-voltage Table 20. SPI Command Messages Command Control Address Bits Data Bits hex 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 SPI Check 0 0 0 0 0 X* X* X* X* X* X* X* X* X* X* X* X* Read Configuration Register 1 0 0 0 1 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Write Configuration Register 2 0 0 1 0 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Read Status Register 3 0 0 1 1 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Write Status Register 4 0 1 0 0 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Read Control Register 5 0 1 0 1 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Write Control Register 6 0 1 1 0 <0000> Internal Register Address 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 SPI Check Response 7 0 1 1 1 X* X* X* X* X* X* X* X* X* X* X* X* |
|
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 |