21.07.2013 Views

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

FR60 MB91460E Series - Microcontrollers - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MB91460E</strong> <strong>Series</strong><br />

4.4. Sampling Timer Setting Register (ADCT)<br />

ADCT register controls the sampling time and comparison time of analog input. This register sets A/D conversion<br />

time. Do not update value of this register during A/D conversion operation.<br />

• ADCT1: Access: Word, Half-word, Byte<br />

15 14 13 12 11 10 9 8 Bit<br />

CT5 CT4 CT3 CT2 CT1 CT0 ST9 ST8<br />

0 0 0 1 0 0 0 0 Initial value<br />

R/W R/W R/W R/W R/W R/W R/W R/W Attribute<br />

• ADCT0: Access: Word, Half-word, Byte<br />

7 6 5 4 3 2 1 0 Bit<br />

ST7 ST6 ST5 ST4 ST3 ST2 ST1 ST0<br />

0 0 1 0 1 1 0 0 Initial value<br />

R/W R/W R/W R/W R/W R/W R/W R/W Attribute<br />

[bit 15 to 10] CT5-0 (A/D comparison time set)<br />

These bits specify clock division of comparison time.<br />

• Setting "000001" means one division (=CLKP).<br />

• Do not set these bits "000000".<br />

• Initialized these bits to "000100" by software reset (RST).<br />

• Comparison time = CT value * CLKP cycle * 10 + (4 * CLKP)<br />

• Do not set comparison time over 500 us.<br />

[bit 9 to 0] ST9-0 (Analog input sampling time set)<br />

These bits specify sampling time of analog input.<br />

• Initialized these bits to "0000101100" by software reset (RST).<br />

• Sampling time = ST value * CLKP cycle<br />

• Do not set sampling time below 1.2 us when AVCC is below 4.5 V.<br />

Necessary sampling time and ST value are calculated by following.<br />

• Necessary sampling time (Tsamp) = (Rext + Rin) * Cin * 7<br />

• ST9 to ST0 = Tsamp / CLKP cycle<br />

ST has to be set that sampling time is over Tsamp.<br />

Example: CLKP = 32MHz, AVCC >= 4.5V, Rext = 200K<br />

Tsamp = ( 200 * 103 + 2.52 * 103 ) * 10.7 * 10-12 * 7 = 15.17 [us]<br />

ST = 15.17-6 / 31.25-9 = 485.44<br />

ST has to be set over 486D (111100110B).<br />

Tsamp is decided by Rext. Thus conversion time should be considered together with Rext.<br />

38 DS705-00002-1v3-E

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!