ÔÄ 1275|»Ø 0

3836

Ìû×Ó

19

TAµÄ×ÊÔ´

´¿¾»µÄ¹è£¨Öм¶£©

Â¥Ö÷
 

MSP430F5438 ADC12ѧϰһЩעÒâµã [¸´ÖÆÁ´½Ó]

һЩעÒâµã
1 Ìá¸ß²ÉÑùʱ¼ä
Èç¹ûÌõ¼þÔÊÐí£¬¿ÉÒÔ¾¡¿ÉÄܵÄÌá¸ß²ÉÑùʱ¼ä£¬ÕâÑùת»»½á¹û¿ÉÒÔ¸üÎȶ¨Ò»Ð©¡£
2 MSP430F5438ûÓÐREFÄ£¿é
ÏÖÔÚ¿ÉÒÔÔÚTI¹ÙÍøÉÏÏÂÔصõ½µÄʾÀý´úÂë»òÊý¾ÝÊÖ²á²Î¿¼ÊÖ²áµÈ£¬¶¼ÊÇΧÈÆMSP430F5438AµÄ¡£µ«ÊÇÊÐÃæÉϺܶàMCU»¹ÊÇMSP430F5438£¬ÆäʵMSP430F5438AºÍMSP4305438ÊÇÓÐÇø±ðµÄ£¬MSP430F5438ûÓÐREFÄ£¿é£¬ËùÒÔʹÓÃƬÄÚµÄ2.5²Î¿¼µçÔ´»¹ÊÇÓÐЩ²»Îȶ¨µÄÒòËØ¡£¿ÉÒÔͨ¹ýÒÔϵÄʵÏÖ²âÊÔһϣ¬ADת»»µÄÄ¿±êÒÀÈ»ÊÇLDOÊä³ö¡£
ÐèÒªÐÞ¸ÄÒÔϼ¸¸ö²¿·ÖµÄ´úÂë
µÚÒ»£º
ADC12CTL0 = ADC12SHT0_15 + ADC12SHT1_15 + ADC12ON; ÐÞ¸ÄΪ
ADC12CTL0 = ADC12SHT0_15 + ADC12SHT1_15 + ADC12ON +
                       ADC12REF2_5V + ADC12REFON;
ʹÓôò¿ªÆ¬ÄÚ2.5V²Î¿¼µçÔ´
µÚ¶þ:
ADC12MCTL0 = ADC12SREF_0 + ADC12INCH_11;ÐÞ¸ÄΪ
ADC12MCTL0 = ADC12SREF_1 + ADC12INCH_11;
ת»»²Î¿¼µçѹΪVref£¬¼´ÐÞ¸Ä1ÉèÖõÄ2.5V²Î¿¼µçÔ´
µÚÈý:
float ldo_voltage = ADC12MEM0 / 4096.0 * 3.3 * 2;ÐÞ¸ÄΪ
float ldo_voltage = ADC12MEM0 / 4096.0 * 2.5 * 2;
Ì滻ת»»¹«Ê½£¬²Î¿¼µçѹÓÉ3.3V±äΪ2.5V
 
µãÔÞ ¹Ø×¢

»Ø¸´
¾Ù±¨
ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | ×¢²á

²éÕÒÊý¾ÝÊÖ²á?

EEWorld Datasheet ¼¼ÊõÖ§³Ö

Ïà¹ØÎÄÕ ¸ü¶à>>
¹Ø±Õ
Õ¾³¤ÍƼöÉÏÒ»Ìõ 1/8 ÏÂÒ»Ìõ

 
EEWorld¶©ÔĺÅ

 
EEWorld·þÎñºÅ

 
Æû³µ¿ª·¢È¦

About Us ¹ØÓÚÎÒÃÇ ¿Í»§·þÎñ ÁªÏµ·½Ê½ Æ÷¼þË÷Òý ÍøÕ¾µØͼ ×îиüРÊÖ»ú°æ

Õ¾µãÏà¹Ø£º ¹ú²úо °²·Àµç×Ó Æû³µµç×Ó ÊÖ»ú±ãЯ ¹¤Òµ¿ØÖÆ ¼ÒÓõç×Ó Ò½ÁƵç×Ó ²âÊÔ²âÁ¿ ÍøÂçͨÐÅ ÎïÁªÍø

±±¾©Êк£µíÇøÖйشå´ó½Ö18ºÅB×ù15²ã1530ÊÒ µç»°:(010)82350740 Óʱࣺ100190

µç×Ó¹¤³ÌÊÀ½ç°æȨËùÓÐ ¾©B2-20211791 ¾©ICP±¸10001474ºÅ-1 µçÐÅÒµÎñÉóÅú[2006]×ÖµÚ258ºÅº¯ ¾©¹«Íø°²±¸ 11010802033920ºÅ Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí