DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

SN8P2501 查看數據表(PDF) - Sonix Technology Co., Ltd

零件编号
产品描述 (功能)
生产厂家
SN8P2501
SONiX
Sonix Technology Co., Ltd SONiX
SN8P2501 Datasheet PDF : 11 Pages
1 2 3 4 5 6 7 8 9 10
SN8P2501
使用注意事項 V1.0
範例:設置 P0.0 輸出 Low
@P00_OUT 0
5 設定 PWM DUTY
SN8P2501 PWM Duty 可由 ALOAD0 TC0OUT0 兩個 Bits 調整,列表如下:
ALOAD0
0
0
1
1
PWM0OUT = 1
TC0OUT TC0R Boundary PWM duty range
0
00h to FFh 0/256 ~ 255/256
1
00h to 3Fh
0/64 ~ 63/64
0
00h to 1Fh
0/32 ~ 31/32
1
00h to 0Fh
0/16 ~ 15/16
Max PWM
Frequency
(Fcpu = 4M)
7.8125K
31.25K
62.5K
125K
Note
Overflow per 256
count
Overflow per 64 count
Overflow per 32 count
Overflow per 16 count
S8KD-2 ICE 模擬環境中並無支援此項設定功能,為此提供 PWM Duty 設置巨集,讓使用者方便模擬,
且不影響實際 OTP 功能,此巨集已經內建在 Assembler 中,使用者直接下達指令即可。使用此巨集必須先
設定 ICE_MODE 數值,決定操作環境為 ICE 或是 Real Chip
5.1 ICE_MODE 設置說明:
語法:ICE_MODE
EQU val
val: 0 = For SN8P2501 real chip. 1 = For S8KD-2 ICE emulation.
注意:改變 ICE_MODE 設定後必須要重新組譯程式
範例:ICE_MODE 設置為 ICE Emulation,程式經過 Compile ICE Emulation 設定值,僅能在 ICE
模擬,無法在 SN8P2501 上輸出正確 PWM Duty
CHIP SN8P2501
.DATA
ICE_MODE EQU 1
.CODE
程式
範例:ICE_MODE 設置為 SN8P2501 real chip,程式經過 Compile SN8P2501 設定值,無法在 ICE
上模擬正確的 PWM Duty,僅能在 SN8P2501 上輸出正確 PWM Duty
CHIP SN8P2501
.DATA
ICE_MODE EQU 0
.CODE
程式
本資料為松翰科技股份有限公司專有之財產,非經書面許可不准透露或使用本資料,亦不准複印複製或轉變成任何其他形式使用。
The information contained herein is the exclusive property of SONiX technology Co., Ltd. and shall not be distributedreproducedor disclosed in whole or in
part without prior written permission of SONiX technology Co., Ltd.
Page8

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]