Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATTINY817-MFR. Datasheet(PDF) 62 Page - Microchip Technology

Part # ATTINY817-MFR.
Description  AVR짰 Microcontroller with Core Independent Peripherals and picoPower짰 Technology
PDF  492 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATTINY817-MFR. Datasheet(HTML) 62 Page - Microchip Technology

Back Button ATTINY817-MFR. Datasheet HTML 58Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 59Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 60Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 61Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 62Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 63Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 64Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 65Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 66Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 492 page
background image
The Error is stored as a compressed Q1.10 fixed point 8 bit value, in order not to lose resolution, where
the MSB is the sign bit and the 7 LSBs the lower bits of the Q.10.
BAUDact������= BAUD����������+BAUD����������*����������������������
1024
The minimum legal BAUD register value is 0x40, the target BAUD register value should therefor not be
lower than 0x4A to ensure that the compensated BAUD value stays within the legal range, even for parts
with negative compensation values. The example code below, demonstrates how to apply this value for
more accurate USART baud rate:
#include <assert.h>
/* Baud rate compensated with factory stored frequency error */
/* Asynchronous communication without Auto-baud (Sync Field) */
/* 16MHz Clock, 3V and 600 BAUD
*/
int8_t
sigrow_val
= SIGROW.OSC16ERR3V;
// read signed error
int32_t baud_reg_val
= 600;
// ideal BAUD register value
assert (baud >= 0x4A);
// Verify legal min BAUD register value with
max neg comp
baud_reg_val *= (1024 + sigrow_value);
// sum resolution + error
baud_reg_val /=
1024;
// divide by resolution
USART0.BAUD = (int16_t) baud_reg_val;
// set adjusted baud rate
Related Links
Oscillators and Clocks
32KHz Oscillator (OSCULP32K)
The 32KHz oscillator is optimized for Ultra Low Power (ULP) operation. Power consumption is decreased
at the cost of decreased accuracy compared to an external crystal oscillator.
This oscillator also provides the 1KHz signal for the Real Time Counter (RTC), the Watchdog Timer
(WDT), and the Brownout Detector (BOD).
The start-up time of this oscillator is the oscillator start-up time plus 4 oscillator cycles. Refer to Electrical
Characteristics chapter for the start-up time.
Related Links
BOD - Brownout Detector
WDT - Watchdog Timer
RTC - Real Time Counter
10.3.4.2 External Clock Sources
These external clock sources are available:
•
External clock from pin. (EXTCLK).
•
The TOSC1 and TOSC2 pins are dedicated to driving a 32.768kHz crystal oscillator (XOSC32K).
•
Instead of a crystal oscillator, TOSC1 can be configured to accept an external clock source.
32.768kHz Crystal Oscillator (XOSC32K)
This oscillator supports two input options: Either a crystal is connected to the pins TOSC1 and TOSC2, or
an external clock running at 32KHz is connected to TOSC1. The input option must be configured by
writing the Source Select bit (SEL) in the XOSC32K Control A register (CLKCTRL.XOSC32KCTRLA).
The XOSC32K is enabled by writing a '1' to its ENABLE bit in CLKCTRL.XOSC32KCTRLA. When
enabled, the configuration of the GPIO pins used by the XOSC32K is overridden as TOSC1, TOSC2 pins.
The Enable bit needs to be set for the oscillator to start running when requested.
ATtiny417/817
© 2017 Microchip Technology Inc.
Datasheet Complete
DS40001901B-page 62



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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