ÒýÑÔ
¾ßÓÐ×Ô¶¯¿ØÖƹ¦Äܵĵç×ÓÉ豸Òѹ㷺ӦÓÃÓÚÎÒ¹ú¶àÐÍ»úÉÏ£¬ÓÃÓÚ·É»úÉϸ÷»úÔØÉ豸µÄ¿ØÖÆ¡¢µ÷½ÚµÈ¹¦ÄÜ¡£Èçͼ1Ëùʾ£¬Æä¿ØÖÆϵͳÖ÷ÒªÓÉ´«¸ÐÆ÷ÐźÅÊäÈë¡¢ºËÐÄ¿ØÖÆ°å¼°¾¹ý´¦ÀíÇý¶¯ºóµÄ¿ØÖÆÐźÅÊä³ö£¬×îºóÊä³öµ½»úÉϵľßÌåÓ¦Óᣱ¾ÎĽ«Ö÷Òª½éÉÜÈçºÎÀûÓÃͨµÀ¸´Óü¼ÊõÉè¼ÆʵÏÖ¾ßÓÐË«Óà¶ÈDSPµÄ¿ØÖư岿¼þ£¬ÖصãÃèÊöÈçºÎʵÏÖϵͳµÄË«Óà¶ÈDSPÉè¼Æ¡¢Ë«DSP¼äÈçºÎͨѶÒÔ¼°DSPµÄ¹ÊÕÏÅж¨·¨ÔòµÈ¡£
¿ØÖÆ°åÓ²¼þÉè¼Æ
¿ØÖÆ°åµÄÓ²¼þ¿òͼÈçͼ2Ëùʾ£¬Ö÷ÒªÓÉÍⲿÐÅÏ¢²É¼¯µ¥Ôª¡¢Ë«Óà¶ÈDSPÄ£¿é¡¢Ó¦Óô¦Àí¼°ÆäÊä³öµ¥ÔªµÈ×é³É¡£ÆäÖУ¬Ë«Óà¶Èµ¥ÔªµÄCPUÑ¡ÓÃ16붨µãDSP TMS320LF2407A£¬ÆäÔËÐÐ×î¸ßËÙÂÊ¿É´ï40MHz¡¢Æ¬ÄÚ¼¯³É¶àÖÖÍâÉè¡£
ͼÖУ¬Á½¸öDSPͨ¹ýCAN×ÜÏß¼°I/O¿Ú½øÐпØÖÆÐÅÏ¢½»»»¼°Êý¾ÝͨÐÅ¡£Á½¸öDSP·Ö±ðÓëÊÕ·¢Æ÷1¡¢ÊÕ·¢Æ÷2ÏàÁ¬£¬ÕâÁ½¸öͨµÀÓëÍⲿÊý¾Ý»ò¿ØÖÆ×ÜÏßÊÇÏàÁ¬µÄ£¬¼´¹²ÏíÒ»¸öÍⲿ½Ó¿Ú£¬Í¨µÀ¿ØÖÆÂ߼ʹͬһʱ¿ÌÖ»ÄÜÓÐÒ»¸öͨµÀ´ò¿ª£¬±£Ö¤ÏµÍ³¹¤×÷µÄÎȶ¨ÐÔ¡£ÆäÖÐDSP1ÊÇ¿ØÖÆÂß¼µÄÖ÷¿ØÖÆ»ú£¬ÔÚÕý³£¹¤×÷µÄÇé¿öÏÂÓÉËü¿ØÖÆ×ÅÏàӦͨµÀµÄͨ¶Ï¼°µ±Ç°Ö÷¿ØCPU¡£Ã¿¸öDSP¶¼ÓÐ×Ô¼ºµÄEEPROM´æ´¢Æ÷£¬ÓÃÓڴ洢ϵͳµÄ¸÷ÖÖ¼´Ê±ÐÅÏ¢£¬²¢Í¨¹ýCAN×ÜÏßÔÚË«»ú¼ä½øÐд«Êä¡£¿ØÖư幤×÷ʱ²É¼¯´«¸ÐÆ÷¼°Íⲿ¿ØÖÆÐÅÏ¢£¬Í¨¹ýCPUÔËËã´¦ÀíºóÓÉÆä¶ÔÓ¦µÄͨµÀÊä³ö¿ØÖÆÐÅÏ¢µ½ÏàÓ¦¿ØÖƺУ¬¿ØÖÆÏàÓ¦É豸µÄ¶¯×÷¡£
Ë«Óà¶ÈDSPÄ£¿éÓ²¼þÉè¼Æ
Ë«Óà¶ÈDSPÄ£¿éÊDZ¾Éè¼ÆµÄÖص㣬ÆäÓ²¼þÔÀíÈçͼ2µÄË«Óà¶ÈDSPÄ£¿é¡£ËüÓÉË«DSPºË¼°Í¨µÀ¿ØÖÆÂß¼Á½²¿·Ö×é³É¡£ÆäÖÐDSP1ΪÖ÷CPU£¬DSP2Ϊ¸¨CPU¡£µ±ÏµÍ³ÉϵçÆô¶¯ºóÖ÷CPUͨ¹ýI/O¿Ú֪ͨ¸¨CPU½øÐÐ×Լ첢²É¼¯Æä×Ô¼ìÐÅÏ¢£¬Í¬Ê±µ±Ö÷CPUµÄEEPROMÄÚÈÝ·¢Éú¸Ä±äʱ£¬Ö÷CPUͨ¹ýCAN×ÜÏß·¢ËÍÏàÓ¦µÄÊý¾Ý¸ø¸¨CPUÒÔ¸üи¨CPUµÄEEPROMÄÚÈÝ£¬Èçͼ3Ëùʾ¡£Í¼ÖÐCANÊÕ·¢Æ÷ΪÁ½¸ö¶ÔÁ¬µÄCAN×ÜÏßÊÕ·¢Æ÷£¬¸ºÔðʵÏÖË«»ú¼äϵͳ¼´Ê±ÐÅÏ¢µÄ´«ËÍ£¬²¢´æ´¢ÓÚ¸÷×Ô¶ÔÓ¦µÄEEPROMÖУ¬¹©Î¬»¤ºÍ²éѯ¡£
ͨµÀ¿ØÖÆÂß¼¾ö¶¨×ÅÕû¸öϵͳµÄµ±Ç°¹¤×÷CPU£¬¼´µ±ÆäÖÐÒ»¸öCPU±»ÈÏΪÓйÊÕÏʱ£¬Í¨µÀ¿ØÖÆÂß¼½«Ö÷¶¯»òÊDZ»¶¯µØÇл»µ½ÏµÍ³ÈÏΪûÓйÊÕϵÄCPU£¬»ò¾ö¶¨ÓÉÆäÖеÄÒ»¸öCPUÇ¿Öƹ¤×÷¡£Í¨µÀ¿ØÖÆÂß¼µÄÓ²¼þÔÀíÈçͼ4Ëùʾ¡£ËùνµÄÖ÷¶¯Çл»ÊÇÖ¸µ±Ö÷DSPͨ¸ö×Լ췢ÏÖ×ÔÉíÓйÊÕÏ(°üÀ¨Æä¶ÔÓ¦µÄͨµÀ¹ÊÕÏ)£¬¶øÆä³ÌÐòÄÜÕý³£¹¤×÷µÄÇé¿öÏ£¬ÓÉÆä³ÌÐò²úÉúµÄͨ¹ý¿ØÖÆI/O¿ÚµÄÂß¼µçƽ¶ø²úÉúµÄͨµÀÇл»¡£±»¶¯Çл»ÊÇÖ¸·ÇDSP×Ô¼ìµÄÒòËزúÉú£¬¶øÊÇÓÉÓÚͨµÀ¿ØÖÆÂß¼±¾ÉíÓ²¼þ¹ÊÕÏÒýÆðµÄͨµÀÒâÍâÇл»¡£Í¨µÀ¿ØÖÆÂß¼Ó²¼þÓÉÃŵç·×é³É£¬ÄÜÓÐЧµØ·Àֹ˫»úµÄÇÀȨÎÊÌ⡣ͬʱ¿ØÖÆÂß¼·µ»Ø¸øÁ½¸öDSPÒ»¸ö“CTL_BACK”״̬»Ø¶ÁÐźţ¬ÓÃÓÚÅжϵ±Ç°µÄͨµÀÇé¿ö¡£
Ö÷DSPͨ¹ý¿ØÖÆÊäÈë¶Ë¿ÚµÄÂ߼״̬À´Ê¹ÄÜÏàÓ¦µÄͨµÀ£¬Ö»Óе±Á½¸ö¿ØÖƶËͬʱÓÐЧʱѡͨÖ÷ͨµÀ£¬´ËʱÖ÷DSP¹¤×÷¡£ÆäËûÈκÎ״̬¶¼½«´ò¿ª¸¨Í¨µÀ¡£¿ÉÒÔÓÐЧ±ÜÃâÓÉÓÚÖ÷¿ØDSP I/O¿ÚʧЧ¶ø²úÉú²»ÄÜÇл»µÄºó¹û¡£Í¬Ê±Ö÷DSP²»¶Ï¼ì²â“CTL_BACK”״̬»Ø¶ÁÐźŵÄ״̬£¬·ñÔò½«²úÉú±»¶¯Çл»£¬ËµÃ÷ͨµÀ¿ØÖÆÂß¼Ó²¼þ¹ÊÕÏ¡£¸¨DSPÉϵçºó²»¶Ï¼ì²â“CTL_BACK”״̬»Ø¶ÁÐźţ¬Èô¼ì²âµ½ÎªÓÐЧ£¬Ôò˵Ã÷ͨµÀÒѾÇл»µ½Á˸¨Í¨µÀ£¬¸¨DSP¿ªÊ¼¹¤×÷¡£
×÷ÕߣºÈ½½£ ÄϾ©º½¿Õº½Ìì´óѧ À´Ô´£ºµç×Ó²úÆ·ÊÀ½ç