資源描述:
《瑞薩單片機(jī)R8CTiny內(nèi)部培訓(xùn).ppt》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在PPT專區(qū)-天天文庫。
1、MCU培訓(xùn)(基于R8C/1B)SHFieldApplicationBTeamEG,MCUProductCenterHuangHan2010-5-7?2010RenesasElectronicsCorporation.Allrightsreserved.2?2010RenesasElectronicsCorporation.Allrightsreserved.R8CMCUcoreR8Cperipheral&I/OHEWandNC30SampleCode單片機(jī)工作的要素工作模式(OperationMODE)時(shí)鐘(Clock)復(fù)位(Reset)向量(Vecter
2、Table)及中斷(Interrupter)Ru-StickMCUtraining3?2010RenesasElectronicsCorporation.Allrightsreserved.RoadmapofPre-RenesasMicrocomputers4-bit740380007600740FamilyH8/300HH8/300LH8/300LSuperLowPowerH8Family8-bit16-bit32-bitCISCH8S/2100H8S/2200H8S/2300H8S/2400H8S/2500H8S/2600H8SFamilyH8/Tin
3、y(H8S,300H)M16C/Tiny32to100pins48to80pins16to80pinsM16C/30M16C/60M16C/80M32C/80M32C/90R32C/100M16CFamilyH8SX/1500H8SX/1600H8SXFamilySH/TinySH2-DSPSH-1SH-2SH3-DSPSH-3SH-4SH-4ASuperHFamilyUnderdevelopmentMMU32-bitRISCSuperscalarControllertypeProcessortypeCoredevelopment1instructioni
4、n1clockcycle1instructionin1clockcycle1instructionin1clockcycleSH-2AM32RFamilyM32R/ECU7204500R8C/LxR8C/TinyUnderdevelopmentR8CFamily4?2010RenesasElectronicsCorporation.Allrightsreserved.——R8C/Tiny系列單片機(jī)硬件接口5?2010RenesasElectronicsCorporation.Allrightsreserved.R8C/Tiny系列單片機(jī)的主要優(yōu)點(diǎn)低功耗設(shè)計(jì)
5、減少外部電路安全設(shè)計(jì)代碼效率高優(yōu)化的CPU寄存器結(jié)構(gòu)優(yōu)秀的電磁兼容性可靠的FLASH存儲(chǔ)器On-chip調(diào)試R8C/Tiny——Renesas最新推出的小型化封裝、高性能的16位單片機(jī)6?2010RenesasElectronicsCorporation.Allrightsreserved.低速/高速高精度內(nèi)部振蕩器2可選擇多種時(shí)鐘分頻比1內(nèi)部振蕩器定時(shí)器XIN外部信號(hào)輸入時(shí)鐘發(fā)生電路定時(shí)器時(shí)鐘源可選5電阻AVssOffVref模擬輸入A/D轉(zhuǎn)換器A/D參考電壓可切斷411/2001/11000通常運(yùn)行模式,f(XIN)=20MHz等待模式,f(XIN)=
6、125KHz停止模式強(qiáng)大的功耗控制能力3R8C/Tiny系列單片機(jī)的主要優(yōu)點(diǎn)低功耗設(shè)計(jì)Vref切斷(1,2,4,8,16分頻)高速:40MHz低速:125KHz7?2010RenesasElectronicsCorporation.Allrightsreserved.R8C/Tiny系列單片機(jī)的主要優(yōu)點(diǎn)減少外部電路[現(xiàn)有產(chǎn)品][R8C/Tiny]VCCRESETMODEVref調(diào)試接口串行寫入器接口復(fù)位電路注:R8C/14群以后的單片機(jī)可以實(shí)現(xiàn)單線調(diào)試GNDEEPROMVCCRESETMODEVref調(diào)試接口串行寫入器接口GNDEEPROMPOR/LVD數(shù)
7、據(jù)閃存單線調(diào)試系統(tǒng)接口*高速內(nèi)部振蕩器復(fù)位電路增加了有效引腳減少元件增加了有效引腳減少元件增加了有效引腳減少元件高速、高精度內(nèi)部振蕩器(外接晶振引腳可用作輸入端口)內(nèi)部上電復(fù)位電路低電壓檢測(cè)電路數(shù)據(jù)閃存(可代替E2PROM)8?2010RenesasElectronicsCorporation.Allrightsreserved.復(fù)位后硬件啟動(dòng)功能時(shí)鐘源保護(hù)功能(永不停止的看門狗)多種安全設(shè)計(jì)使單片機(jī)系統(tǒng)更加穩(wěn)定!程序區(qū)FFFFFF錯(cuò)誤恢復(fù)程序未使用區(qū)未定義指令中斷“跑飛”特殊指令BRK(H’00)&UND(H’FF)4CPU保護(hù)寄存器重要寄存器CPU重要
8、寄存器正常工作時(shí)程序失控時(shí)保護(hù)寄存器3VSSVCC其它任意信號(hào)Vc