| データシートサーチシステム |
|
ST7MC1 データシート(PDF) 302 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1 データシート(HTML) 302 Page - STMicroelectronics |
|
302 / 308 page ![]() ST7MC1/ST7MC2 302/308 IMPORTANT NOTES (Cont’d) Impact on application Software may execute the interrupt routine twice after header reception. Moreover, in reception mode, as the receiver is no longer in mute mode, an interrupt will be generat- ed on each data byte reception. Workaround The problem can be detected in the LINSCI inter- rupt routine. In case of timeout error (LHE is set and LHLR is loaded with 00h), the software can check the RWU bit in the SCICR2 register. If RWU is cleared, it can be set by software. Refer to Fig- ure 169. Workaround is shown in bold characters. Figure 169. LINSCI Interrupt routine 15.4 MISSING DETECTION OF BLDC “Z EVENT” For a BLDC drive, the Dead Time generator is en- abled through the MDTG register (PCN=0 and DTE=1). If the duty cycle of the PWM signal gen- erated to drive the motor is lower than the pro- grammed deadtime, the Z event sampling will be missing. Workaround The complementary PWM must be disabled by re- setting the DTE bit in the MDTG register (see page 220). As the current in the motor is very low in this case, the MOSFET body diode can be used. 15.5 INJECTED CURRENT ON PD7 On rev.B silicon, the parameter Iinj(pin), injected current on I/O pins (see section 12.8.1 on page 263), is limited at 0 (instead of -2mA) for the pin PD7. This limitation is no longer present on rev.C and A silicon and all I/O pins have the max values +5/-2 mA. 15.6 RESET VALUE OF UNAVAILABLE PINS On A silicon versions, some ports (Ports A, C and E) have less than 8 pins. The bits associated to the unavailable pins must always be kept at reset state. @interrupt void LINSCI_IT ( void ) /* LINSCI interrupt routine */ { /* clear flags */ SCISR_buffer = SCISR; SCIDR_buffer = SCIDR; if ( SCISR_buffer & LHE )/* header error ? */ { if (!LHLR)/* header time-out? */ { if ( !(SCICR2 & RWU) )/* active mode ? */ { _asm("sim");/* disable interrupts */ SCISR; SCIDR;/* Clear RDRF flag */ SCICR2 |= RWU;/* set mute mode */ SCISR; SCIDR;/* Clear RDRF flag */ SCICR2 |= RWU;/* set mute mode */ _asm("rim");/* enable interrupts */ } } } } Example using Cosmic compiler syntax |
|
リンク URL |
| 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 |