Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP86FS23UG Datasheet(PDF) 192 Page - Toshiba Semiconductor

Part # TMP86FS23UG
Description  8 Bit Microcontroller
PDF  252 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP86FS23UG Datasheet(HTML) 192 Page - Toshiba Semiconductor

Back Button TMP86FS23UG Datasheet HTML 188Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 189Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 190Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 191Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 192Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 193Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 194Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 195Page - Toshiba Semiconductor TMP86FS23UG Datasheet HTML 196Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 252 page
background image
Page 180
17. Multiply-Accumulate (MAC) Unit
17.4 Register Description
TMP86FS23UG
Note 1: In signed arithmetic mode, bit 31 is treated as the sign bit.
Note 2: Writing to the addend register changes the contents of the result register. Thus, read from the result register before writing
to the addend register.
17.4 Register Description
17.4.1 EMAC
Setting MACCR<EMAC> to “1” enables the MAC unit. Once enabled, the MAC unit remains enabled until
it is disabled.
17.4.2 CMOD
The MACCR<CMOD> is used to specify the arithmetic mode.
Calculation is started automatically when data is written to both the lower byte (MPCDRL) and upper byte
(MPCDRH) of the multiplicand register in this order. Thus, the multiplier register (MPLDRH, MPLDRL) must
be set before the multiplicand register. When calculation is completed, the result is stored in the result register
(RCALDR4 to RCALDR1).
The arithmetic mode is valid until the CMOD field is changed. Note that if the operation mode is changed to
IDLE0/1/2, SLOW1/2, or STOP mode, CMOD is initialized.
During calculation, the next data can be written to the multiplier and multiplicand registers only once. Do not
write to these registers more than once. Whether or not calculation is in progress can be checked by reading the
MACSR<CALC> flag.
Note 1: Before changing the arithmetic mode, ensure that calculation is not being performed (CALC = “0”).
Note 2: Writing to the CMOD field (including an overwrite) makes no changes to the status, multiplier, multiplicand,
result, and addend registers. Thus, to clear the status, result, and addend registers after a change of the
arithmetic mode, set the RCLR bit to “1”.
17.4.3 RCLR
When calculation is not being performed (CALC = “0”), setting MACCR<RCLR> to “1” causes the result,
addend, and status registers to be initilized. (The multiplier and multiplicand registers remain the same as
before.) RCLR is automatically cleared to “0” one machine cycle after it is set to “1”
Note:When calculation is in progress (CALC = “1”), RCLR cannot be set to “1”. (The instruction to set it to “1” is
invalid.)
As shown in Table 17-2, the state of each register changes when: the MAC unit is disabled (EMAC = “0”);
the result register is cleared (RCLR = “1”); or the operation mode is changed.
Note 1: The multiplier, multiplicand, and addend registers can be written to only when the MAC unit is enabled (EMAC = “1”).
Note 2: When writing to the multiplicand register, be sure to write to the lower byte (MPCDRL) first and then to the upper byte
(MPCDRH).
Note 3: RCLR can be written to only when calculation is not being performed (CALC = “0”).
Table 17-2 Effects of the EMAC and RCLR Bits on the MAC Registers
Register
EMAC = “0” (Disable)
RCLR = “1” (register clear)
IDLE0/1/2, SLOW1/2, or
STOP Mode
Command register (MACCR)
Bits other than EMAC remain
the same as before
Bits other than RCLR remain the same as
before. RCLR is cleared to “0” after one
machine cycle.
Initialized
Status register (MACSR)
Initialized
Initialized
Initialized
Multiplier data register (MPLDRH, MPLDRL)
Initialized
Remains the same as before
Initialized
Multiplicand data register (MPCDRH, MPCDRL)
Initialized
Remains the same as before
Initialized
Result register (RCALDR4 to RCALDR1)
Initialized
Initialized
Initialized
Addend register (MADDR4 toMADDR1)
Initialized
Initialized
Initialized



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