ϵͳ¿ØÖÆÄ£¿é¸ÅÊö ϵͳ¿ØÖÆÄ£¿é°üÀ¨Ò»Ð©ÏµÍ³¹¹¼þºÍ¿ØÖƼĴæÆ÷£¬ËüÃǾßÓÐÖÚ¶àÓëоƬÄÚÆäËüÍâÉèÎ޹صŦÄÜ¡£ÏµÍ³¿ØÖÆÄ£¿é°üÀ¨£ºÏµÍ³Ê±ÖÓµ¥Ôª¡¢¸´Î»¡¢ÍⲿÖжÏÊäÈë¡¢´æ´¢Æ÷Ó³Éä¿ØÖÆ¡¢¹¦ÂÊ¿ØÖƺͻ½ÐѶ¨Ê±Æ÷¡£ ϵͳʱÖÓ ÏµÍ³Ê±ÖÓ¸ÅÊö CPUÕý³£¹¤×÷ÐèÒªÓкÏÊʵÄʱÖÓÐźţ¬°üÀ¨ARM7ÄÚºËʹÓõÄCCLKʱÖÓ£¬ºÍоƬÍâÉèʹÓõÄPCLKʱÖÓ¡£ ͨ¹ýLPC2000ϵÁÐ΢¿ØÖÆÆ÷µÄʱÖÓ²úÉúµ¥Ôª²úÉúARM7Äں˺ÍоƬÍâÉèÕý³£¹¤×÷ËùÐèÒªµÄʱÖÓ½ÚÅÄ¡£ |
|
¾§ÌåÕñµ´Æ÷
LPC2000΢¿ØÖÆÆ÷¿ÉÒÔʹÓÃÄÚ²¿µÄ¾§ÌåÕñµ´Æ÷²úÉúʱÖÓÐźţ¬Ò²¿ÉÒÔ´ÓÍⲿÒýÈëʱÖÓÐźš£ |
ʹÓôÓÊôģʽʱ£¬Ê±ÖÓÐźÅͨ¹ýX1Òý½Å´ÓÍⲿÊäÈ룬ÊäÈëƵÂÊ·¶Î§£º1¡«50£¨MHz£©£¬Æä·ù¶È²»Ð¡ÓÚ200m Vrms¡£
|
ʹÓÃÕñµ´Ä£Ê½Ê±£¬Ê±ÖÓÐźÅÓÉÄÚ²¿¾§ÌåÕñµ´Æ÷ºÍÍⲿÁ¬½ÓµÄ¾§ÌåÕñµ´²úÉú£¬Õñµ´ÆµÂÊ·¶Î§£º1¡«30£¨MHz£©¡£
|
×¢Ò⣺Èç¹ûʹÓÃÁËISPÏÂÔع¦ÄÜ»òÕßÁ¬½ÓPLLÌá¸ßƵÂÊ£¬ÔòÊäÈëµÄʱÖÓƵÂÊ·¶Î§±ØÐëÔÚ10¡«25£¨MHz£©Ö®¼ä¡£
|
ËøÏà»·£¨PLL£©
Óɾ§ÌåÕñµ´Æ÷Êä³öµÄʱÖÓÐźţ¬Í¨¹ýPLLÉýƵ£¬¿ÉÒÔ»ñµÃ¸ü¸ßµÄϵͳʱÖÓ£¨CCLK£©¡£ PLL½ÓÊܵÄÊäÈëʱÖÓƵÂÊ·¶Î§Îª10¡«25MHz£¬Í¨¹ýÒ»¸öµçÁ÷¿ØÖÆÕñµ´Æ÷£¨CCO£©±¶Ôöµ½10¡«60MHz¡£ |
PLLÄÚ²¿½á¹¹
|
PLLÏà¹Ø¼Ä´æÆ÷
|
»Ø·Ëø¶¨ºó£ºFOSC = FCCO / (2P ¡Á M)
FCLK = FOSC ¡Á M FOSC£º¾§ÕñƵÂÊ£» FCCO £ºCCOÕñµ´Æ÷Êä³öƵÂÊFCCLK£º´¦ÀíÆ÷ʱÖÓƵÂÊ£» M£ºPLL±¶ÆµÖµ P£ºPLL·ÖƵֵ ±ØÐëÂú×ãµÄÌõ¼þ£º FOSC·¶Î§£º10MHz¡«25MHz£» FCCLK·¶Î§£º10MHz¡«60MHz£» FCCO·¶Î§£º156MHz¡«320MHz£» ËøÏà»·£¨PLL£©¼ÆËãÁ÷³Ì |
£¨1£©¡¢¸ù¾Ý´¦ÀíÆ÷µÄÕûÌåÒªÇó¡¢UART²¨ÌØÂʵÄÖ§³ÖµÈÒòËØÀ´¾ö¶¨¡£ÍâΧÆ÷¼þµÄʱÖÓƵÂÊ¿ÉÒÔµÍÓÚ´¦ÀíÆ÷ƵÂÊ
£¨2£©¡¢CCLK ±ØÐëΪFOSCµÄÕûÊý±¶¡£ £¨3£©¡¢M = CCLK / FOSC£¬È¡Öµ·¶Î§1¡«32¡£Ð´ÈëMSELµÄֵΪ(M-1)¡£ £¨4£©¡¢Ñ¡ÔñºÏÊʵÄPÖµ£¬Ê¹FCCOÔÚÏÞÖÆ·¶Î§ÄÚ¡£PÖ»ÄÜÈ¡1¡¢2¡¢4»ò8¡£Ð´ÈëPSELµÄֵΪP¡£ ËøÏà»·£¨PLL£©¼ÆËãʵÀý ϵͳҪÇó£ºFOSC£½10MHz¡¢CCLK£½ 60MHz 1.¼ÆËãMÖµ£ºM£½ CCLK / FOSC £½6 £» 2.ÉèÖÃMSELλ£ºÐ´ÈëֵΪ£¨M£1£©£½5£» 3. ÉèÖÃPSELλ£ºP£½FCCO/(CCLK¡Á2) £½£¨156¡«320£©/120£½1.3¡«2.67 ËùÒÔPÈ¡ÕûÊý2£¬PSELдÈëֵΪ2¡£ ËøÏà»·£¨PLL£©×¢ÒâÒªµã £¨1£©PLLÔÚоƬ¸´Î»»ò½øÈëµôµçģʽʱ±»¹Ø±Õ²¢ÅÔ·£¬ÔÚµôµç»½ÐѺ󲻻á×Ô¶¯»Ö¸´PLLµÄÉ趨£» £¨2£©PLLÖ»ÄÜͨ¹ýÈí¼þʹÄÜ£» £¨3£©PLLÔÚ¼¤»îºó±ØÐëµÈ´ýÆäËø¶¨£¬È»ºó²ÅÄÜÁ¬½Ó£» £¨4£©PLLÈç¹ûÉèÖò»µ±½«»áµ¼ÖÂоƬµÄ´íÎó²Ù×÷¡£ VPB·ÖƵÆ÷ VPB·ÖƵÆ÷½«PLLÊä³öµÄʱÖÓÐźŷÖƵºó×÷ΪоƬÍâÉèµÄʱÖÓ¡£ |
VPB·ÖƵÆ÷¾ö¶¨´¦ÀíÆ÷ʱÖÓ£¨CCLK£©ÓëÍâÉèÆ÷¼þËùʹÓõÄʱÖÓ£¨PCLK£©Ö®¼äµÄ¹Øϵ¡£
ÏÂÃ潲һϣ¬µÄVPBÓÃ;£º £¨1£©VPBÓÃ;1£ºÍ¨¹ýVPB×ÜÏßΪÍâÉèÌṩËùÐèµÄPCLKʱÖÓ£¬ÒÔ±ãÍâÉèÔÚºÏÊʵÄËÙ¶ÈϹ¤×÷£» £¨2£©VPBÓÃ;2£ºÔÚÓ¦Óò»ÐèÒªÈκÎÍâÉèÈ«ËÙÔËÐÐʱʹ¹¦ºÄ½µµÍ¡£ |
GMT+8, 2021-12-6 20:44
Powered by © 2011-2021www.shop-samurai.com°æȨËùÓÐÃâÔðÉùÃ÷²»Á¼ÐÅÏ¢¾Ù±¨
¼¼ÊõÇý¶¯Î´À´!µç¹¤Ñ§Ï°Íø¡ª×¨Òµµç¹¤»ù´¡ÖªÊ¶¡¢µç¹¤¼¼ÊõѧϰÍøÕ¾¡£
À¸Ä¿µ¼º½£º¹¤¿Ø¼ÒÔ°|ÈýÁâplc|Î÷ÃÅ×Óplc|Å·Ä·Áúplc|plcÊÓƵ½Ì³Ì