реклама на сайте
подробности

 
 
> ATtiny13 калибровочные байты RC генератора
vika1
сообщение Jul 14 2009, 04:46
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 34
Регистрация: 8-11-05
Пользователь №: 10 601



В даташите на Tiny13 написано, что в сигнатуре имеются два калибровочных байта: один для внутреннего генератора 9.6 МГц,
второй для внутреннего генератора 4.8МГц. Причем первый из них грузится аппаратно при старте (если выбран 9.6), второй
(для частоты 4.8)нужно грузить программно. По особенностям работы устройства требуется генератор на 4.8Мгц,однако программатор ChipProg2 показывает только один калибровочный байт и непонятно для какой частоты.
М.б. генератор только один. а вторая частота получается делением на 2 и потому одно калибровочное число?
Непонятно..Как поступить?
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
vika1
сообщение Jul 17 2009, 12:11
Сообщение #2


Участник
*

Группа: Участник
Сообщений: 34
Регистрация: 8-11-05
Пользователь №: 10 601



По поводу различий между ATtiny13(Rev. 2535I–AVR–05/08) и ATtiny13A( Rev. 8126B–AVR–12/08) различий в даташитах в части описания калибровочных байт нет никаких. В наличии два генератора и два калибровочных байта.
Для ATtiny13( Rev. 2535G–AVR–01/07) имеем два генератора и один калибровочный байт.
А как определить ревизию конкретной мс?

Стою на асфальте я , в лыжи обутый........
Go to the top of the page
 
+Quote Post
fmdost
сообщение Jul 25 2009, 23:31
Сообщение #3


Местный
***

Группа: Свой
Сообщений: 479
Регистрация: 8-05-07
Из: г. Ставрополь. Северный Кавказ. Россия
Пользователь №: 27 606



О чо нашёл в апноте по калибровке RS генератора:
Цитата
Version 1.x oscillators
This version is the earliest internal RC for AVR that can be calibrated, though asynchronous operation is not possible. Due to this, parts having this version of the internal oscillator cannot be calibrated using an external crystal and does not appear in Table 6-1.

Version 2.x oscillators
This oscillator is offered with a frequency of 1MHz. The dependency between the oscillator frequency and operating voltage and temperature is reduced significantly compared to version 1.x.

Version 3.x oscillators
This version was introduced along with the first devices produced in the 35.5k process.
The oscillator system is expanded to offer multiple oscillator frequencies. Four different RC oscillators with the frequencies 1, 2, 4, and 8MHz are present in the device. This version features automatic loading of the 1MHz calibration byte from the Signature Row. Due to the fact that 4 different RC oscillators are present, 4 different calibration bytes are stored in the Signature Row. If frequencies other than the default 1MHz are desired, the OSCCAL register should be loaded with the corresponding calibration byte at run-time.

Version 4.x oscillators
A single oscillator frequency of 8MHz is offered in version 4.0. For later 4.x versions, two frequencies are offered: 4 and 8MHz for ATtiny2313, and 4.8 and 9.6MHz for the ATtiny13. The OSCCAL register is changed so that only 7 bits are used to tune the frequency for the selected oscillator. The MSB is not used. Auto loading of the default calibration value and system clock prescaler is present.

Version 5.x oscillators
A single oscillator frequency of 8MHz is offered in version 5.0 All 8 bits in the OSCCAL register are used to tune the oscillator frequency. Auto loading of the default calibration value and system clock prescaler is present. The OSCCAL register is split in two parts. As seen in Figure 7-2, the MSB of OSCCAL selects one of two overlapping frequency ranges, while the 7 least significant bits are used to tune the frequency within this range.

Прикрепленные файлы
Прикрепленный файл  AVR055_Using_32kHz_XTAL_run_time_calibration_RC.pdf ( 146.53 килобайт ) Кол-во скачиваний: 70
 
Go to the top of the page
 
+Quote Post
vika1
сообщение Jul 26 2009, 15:42
Сообщение #4


Участник
*

Группа: Участник
Сообщений: 34
Регистрация: 8-11-05
Пользователь №: 10 601



Цитата(Т.Достоевский @ Jul 26 2009, 03:31) *
О чо нашёл в апноте по калибровке RS генератора:

Это все так, но вопрос то в другом: почему при единственном RC генераторе с частотой 9.6 МГц и внутреннем делителе частоты на 2 в контроллере предусмотрено два калибровочных байта.
Go to the top of the page
 
+Quote Post

Сообщений в этой теме
- vika1   ATtiny13 калибровочные байты RC генератора   Jul 14 2009, 04:46
- - Палыч   Цитата(vika1 @ Jul 14 2009, 07:46) Непоня...   Jul 14 2009, 05:54
|- - vika1   Цитата(Палыч @ Jul 14 2009, 08:54) Непоня...   Jul 14 2009, 06:30
|- - Палыч   Цитата(vika1 @ Jul 14 2009, 09:30) А вот ...   Jul 14 2009, 06:43
||- - Палыч   Или Вы желаете знать оба заводских калибровочных б...   Jul 14 2009, 06:59
||- - aesok   Цитата(Палыч @ Jul 14 2009, 10:59) И заче...   Jul 14 2009, 07:01
|- - aesok   Цитата(vika1 @ Jul 14 2009, 10:30) В прод...   Jul 14 2009, 06:47
|- - mempfis_   Цитата(vika1 @ Jul 14 2009, 09:30) А вот ...   Jul 14 2009, 06:48
|- - Палыч   Цитата(vika1 @ Jul 14 2009, 09:30) The si...   Jul 14 2009, 07:06
|- - aesok   Цитата(Палыч @ Jul 14 2009, 11:06) Ага...   Jul 14 2009, 07:11
- - vika1   Кстати и для ATtiny13 и ATtiny13V в редакции от 0...   Jul 14 2009, 07:37
- - vika1   Ответ техподдержки с Atmel: Dear Customer, For t...   Jul 14 2009, 12:37
|- - Палыч   Цитата(vika1 @ Jul 14 2009, 15:37) А вот ...   Jul 14 2009, 12:55
- - #alex_   Нашел у себя Tiny13, подключил к AVRISP. Прочитал ...   Jul 15 2009, 06:41
|- - defunct   Цитата(#alex_ @ Jul 15 2009, 09:41) На ме...   Jul 15 2009, 10:30
||- - vika1   Цитата(defunct @ Jul 15 2009, 13:30) Лишн...   Jul 16 2009, 17:46
||- - defunct   Цитата(vika1 @ Jul 16 2009, 20:46) Вот то...   Jul 17 2009, 00:35
||- - ReAl   Цитата(defunct @ Jul 17 2009, 03:35) На в...   Jul 17 2009, 11:08
|- - ReAl   Цитата(#alex_ @ Jul 15 2009, 09:41) Нашел...   Jul 15 2009, 14:23
|- - ReAl   Цитата(vika1 @ Jul 14 2009, 14:37) Ответ ...   Dec 3 2010, 11:41
- - vika1   ЦитатаДля гарантированной работы на 4.8Mhz надо пи...   Jul 17 2009, 08:28
|- - defunct   Цитата(vika1 @ Jul 17 2009, 11:28) Поэтом...   Jul 17 2009, 10:03


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 5th August 2025 - 00:36
Рейтинг@Mail.ru


Страница сгенерированна за 0.01403 секунд с 7
ELECTRONIX ©2004-2016