background image

   -

--

  

 

2

2

 /

 

2

1

  

 

e

g

a

P

 -

--

CUnet Family   MKY44-IO32A

Occupied Memory Block

The PWM and Up/Down counter mode of the MKY44-IO32A occupies the MB (Memory Block) of the SA value that is set by SA0 

to SA5 of the ST44SW.

In bits 0 to 23 of the MB occupied by the PWM and Up/Down counter mode of the MKY44-IO32A, the value of Counter-0 is stored.  

In bits 24 to 31, the status of the general-purpose input pins (Di0 to Di7) is stored.  In bits 32 to 55, the value of Counter-1 is stored.  

In bits 56 to 63, the status of the general-purpose output pins (Do0 toDo7) is stored. 

OFF, the latest value loaded in each CUnet cycle 

Bit

63 to 56

55 to 32

31 to 24

23 to 0

Content EDo7 to EDo0

Counter-1

Di7 to 0

Counter-0

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Content CUT0

15

CUT0

14

CUT0

13

CUT0

12

CUT0

11

CUT0

10

CUT0

9

CUT0

8

CUT0

7

CUT0

6

CUT0

5

CUT0

4

CUT0

3

CUT0

2

CUT0

1

CUT0

0

Bit

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

Content

Di7

Di6

Di5

Di4

Di3

Di2

Di1

Di0

CUT0

23

CUT0

22

CUT0

21

CUT0

20

CUT0

19

CUT0

18

CUT0

17

CUT0

16

Bit

47

46

45

44

43

42

41

40

39

38

37

36

35

34

33

32

Content CUT1

15

CUT1

14

CUT1

13

CUT1

12

CUT1

11

CUT1

10

CUT1

9

CUT1

8

CUT1

7

CUT1

6

CUT1

5

CUT1

4

CUT1

3

CUT1

2

CUT1

1

CUT1

0

Bit

63

62

61

60

59

58

57

56

55

54

53

52

51

50

49

48

Content EDo7 EDo6 EDo5 EDo4 EDo3 EDo2 EDo1 EDo0 CUT1

23

CUT1

22

CUT1

21

CUT1

20

CUT1

19

CUT1

18

CUT1

17

CUT1

16

For the status of the general-purpose input pins 

The values read out from Counter-0 and Counter-1 are as follows.

        Range of values : 0x000000 to 0xFFFFFF

        Initial value : 0x000000 (Right after power-on, hardware reset, and CLR(#CLR0 or #CLR1) signal input)

        Overflow operation : MKY44-IO32A continues counting.

                                           Up counter mode : 0xFFFFFF is reset to start recount from 0x000000. 

                                           Down counter mode : 0x000000 is reset to start recount from 0xFFFFFF.

Note : You cannot set any values as the initial value of the counter.

Note : When you read the Counter-0 and Counter-1 values using CUnet master, use the hazard protection function of CUnet master.

the digital filter will be stored.

Summary of Contents for CUnet MKY44-IO32A

Page 1: ...rature range 40 to 85 C Package 64 pin TQFP 0 5 mm pitch 10 mm 10 mm ST44SW Required Applications Industrial devices Medical devices Measurement devices Power wire monitoring Process control Overview...

Page 2: ...to DIO Mode PWM and Up Down Counter Mode RX FDQ VHW WKH LQSXW RI WKH 0 2 WR JR WKURXJK XS WR GLJLWDO OWHUV E WXUQLQJ 21 WKH RQ ELW RI 3 6 7KH IDFWRU GHIDXOW VDPSOH LQWHUYDO RI WKH 0 2 LV V 7KXV VLJQD...

Page 3: ...Do4 Do4 R L L L L R R R R R R L L L L R R R R R R L L L L R R R R R R Do8 Di8 Di8 Di8 R Di8 Do8 Do8 Do8 R Do9 Di9 Di9 Di9 R Di9 Do9 Do9 Do9 R R L L L R L R R R R R L L L R L R R R R R L L L R L R R R...

Page 4: ...V 21 32 3 DOHL 2 VHWWLQJ WR VHOHFW WKH RXWSXW GDWD WR WKH RXWSXW SLQ 7KH ORZHU ELWV LQ WKH PHPRU EORFN DUH VHOHFWHG ZKHQ WKH 3 6 LV LQ WKH 2 VWDWH 7KH XSSHU ELWV LQ WKH PHPRU EORFN DUH VHOHFWHG ZKHQ 3...

Page 5: ...1 60 59 58 57 56 55 54 53 52 51 50 49 48 Content 0 FI9 FI13 FI12 FI11 FI10 FI8 FI7 FI6 FI5 FI4 FI3 FI2 FI1 FI0 Setting values are stored in bits 32 to 63 These bits show the following settings loaded...

Page 6: ...RI WKH 0 2 VHWV WKH 2 VHOHFWLRQV IRU WKH JHQHUDO SXUSRVH 2 SLQV XVLQJ SLQV 26 26 DQG 26 3 7KH XVH RI WKH 0 2 UHTXLUHV WKH 67 6 D GHGLFDWHG 6 WR ORDG WKH 3 6 VHWWLQJV 7KH 0 2 RSHUDWHV E UHDGLQJ YLD WK...

Page 7: ...n to set the mode of the MKY44 IO32A To use it as described in this data sheet be sure to retain the High level by connecting to Vdd DONA 47 Positive O This pin retains the High level during the DONA...

Page 8: ...it 6WRUDJH WHPSHUDWXUH 7VWJ 2SHUDWLQJ WHPSHUDWXUH 7RSU 3LQ YROWDJH DEVROXWH PD LPXP UDWLQJ VI 9DD 9 2SHUDWLQJ SRZHU VXSSO YROWDJH 9DD 9 0HDQ RSHUDWLQJ FXUUHQW 9DDA 9L 9DD RU 9SS RXWSXW RSHQ 7 0 mA 2 S...

Page 9: ...B 7 I IOSWAP A 23 Vdd 39 I O Io14 A B 55 O MON B 8 N C 24 I O Io36 A B 40 I O Io15 A B 56 O CU_TXD B 9 VSS 25 I O Io37 A B 41 I O Io16 A B 57 O CU_TXE B 10 XTAL4i 26 I ChipMode A 42 I O Io17 A B 58 I...

Page 10: ...Page 10 22 CUnet Family MKY44 IO32A XQFWLRQ ORFNV RI 3 0 DQG 8S RZQ RXQWHU 0RGH 7KH IROORZLQJ VKRZV WKH IXQFWLRQ EORFNV LQ WKH 3 0 DQG 8S RZQ FRXQWHU PRGH RI WKH 0 2...

Page 11: ...JLWDO OWHU IRU WKH LQSXW VLJQDO KHQ WKH 3 6 LV LQ WKH 21 VWDWH WKH GLJLWDO OWHU LV 21 32 3 G F RQ W DUH 7KH VHWWLQJ RI WKLV VZLWFK GRHV QRW PDWWHU LQ 3 0 DQG 8S RZQ FRXQWHU PRGH 3 DOSA 26 6HW 26 YDOXH...

Page 12: ...Content Di7 Di6 Di5 Di4 Di3 Di2 Di1 Di0 CUT0 23 CUT0 22 CUT0 21 CUT0 20 CUT0 19 CUT0 18 CUT0 17 CUT0 16 Bit 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 Content CUT1 15 CUT1 14 CUT1 13 CUT1 12 CUT...

Page 13: ...9 3 0 8 3 0 3 0 3 0 3 0 4 3 0 3 3 0 2 3 0 3 0 LW 49 48 Content R R R Do4 Do3 Do2 R R G F 7KH YDOXH LQ GRQ W FDUH G F ZLOO QRW DIIHFW WKH RSHUDWLRQ RI WKH 0 2 Q WKH H DPSOH RI JHQHUDWLRQ RI 3 0 RXWSXW...

Page 14: ...WKH FRQQHFWLRQV LQ WKH 3 0 DQG 8S RZQ FRXQWHU PRGH RI WKH 0 2 7KH XVH RI WKH 0 2 UHTXLUHV WKH 67 6 D GHGLFDWHG 6 WR ORDG WKH 3 6 VHWWLQJV 7KH 0 2 RSHUDWHV E UHDGLQJ YLD WKH 67 6 WKH VHWWLQJV RI VWDWLR...

Page 15: ...vel 1 is added to the value of counter 1 Leave this pin open when not in use DOWN1 39 Negative I Count down input pin of counter 1 When the signal of this pin transits from High level to Low level 1 w...

Page 16: ...7 S Max Unit 6WRUDJH WHPSHUDWXUH 7VWJ 2SHUDWLQJ WHPSHUDWXUH 7RSU 3LQ YROWDJH DEVROXWH PD LPXP UDWLQJ VI 9DD 9 2SHUDWLQJ SRZHU VXSSO YROWDJH 9DD 9 0HDQ RSHUDWLQJ FXUUHQW 9DDA 9L 9DD RU 9SS RXWSXW RSHQ...

Page 17: ...MCARE B 6 I Reset C 22 O Do5 B 38 I UP1 A 54 O LCARE B 7 N C 23 VDD 39 I DOWN1 A 55 O MON B 8 N C 24 O Do6 B 40 I CLR1 A 56 O CU_TXD B 9 VSS 25 O Do7 B 41 O PWM0 B 57 O CU_TXE B 10 XTAL4i 26 I ChipMo...

Page 18: ...UHFRPPHQGHG WR FRQQHFW RUDQJH FRORU SDUW LQGLFDWLQJ D JHQWOH ZDUQLQJ 7R 0 5 SLQ LW LV UHFRPPHQGHG WR FRQQHFW UHG FRORU SDUW LQGLFDWLQJ D GH QLWH ZDUQLQJ 7KHVH SLQV KDYH r P FXUUHQW GULYH FDSDELOLW RQ...

Page 19: ...n Valid range 91 9Q 9HUVLRQ 1XPEHU 6KRZV WKH YHUVLRQ QXPEHU RI WKH 0 2 LQ WZR 6 FKDUDFWHUV 7KH YHUVLRQ QXPEHUV VWDUW IURP 91 UHSUHVHQWV WKH WHQV SODFH DQG 9Q UHSUHVHQWV WKH RQHV SODFH WR in ASCII SA 3...

Page 20: ...ZDUH UHVHW LV H HFXWHG WKH 0 2 ZLOO VWDUW RSHUDWLRQ DFFRUGLQJ WR WKH YDOXHV VWRUHG LQ WKH DVK 520 I WKH 0 2 FRXOG QRW FKDQJH WKH VHWWLQJ VXFFHVVIXOO XVLQJ WKH PDLO IXQFWLRQ LW ZLOO UHWXUQ D 1 FRGH PHV...

Page 21: ...Page 21 22 CUnet Family MKY44 IO32A 3DFNDJH LPHQVLRQV RPPRQ WR 2 PRGH 3 0 DQG 8S RZQ FRXQWHU PRGH...

Page 22: ...nts and any other rights of a third party 4 When using this product and the information and circuits in this data sheet we do not guarantee the right to use any property rights intellectual property r...

Reviews: