ÕªÒª£ºÎªÀ©Õ¹AT9lRM9200Öжϴ¦ÀíÄÜÁ¦£¬½«Í¨ÓÃIOÅäÖÃΪÖжÏÊäÈ룬²¢Õë¶Ô¸ºÂö³åÖжÏÐźŵĶþ´ÎÏìÓ¦ÎÊÌâÌá³ö2ÖÖÓÅ»¯½â¾ö·½°¸¡£ÊµÑé±íÃ÷£¬Ôڳɹ¦½â¾öÁËÖж϶þ´ÎÏìÓ¦µÄÎÊÌâ»ù´¡ÉÏ£¬Âú×ãϵͳµÄʵʱÐÔÒªÇó¡£
¹Ø¼ü´Ê£ºAT91RM9200£»Öжϣ»²¢ÐÐÊäÈëÊä³ö(PIO)¿ØÖÆÆ÷£»·¢ËÍÇëÇó(PTT)
¶Ì²¨Í¨ÐÅ×÷ΪһÖÖÓ¦¼±±£ÕÏͨÐÅÊֶΣ¬ÔÚÏÖ´úͨÐÅϵͳÖоßÓв»¿ÉÌæ´úµÄ×÷Óã¬ÔÚ¾üÊ¡¢º£Ê¡¢¿óɽ¡¢ÈË·ÀµÈÁìÓò·¢»ÓÖØÒª×÷Óá£Ëæ×ÅÏÖ´ú¶Ì²¨ÎÞÏßͨÐÅÉ豸µÄ¼¯³É¶ÈºÍ¸´ÔÓ¶ÈÔ½¸ß£¬ÊµÏÖµÄÒµÎñ¹¦ÄܾÍÔ½¶à£¬ÈçGPS¡¢¶ÌÐÅ¡¢µç×ÓÓʼþµÈ£¬Òò´Ë£¬É豸¿ØÖÆÆ÷ÍùÍùÐèͬʱ´¦Àí¶àÖÖÒµÎñ¹¦Äܵķ¢ËÍÇëÇóÐźÅPTT(Press to Talk)£¬²¢ÎªÖ®·ÖÅäÐŵÀÕ¼ÓÃʱ¼ä£¬È·±£¸÷ÖÖÒµÎñÒÀ¾ÝÆäÓÅÏȼ¶¼´Ê±»ñµÃÐŵÀʹÓÃȨ¡£
PTTÐźžßÓиßʵʱÐÔµÄÒªÇó£¬ÐèÒª¼´Ê±ÏìÓ¦£¬Òò´Ë£¬ÔÚϵͳÉè¼Æʱ£®ÐèÒªÀûÓÃMCUµÄÖжϴ¦Àí»úÖÆÂú×ãPTTÐźŵÄÒªÇó¡£ÕâÀïÑ¡ÓÃAT9lR-M9200ÐÍ΢´¦ÀíÆ÷×÷Ϊϵͳ¿ØÖÆÆ÷ºËÐÄ£¬¿Éͨ¹ý²¢ÐÐIO¿ØÖÆÆ÷PIO(Parallel IO Controller)½«128¸ö¸´ÓÃIO¿ÚÅäÖÃΪÖжÏÊäÈë¡£´ó´óÌá¸ßϵͳµÄÀ©Õ¹ÄÜÁ¦¡£Ïêϸ·ÖÎöPIOÖжϵĴ¦ÀíÁ÷³Ì£¬²¢¸ø³öϵͳÉè¼ÆÖÐÕë¶ÔÂö³åÖжÏÐźŵĶþ´ÎÏìÓ¦ÎÊÌâµÄÓÅ»¯½â¾ö·½°¸¡£
1 ϵͳ½éÉÜ
¶Ì²¨Í¨ÐÅϵͳPTT´¦Àí²¿·Ö¼ò»¯¿òͼÈçͼ1Ëùʾ¡£
AT91RM9200Ìṩ7¸öרÓÃÖжÏÐźÅ(IRQO¡«IRQ6)£¬¾ù±»¼¯³ÉÍâÉèÕ¼Óã¬ÎªÂú×ãPTTÐźŵÄʵʱ´¦ÀíÒªÇó£¬PIO¿ØÖÆÆ÷½«IO¿ÚÅäÖÃΪÖжÏÊäÈëÒý½Å¡£FPGA´¦Àí4··¢ËÍÇëÇóÐźţ¬¼´PTT_A£¬PTT_B£¬PTT_C£¬PTT_D¡£PTTÐźŷ¢Éú±ä»¯Ê±£¬FPGA²úÉúÒ»¸ö¸ºÂö³åÖжÏÐźÅPTT_INT֪ͨMCU£¬MCUͨ¹ýÊý¾Ý£¬µØÖ·×ÜÏ߶ÁÈ¡PTT״̬²¢½øÐд¦Àí¡£
2 Öжϴ¦Àí¹ý³Ì
2£®1 ¸ÅÊö
ͼ2ΪAT91RM9200Öжϼ¶Áª½á¹¹¡£Í¼3ΪPIOÐźźͿØÖÆ¿òͼ¡£