| 전자부품 데이터시트 검색엔진 |
|
ATtiny167 데이터시트(PDF) 278 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny167 데이터시트(HTML) 278 Page - ATMEL Corporation |
|
278 / 282 page ![]() 278 7728D–AVR–07/09 ATtiny87/ATtiny167 29. Errata 29.1 Errata Summary 29.1.1 ATtiny87/167 RevB (Date code >1208) • Gain control of the crystal oscillator. •‘Disable Clock Source’ command remains enabled. 29.1.2 ATtiny167 RevA (Date code >1207) • CRC calculation of diagnostic frames in LIN 2.x. • Gain control of the crystal oscillator. •‘Disable Clock Source’ command remains enabled. • Comparison between ADC inputs and voltage references. • Register bits of DIDR1. 29.2 Errata Description 1. CRC calculation of diagnostic frames in LIN 2.x. Diagnostic frames of LIN 2.x use “classic checksum” calculation. Unfortunately, the setting of the checksum model is enabled when the HEADER is transmitted/received. Usually, in LIN 2.x the LIN/UART controller is initialized to process “enhanced checksums” and a slave task does not know what kind of frame it will work on before checking the ID. Problem fix / workaround. This workaround is to be implemented only in case of transmission/reception of diagnostic frames. a. Slave task of master node: Before enabling the HEADER, the master must set the appropriate LIN13 bit value in LINCR register. b. For slaves nodes, the workaround is in 2 parts: – Before enabling the RESPONSE, use the following function: void lin_wa_head(void) { unsigned char temp; temp = LINBTR; LINCR = 0x00; // It is not a RESET ! LINBTR = (1<<LDISR)|temp; LINCR = (1<<LIN13)|(1<<LENA)|(0<<LCMD2)|(0<<LCMD1)|(0<<LCMD0); LINDLR = 0x88; // If it isn't already done } – Once the RESPONSE is received or sent (having RxOK or TxOK as well as LERR), use the following function: void lin_wa_tail(void) { LINCR = 0x00; // It is not a RESET ! LINBTR = 0x00; LINCR = (0<<LIN13)|(1<<LENA)|(0<<LCMD2)|(0<<LCMD1)|(0<<LCMD0); } |
|
링크 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 |