| 数据搜索系统,热门电子元器件搜索 |
|
STPMC1 数据表(PDF) 52 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STPMC1 数据表(HTML) 52 Page - STMicroelectronics |
|
52 / 77 page ![]() Theory of operation STPMC1 52/77 Doc ID 15728 Rev 6 9.17.7 Group 6 data records 6.1 ACR: ● iR RMS SWM accumulator: 20-bit accumulator of R phase current in SWM mode (see paragraph 9.7) ● R-phase elapsed: phase delay (see paragraph 9.15) 6.2 ACS: ● iS RMS SWM accumulator: 20-bit accumulator of S phase current in SWM mode (see paragraph 9.7) ● S-phase elapsed: phase delay (see paragraph 9.15) 6.3 ACT: ● iT RMS SWM accumulator: 20-bit accumulator of T phase current in SWM mode (see paragraph 9.7) ● T-phase elapsed: phase delay (see paragraph 9.15) 6.4 CF3: ● bits [111..84] of configurators (see Table 33) 9.17.8 Parity calculation Each bit of parity nibble is defined as odd parity of all seven corresponding bits of data nibbles. In order to check the data record integrity, the application might execute the following C code, given as an example: int BadParity (unsigned char *bp) {register unsigned char prty = grp;/* temp register set to group # (0..6)*/ prty ^= *bp; /* xor it with 1st byte of data */ prty ^= *(bp+1); /* xor it with the 2nd byte */ prty ^= *(bp+2); /* and with the 3rd byte */ prty ^= *(bp+3); /* and last, with the 4th byte */ prty ^= prty<<4; /* combine */ prty &= 0xF0; /* remove the lower nibble */ return (prty != 0xF0); /* returns 1, if bad parity */} Figure 20. Group 6 data records 4 bit ACR ACS ACT CF3 parity iR RMS Ah accumulator if bad uR R-phase elapsed parity S-phase elapsed iS RMS Ah accumulator if bad uS parity iT RMS Ah accumulator if bad uT T-phase elapsed parity bits [111..84] of configurators 8 bit 20 bit 20 bit 4 bit 4 bit 4 bit ACR ACS ACT CF3 parity iR RMS Ah accumulator if bad uR R-phase elapsed parity iR RMS Ah accumulator if bad uR R-phase elapsed parity S-phase elapsed iS RMS Ah accumulator if bad uS parity S-phase elapsed iS RMS Ah accumulator if bad uS parity iT RMS Ah accumulator if bad uT T-phase elapsed parity iT RMS Ah accumulator if bad uT T-phase elapsed parity bits [111..84] of configurators parity bits [111..84] of configurators 8 bit 8 bit 20 bit 20 bit 20 bit 20 bit 4 bit ACR ACS ACT CF3 parity iR RMS Ah accumulator if bad uR R-phase elapsed parity S-phase elapsed iS RMS Ah accumulator if bad uS parity iT RMS Ah accumulator if bad uT T-phase elapsed parity bits [111..84] of configurators 8 bit 20 bit 20 bit 4 bit 4 bit 4 bit ACR ACS ACT CF3 parity iR RMS Ah accumulator if bad uR R-phase elapsed parity iR RMS Ah accumulator if bad uR R-phase elapsed parity S-phase elapsed iS RMS Ah accumulator if bad uS parity S-phase elapsed iS RMS Ah accumulator if bad uS parity iT RMS Ah accumulator if bad uT T-phase elapsed parity iT RMS Ah accumulator if bad uT T-phase elapsed parity bits [111..84] of configurators parity bits [111..84] of configurators 8 bit 8 bit 20 bit 20 bit 20 bit 20 bit |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |