Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP86FS23UG Datasheet(PDF) 193 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) 193 Page - Toshiba Semiconductor

Back Button 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 TMP86FS23UG Datasheet HTML 197Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 193 / 252 page
background image
Page 181
TMP86FS23UG
Note 4: When the MAC unit is enabled (EMAC = “1”), if the operation mode is changed to IDLE0/1/2, SLOW1/2, or STOP mode,
the command register (MACCR) is initialized and its contents are discarded. Thus, program the MACCR again after each
of these operation modes is exited.
17.5 Arithmetic Modes
The following four arithmetic modes are available:
1. Unsigned multiply (16 bits
× 16 bits)
2. Signed multiply (16 bits
× 16 bits)
3. Unsigned multiply-accumulate (16 bits
× 16 bits + 32 bits)
4. Signed multiply-accumulate (16 bits
× 16 bits + 32 bits)
17.5.1 Unsigned Multiply Mode
Setting the MACCR<CMOD> field in the command register to “000B” places the MAC unit in unsigned
multiply mode. In this mode, the values of the multiplier and multiplicand registers are each treated as 16-bit
data for calculation.
Calculation is started automatically by writing a multiplier to the multiplier register (MPLDRH, MPLDRL)
and then writing a multiplicand to the lower byte (MPCDRL) and upper byte (MPCDRH) of the multiplicand
register in this order. The calculation result is stored as 32-bit data in the result register (RCALDR4 to
RCALDR1). (The previous calculation result is cleared.)
17.5.2 Signed Multiply Mode
Setting the MACCR<CMOD> field in the command register to “010B” places the MAC unit in signed mul-
tiply mode. In this mode, bit 15 in the multiplier and multiplicand registers is each treated as the sign bit.
Calculation is started automatically by writing a multiplier to the multiplier register (MPLDRH, MPLDRL)
and then writing a multiplicand to the lower byte (MPCDRL) and upper byte (MPCDRH) of the multiplicand
register in this order. The calculation result is stored as 32-bit data in the result register (RCALDR4 to
RCALDR1). (Bit 31 contains the sign, and the previous calculation result is cleared.) The sign of the calcula-
tion result varies depending on the signs of the multiplier and multiplicand, as shown in Table 17-3.
17.5.3 Unsigned Multiply-Accumulate Mode
Setting the MACCR<CMOD> field in the command register to “001B” places the MAC unit in unsigned
multiply-accumulate mode. In this mode, the values of the multiplier and multiplicand registers are each
treated as 16-bit data for calculation.
Calculation is started automatically by writing a multiplier to the multiplier register (MPLDRH, MPLDRL)
and then writing a multiplicand to the lower byte (MPCDRH) and upper byte (MPCDRH) of the multiplicand
register in this order. First, the multiplier and multiplicand are multiplied. Then, the contents of the addend reg-
ister are added to the product. The sum is stored as 32-bit data in the result register.
In unsigned multiply-accumulate mode, any addend can be written to the addend register when calculation is
not being performed. If, for example, A
× B is executed after arbitrary data C is written to the addend register,
the result of A
× B + C is stored in the result register (RCALDR4 to RCALDR1). Setting the RCLR bit to “1”
Table 17-3 Signs Used in Singed Multiply Mode
Sign of Multiplier
Sign of Multiplicand
Sign of Calculation Result
00
0
01
1
10
1
11
0



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