sh6616 SinoWealth Micro-Electronics Corp. Ltd, sh6616 Datasheet - Page 10

no-image

sh6616

Manufacturer Part Number
sh6616
Description
16k 4-bit Microcontroller
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
PSG clock can be selected by changing register $1AH and $1BH, as PSG-CLK is selected, the only way to achieve various tones
is by changing the value of N. The value of N is created by a group of counters (LSFR). When different initial data is written to these
counters, different N is created.
The value of N is corresponding to the REG C1.6 - 1.0 or REG C2.14 - 2.8 as shown in the following table
(C2.14 ~ C2.8)
(C1.6 ~ C1.0)
LSFR
0C
0A
1E
3C
0B
01
02
04
08
10
20
41
03
06
18
30
61
42
05
14
28
51
23
47
0F
19
72
64
48
11
22
45
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
N
(C2.14 ~ C2.8)
(C1.6 ~ C1.0)
LSFR
2C
4E
1D
3A
6A
4F
1F
3E
7D
7A
0E
1C
16
59
33
67
75
54
29
53
27
74
68
50
21
43
07
38
71
62
44
09
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
N
(C2.14 ~ C2.8)
(C1.6 ~ C1.0)
10
LSFR
4D
6D
2D
3D
6C
0D
1B
5A
6B
5B
6F
5E
7B
1A
12
24
49
13
26
36
35
56
37
76
58
31
63
46
34
69
52
25
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
N
(C2.14 ~ C2.8)
(C1.6 ~ C1.0)
LSFR
4B
2E
5D
3B
6E
5C
4C
4A
2A
2B
7E
7C
17
77
39
73
66
19
32
65
15
55
57
2F
5F
3F
7F
78
70
60
40
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
N
9
8
7
6
5
4
3
2
1
SH6616

Related parts for sh6616