EFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã«æ £ããŠããªãèªè ã®ããã«ããããã®æ°Žæ¶ã®äž»ãªæ©èœã®æŠèŠãç°¡åã«èª¬æãããã§ã«çããŠãã質åã«çããŸããEFM8Beeãã€ã¯ãã³ã³ãããŒã©ãŒã®æ©èœã¯äœã§ããïŒ
EFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãããããç¬èªã®ç¹åŸŽãæã€Busy BeeãSleepy BeeãUniversal BeeãLaser Beeã®4ã€ã®èãã¡ããªãŒã§è¡šãããŸãã æ ¹æ
EFM8 Beeã¯ã51çªç®ã®ããã»ããµåœä»€ã·ã¹ãã ã§CIP-51ããã»ããµã³ã¢ãæ§ç¯ããŸããããããšã¯å¯Ÿç §çã«ãåœä»€ã®70ïŒ ä»¥äžãã·ã¹ãã ã¯ããã¯åšæ³¢æ°ã®1-2ãµã€ã¯ã«ã§å®è¡ãããŸã-ããç¥ãããŠããC8051Fxxxãã€ã¯ãã³ã³ãããŒã©ãšåãã§ãã
ãã©ã³ãã®è€éãããããããšã®é¡æšã«å ¥ããã«ããããã®çµæ¶ã®éèŠãªç¹åŸŽãšãã®æè¡çç¹åŸŽãèæ ®ããŸãã
1. EFM8 Busy Beeã·ãªãŒãº
ãããã®ã³ã¹ãã«éç¹ã眮ãããŠãããæãäºç®ã®å³ããäžé£ã®æ°Žæ¶ã æãå®äŸ¡ãªãã€ã¯ãã³ã³ãããŒã©ãŒã®ã³ã¹ãã¯ã幎é1äžä»¶ä»¥äžã®ãããžã§ã¯ãã®å ŽåãVATãªãã§0.21ãã«ïŒVATãå«ããŠ0.25ãã«ïŒã§ãã
ã·ãªãŒãºã¯3ã€ã®å®èŠã«åãããŠãããåèšãããšæ¬¡ã®ç¹æ§ãåºå¥ã§ããŸãã
- æ倧50 MHzã®ã¯ããã¯åšæ³¢æ°ã§æ倧50 MIPSã®æ倧ããã©ãŒãã³ã¹ã
- ãã©ãã·ã¥ã¡ã¢ãªïŒæ倧64 kBã
- RAMïŒæ倧4352ãã€ãã
- æ±çšå ¥åºåã©ã€ã³ïŒæ倧29;
- ADCïŒæ倧ãµã³ããªã³ã°åšæ³¢æ°ãæ¯ç§350äžãµã³ãã«ã®12ãããã
- æ倧4ã€ã®12ãããDACã
- 5Véå§ã¬ã®ã¥ã¬ãŒã¿> 3.3Vã
ãããŠã宣èšããã0.21ãã«ã«å¯ŸããŠäœãæäŸãããŸããïŒ
0.21ãã«ïŒVATãé€ãïŒã®äŸ¡æ Œã§ãEFM8BB10F2G-A-QFN20ããããæäŸãããŸãã
0.21ãã«ïŒVATãé€ãïŒã®äŸ¡æ Œã§ãEFM8BB10F2G-A-QFN20ããããæäŸãããŸãã
- 25 MHzã®ã¯ããã¯åšæ³¢æ°ã§æ倧25 MIPSã®ããã©ãŒãã³ã¹ãåããããã»ããµã³ã¢ã
- ãã©ãã·ã¥ã¡ã¢ãª2 kB;
- RAM 256ãã€ã;
- 24.5 MHzããã³80 kHzã®2ã€ã®çµã¿èŸŒã¿ã¯ããã¯ãžã§ãã¬ãŒã¿ãŒã
- SMBus / I2Cã€ã³ã¿ãŒãã§ãŒã¹
- SPIã€ã³ã¿ãŒãã§ãŒã¹
- UARTã€ã³ã¿ãŒãã§ãŒã¹
- 16æ¬ã®æ±çšå ¥åºåã©ã€ã³ã
- ã«ãŠã³ã¿ã®3ãã£ãã«ã®ããã°ã©ã å¯èœãªé åã
- 4ã€ã®16ãããã¿ã€ããŒ/ã«ãŠã³ã¿ãŒã
- æè»ãªãããå€èšå®ã®ããã®çµ±åDACãåãã2ã€ã®ã¢ããã°ã³ã³ãã¬ãŒã¿ã
- 15ãã£ãã«ãã«ããã¬ã¯ãµãé»å§ãªãã¡ã¬ã³ã¹ã枩床ã»ã³ãµãŒãåãã12ãããADCã
- 16ãããCRC;
- UARTçšã®çµã¿èŸŒã¿ããŒãããŒããŒã
2. EFM8ã·ãªãŒãºSleepy Bee
ããããªãŒé§åã®ã¢ããªã±ãŒã·ã§ã³ã察象ãšããäžé£ã®ã¯ãªã¹ã¿ã«ã åãã¡ãŒã«ãŒã®32ãããEFM32ãã€ã¯ãã³ã³ãããŒã©ãŒãšåæ§ã®æ¶è²»é»åãã©ã¡ãŒã¿ãŒããããŸããããã€ã³ããªãžã§ã³ãããªåäœã¢ãŒããšå®è£ ãããŠããªãåšèŸºæ©åšã¯å€§å¹ ã«å°ãªããªã£ãŠããŸãã EFM8 Sleepy Beeã®å©ç¹ã¯ãæ°Žæ¶ã®äœã³ã¹ããšéçºã®å®¹æãã§ãã
ãã®ã·ãªãŒãºã¯2è¡ã«åãããŠããã次ã®ç¹åŸŽçãªæ©èœããããŸãã
- æ倧25 MHzã®ã¯ããã¯åšæ³¢æ°ã§æ倧25 MIPSã®æ倧ããã©ãŒãã³ã¹ã
- ã¿ããããŒããŒãçšã®ããŒããŠã§ã¢ã³ã³ãããŒã©ãŒã
- ã¢ã¯ãã£ãæ¶è²»é»æµïŒ14 MHzããã®ã¯ããã¯åšæ³¢æ°ã§88ÎŒA/ MHzã
- ãªã¢ã«ã¿ã€ã ã¯ããã¯ã䜿çšããã¹ãªãŒãã¢ãŒãã§ã®æ¶è²»é»æµïŒå éšãžã§ãã¬ãŒã¿ãŒããã®ã¯ãããã³ã°ïŒïŒ1.8 Vã§0.3ÎŒAã3.6 Vã§0.5ÎŒAã
- ã¿ãããã¿ã³ããèµ·åããã¹ãªãŒãã¢ãŒãã§ã®é»æµæ¶è²»ïŒ1ÎŒAïŒå¹³åå€ïŒ;
- å éšãžã§ãã¬ãŒã¿ãŒã䜿çšããå ŽåããŠã§ã€ã¯ã¢ããæéã¯2ÎŒsãè¶ ããŸããã
ã¢ããã°ããã³ããžã¿ã«åšèŸºæ©åšã¯ãEFM8 Busy Beeã«äŒŒãŠããŸãã
äŸ¡æ Œã«ã€ããŠã
EFM8 Busy Beeã·ãªãŒãºã®æå°ã¯ãªã¹ã¿ã«ã«ãå
å¡«ãã䌌ãŠããæå°ã®ãã€ã¯ãåè·¯EFM8SB10F2G-A-QFN20ã¯ã0.32ãã«+ VATã®äŸ¡æ Œã§æäŸãããŸãã
å€ãã®QSOP24ããã±ãŒãžã«ãšã£ãŠããæ©èœçã§äŸ¿å©ãª8 kBã®ãã©ãã·ã¥ã¡ã¢ãªãš512ãã€ãã®RAMãåããEFM8SB10F8G-A-QSOP24ãããã¯ã$ 0.48 + VATã®äŸ¡æ Œã§æäŸãããŸãã
äŸ¡æ Œã¯ã幎éæ¶è²»éãçŽ1äžå°ã®ãããžã§ã¯ãã«æå¹ã§ãã 幎ããšã
å€ãã®QSOP24ããã±ãŒãžã«ãšã£ãŠããæ©èœçã§äŸ¿å©ãª8 kBã®ãã©ãã·ã¥ã¡ã¢ãªãš512ãã€ãã®RAMãåããEFM8SB10F8G-A-QSOP24ãããã¯ã$ 0.48 + VATã®äŸ¡æ Œã§æäŸãããŸãã
äŸ¡æ Œã¯ã幎éæ¶è²»éãçŽ1äžå°ã®ãããžã§ã¯ãã«æå¹ã§ãã 幎ããšã
3. EFM8 Laser Beeã·ãªãŒãº
EFM8 Laser Beeã·ãªãŒãºã®ã¯ãªã¹ã¿ã«ã¯ãã¢ããã°æž¬å®ã®ã¢ããªã±ãŒã·ã§ã³åãã§ã-ãã®ã·ãªãŒãºã®ã¯ãªã¹ã¿ã«ã«ã¯14ãããADCãæèŒãããŠããã72 dBã®äžè¬çãªä¿¡å·/ãã€ãº+æªã¿ïŒSNDRïŒã¬ãã«ãå šé«èª¿æ³¢æªã¿ïŒTHDïŒ-74 dBããã€ãããã¯ã¬ã³ãžãæäŸããŸãé«èª¿æ³¢ããªãŒïŒSFDRïŒ74 dBã ããã«ãEFM8ã¬ãŒã¶ãŒããŒã¯ãªã¹ã¿ã«ã¯ãé«ãåäœã¯ããã¯åšæ³¢æ°ãåããå®äŸ¡ãªãã€ã¯ãã³ã³ãããŒã©ãŒãå¿ èŠãªã¢ããªã±ãŒã·ã§ã³ã«é©çšã§ããŸãã
EFM8ã¬ãŒã¶ãŒããŒã¯ãªã¹ã¿ã«ã®ãã©ã€ã¯ãªã¹ã¿ã«æ§èœã¯æ¬¡ã®ãšããã§ãã
- æ倧72 MHzã®ã¯ããã¯åšæ³¢æ°ã§æ倧72 MIPSã®æ倧ããã©ãŒãã³ã¹ã
- 1ç§ãããæ倧90äžãµã³ãã«ã®ãµã³ããªã³ã°åšæ³¢æ°ãåãã14ãããã®é次è¿äŒŒADCãããã»ããµã³ã¢ã®é¢äžãªãã«ãã¹ãŠã®ADCãã£ãã«ã§é£ç¶çãªããŒã¿åéãæŽçã§ããŸãã
- çžè£çãªæ£åŒŠæ³¢ä¿¡å·ãšä»»æ波圢ãçæããæ©èœãåãã2ã€ãŸãã¯4ã€ã®12ãããDACã
- 調æŽå¯èœãªãåå¿æéã/ãé»åæ¶è²»ãæ¯ãšæè»ãªå ¥åä¿¡å·éžæåè·¯ãåãã2ã€ã®ã¢ããã°ã³ã³ãã¬ãŒã¿ã
- ±3°C以å ã®èª€å·®ã§åºæ¬æž¬å®å€ãæäŸãã±0.2°C以å ã§ã¡ãŒã«ãŒã説æããæ¹æ³ã䜿çšãããå èµã®èŒæ£æžã¿æž©åºŠã»ã³ãµãŒã
- -40°Cã+ 105°Cã®ã·ãªãŒãºã®ãã¹ãŠã®çµæ¶ã®åäœæž©åºŠç¯å²
ãããŠããã®ã·ãªãŒãºã®ç¬èªæ§ã¯ãæ瀺ãããç¹æ§ãšäŸ¡æ Œã®çµã¿åããã«ãããŸãã
äŸãã°
ãæå°æ§æãã«ã¯ã16 kBã®ãã©ãã·ã¥ã¡ã¢ãªãš1.25 kBã®RAMãæèŒãããããEFM8LB10F16E-B-QFN24ããããŸãã äŸ¡æ Œã¯0.54ãã«+ VATã§ãã QFP32ããã±ãŒãžã®EFM8LB10F16E-B-QFP32ã®ããæ±çšæ§ã®é«ãããŒãžã§ã³ã®äŸ¡æ Œã¯ã0.70ãã«+ VATã§ãã
ã·ãªãŒãºã®æãæ©èœçãªããŒãžã§ã³-EFM8LB12F64E-B-QSOP24-64 kBytesã®ãã©ãã·ã¥ã¡ã¢ãªã4.25 kBytesã®RAMãããã³4åã®DACãæèŒããäŸ¡æ Œã¯0.94ãã«+ VATã§ãã
1äžå°ã«åºã¥ãäŸ¡æ Œã 幎ããšã
ã·ãªãŒãºã®æãæ©èœçãªããŒãžã§ã³-EFM8LB12F64E-B-QSOP24-64 kBytesã®ãã©ãã·ã¥ã¡ã¢ãªã4.25 kBytesã®RAMãããã³4åã®DACãæèŒããäŸ¡æ Œã¯0.94ãã«+ VATã§ãã
1äžå°ã«åºã¥ãäŸ¡æ Œã 幎ããšã
4. EFM8ãŠãããŒãµã«ããŒã·ãªãŒãº
ã·ãªãŒãºã®ååã¯ããã®ã·ãªãŒãºã®ã¯ãªã¹ã¿ã«ã«è£ åãããŠããUSBã€ã³ã¿ãŒãã§ãŒã¹ã®ååã«ç±æ¥ããŠããŸãã
åç·ã®æ©èœã®äžããç¹å®ã§ããŸãã
- äœé»åã¢ãŒãã®USBããã€ã¹ã€ã³ã¿ãŒãã§ã€ã¹ã
- åäœæž©åºŠãšäŸçµŠé»å§ã®å šç¯å²ã«ããã£ãŠå€éšã¯ãªãŒããªãã§USBãæäŸããå®å®ããã¯ããã¯ãžã§ãã¬ãŒã¿ãŒã
- 5 Vé»å§ã¬ã®ã¥ã¬ãŒã¿> 3.3Vãè¿œå ã®é»å§ã¬ã®ã¥ã¬ãŒã¿ã䜿çšããã«USBãã¹ããã®ããã€ã¹ã®åäœãä¿èšŒããŸãã
- USB-BCS 1.2ä»æ§ã«åŸã£ãŠå é»åšã«æ¥ç¶ããããã®èªèæ©èœã
EFM8 Universal Beeã®USBã€ã³ã¿ãŒãã§ãŒã¹ã®äœé»åã¢ãŒãã¯ãã¹ã¿ã³ãã¢ãã³ããã€ã¹ãæäœããããã«å¿ èŠã§ãããçžäºã®é»åè² è·ãªãã§ããŒã¿ã亀æããå¿ èŠããããŸãã
äŸ¡æ Œã¯æ¥œããã§ã
æå°éã®å€éšã³ã³ããŒãã³ãïŒå€éšã¯ãªãŒãããã³é»å§ã¬ã®ã¥ã¬ãŒã¿ãªãïŒãåããããã€ã¹ã¯ãUSBã€ã³ã¿ãŒãã§ãŒã¹ã«å ããŠã8 kBã®ãã©ãã·ã¥ã¡ã¢ãªã2304ãã€ãã®RAMã12ãããADCãããã³ä»ã®EFM8ã·ãªãŒãºã«ãããå
žåçãªãã€ã¯ãã³ã³ãããŒã©ãŒãŠãããã
ãã¹ãŠã®EFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã«ã€ããŠè©±ããšãäžè¬ã«ãã¹ãã€ã©ãŒã®äžã®èŠçŽè¡šã§ã¯ã£ãããšãããããã«ããã¹ãŠã®ã·ãªãŒãºã®çµæ¶ã®ãå å¡«ããããªã飜åããŠããããšã«æ³šæã§ããŸãã
ãŸãããã¹ãŠã®ã·ãªãŒãºã®ãã€ã¯ãã³ã³ãããŒã©ãŒã«åºæã®å€ãã®éèŠãªæ©èœããããŸãã
- ããžã¿ã«åšèŸºæ©åšãå€éšç«¯åã«åãæ¿ããç®çãå€æŽããããšã«ãããããªã³ãåè·¯åºæ¿ã®èšèšã«ããçšåºŠã®æè»æ§ãæäŸããããžã¿ã«ã¹ã€ããïŒã¯ãã¹ããŒïŒã®ååšã
- æ§æå¯èœãªããžãã¯ã®ãããã¯ã®ååšãåãããã¯ã¯ãå€éšä¿¡å·ãšå éšåšèŸºã®ä¿¡å·ã®æ¥ç¶ãåããçµã¿åããããžãã¯ã®æ倧256åã®æ©èœãå®è£ ããå¯èœæ§ãæäŸããŸãã
- EFM8 Beeã䜿çšããŠè£œåãã·ãªã¢ã«åããã¿ã¹ã¯ãç°¡çŽ åãããåããã»ããµã®äžæã®128ãããIDã
- ãããã§å©çšå¯èœãªã€ã³ã¿ãŒãã§ã€ã¹ã®1ã€ã䜿çšããŠãã©ãã·ã¥ã¡ã¢ãªã«ããã°ã©ã ããããã©ãã·ã¥ããŒããŒã
Busy Beeããã³Sleepy Beeã·ãªãŒãºã®ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãå·¥æ¥çšæž©åºŠç¯å²ãšèªåè»çšããŒãžã§ã³ã®äž¡æ¹ã§æäŸãããAEC-Q100æšæºã®èŠä»¶ãæºãããŠããŸãã
ã±ãŒã¹ã¯éåžžã«ã³ã³ãã¯ãã§ã-æ倧ã®æ°Žæ¶ã¯48ãã³QFPããã±ãŒãžã§å ¥æå¯èœã§ãïŒ
家æããã³èšäºçªå·ã«ãã建ç©ã®å
èš³
ãŸãããããããæåã®è³ªåãEFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã®æ©èœã¯äœã§ããïŒãã«å¯Ÿããçãã圢æããããã®ãã¡ããªã®ã¯ãªã¹ã¿ã«ãèšèšã«äœ¿çšããããšã«ããéçºè ã®å žåçãªè³ªåã«çãå§ããããšãã§ããŸãã
EFM8çµæ¶ãç¶ãC8051FxxxãããEFM8ãå€§å¹ ã«å®ãã®ã¯ãªãã§ããïŒ
æ§é çã«ã¯ãEFM8ã¯C8051Fxxxã©ã€ã³ãç¶ç¶ããŠããŸãããèšèšåºæº-0.18ãã¯ãã³ãã€ãŸã C8051Fxxxããå°ããããã®ã»ãšãã©ã¯0.35ãã¯ãã³ãã¯ãããžãŒã䜿çšããŠè£œé ãããŠããŸãã ããã«ãããããããæ°ããèšèšåºæºã®äžã§ã¯ãC8051F7xxxãC8051F8xxãC8051F9xxã·ãªãŒãºãå©çšå¯èœã§ããããã®äŸ¡æ Œã¯ãã®ãã¡ããªã®åæ§ã®ãã®ãããäœããªã£ãŠããŸãã
ãŸããEFM8ã¯ãªã¹ã¿ã«ã®äœäŸ¡æ Œã¯ããã®ãã¡ããªãäºç®ã¿ã¹ã¯ã«äœçœ®ä»ããã¡ãŒã«ãŒã®æŠç¥ã®äžéšã§ãã
ã©ãããå§ããŸããïŒ
éžæãããã€ã¯ãã³ã³ãããŒã©ãŒã®äž»èŠãªæ©èœãè©äŸ¡ãã段éãããEFM8 Beeã®ãã¹ã¿ãŒãéå§ã§ããŸãã ããã¯ãåEFM8ã·ãªãŒãºã§å©çšå¯èœãªç¬èªã®ãããã°ããŒãã§å®è¡ã§ããŸãã ãããã®ããŒãã®ã³ã¹ãã¯ãVATãå«ããŠ45ãã«ãã55ãã«ã®ç¯å²ã§ãã
åããŒãã«ã¯ããã¡ããªãŒã®æãå€ããã€ã¯ãã³ã³ãããŒã©ãŒãã¯ãã ä»ãããããã®ãã€ã¯ãã³ã³ãããŒã©ãŒã®ãã¹ãŠã®ãªãœãŒã¹ãžã®ãã«ã¢ã¯ã»ã¹ãæäŸãããšãã¥ã¬ãŒã¿ãŒ/ããã°ã©ããŒãå®è£ ãããŠããŸãã
EFM8ããã³ç¬èªã®ãããã°ããŒãã䜿çšããéçºã®ã»ãšãã©ã®æ®µéã®ãœãããŠã§ã¢ããŒã«ãšããŠãçµ±åéçºãã©ãããã©ãŒã Simplicity Studioã䜿çšããããšãæé©ã§ãã ã³ã³ããŒãã³ãã®æŠèŠã¯ã YouTubeã®ãããªè³æã«èšèŒãããŠããŸã ã
éžæããæ°Žæ¶ãè©äŸ¡ããã«ã¯ãSimplicity Studioã§å©çšå¯èœãªãªãœãŒã¹ã®ããããã䜿çšã§ããŸãã
- åã ã®åšèŸºãããã¯ãšæ°Žæ¶ã®åäœã¢ãŒãã瀺ãããã«äœæãããæ¢è£œã®ãã¢äŸãããŒãã«ã¢ããããŒãããŸãã
- ãœãŒã¹ã³ãŒãã§å®æããäŸã䜿çšããå¿ èŠã«å¿ããŠä¿®æ£ããŸãã
- ã°ã©ãã£ã«ã«ã³ã³ãã£ã®ã¥ã¬ãŒã¿ã®æç¡ã«ãããããã ç¬èªã®ãããžã§ã¯ããäœæããŸã ã
䜿çšããéçºç°å¢ ç¡æã®Cã³ã³ãã€ã©ã¯ãããŸããïŒ
ã¡ãŒã«ãŒãæäŸããããŒã«ã¯ãäžèšã®Simplicity Studioéçºãã©ãããã©ãŒã ã§ãã ãããªãã¢ãèŠãåŸãããããã¹ã¿ãŒããã®ãã¯ããã«ç°¡åã§ãã
å·çã®æ¥ã«ãSimplicity Studioã®2ã€ã®ããŒãžã§ã³ãã¡ãŒã«ãŒã®Webãµã€ãããããŠã³ããŒãã§ããŸãïŒ ããŒãžã§ã³3ãšæ°ããããŒãžã§ã³4 ã ããŒãžã§ã³3ã®åŠç¿ã¯ããã»ã©é£ãããããŸãããããã®ã³ã³ããŒãã³ãã¯æŽæ°ãããªããªããããŒãžã§ã³4ã¯ãã¹ãŠã®æ°ãããœãããŠã§ã¢ã³ã³ããŒãã³ããšããã¥ã¡ã³ããçµ±åããŸãã Simplicity StudioããŒãžã§ã³4ã®æ°ãããªãªãŒã¹ããšã«ãäœæ¥ã®é£æ床ã¯äœäžããŠããŸãã
ä»»æã®ããŒãžã§ã³ã®Simplicity Studioãã€ã³ã¹ããŒã«ããåŸã ããŒãžã§ã³3ããã³ããŒãžã§ã³4ã®ãããªã«ç€ºãããŠããããã«ãå¿ èŠãªã³ã³ããŒãã³ããåã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã
ãã®çµæãSimplicity Studioã¯ãäœæ¥ã«å¿ èŠãªãã¹ãŠã®ã³ã³ããŒãã³ããšãšãã«ã€ã³ã¹ããŒã«ãããŸãã EFM8ã®å Žåãããã«ã¯8051ã¢ãŒããã¯ãã£ã®äºå®äžã®æšæºã§ãããããã§ãã·ã§ãã«Keilã³ã³ãã€ã©ãå«ãŸãããã®ã³ãã³ãã·ã¹ãã ã¯CIP-51 EFM8ãã€ã¯ãã³ã³ãããŒã©ã®ã³ã¢ã«çµã¿èŸŒãŸããŠããŸãã EFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã®ç¡å¶éã©ã€ã»ã³ã¹ã¯ãKeilã®Webãµã€ãã§ç»é²ãããšç¡æã§å©çšã§ããŸãã
Simplicity StudioããŒãžã§ã³3ã§ã©ã€ã»ã³ã¹ãååŸããã«ã¯ããã»ããã¢ããã¿ã¹ã¯ããã€ã¢ãã°ããã¯ã¹ã§EFM8 Beeã®ã³ã³ããŒãã³ããã€ã³ã¹ããŒã«ããåŸãç»é²ãã©ãŒã ã«ç§»åããå¿ èŠããããŸãã Simplicity Studioãã€ã³ã¹ããŒã«ããåã«ãKeilã®ã©ã€ã»ã³ã¹ãæ¢ã«ã€ã³ã¹ããŒã«ãããŠãããSimplicity Studioç°å¢ã«ãã£ãŠæ£åžžã«ããã«ã¢ããããããå Žåãããã¯å¿ èŠãªãå ŽåããããŸãã ãã§ãã¯ãšããŠããããžã§ã¯ãã®ã³ã³ãã€ã«ãéå§ããã³ã³ãã€ã©ã®åºåã確èªã§ããŸããæåŸã®è¡ã«ãC51 COMPILER V9.53.0.0-SNïŒxxxxx-xxxxxxããšãããšã³ããªãå«ãŸããŠããå Žåãã©ã€ã»ã³ã¹ã¯äžèŠã§ãã
Simplicity StudioããŒãžã§ã³4ã§ã¯ãSimplicity Studioå ã®ã³ã³ãã€ã©ãŒãæ¢åã®ã©ã€ã»ã³ã¹ãèŠã€ããããªãå Žåããããžã§ã¯ããæåã«ã³ã³ãã€ã«ãããšãã«ãã©ã€ã»ã³ã¹ãååŸããããã®ãã€ã¢ãã°ããã¯ã¹ã衚瀺ãããŸãã
ãããžã§ã¯ãå®è£ ã®ä»£æ¿ã¢ãããŒããšããŠãSilicon Labsã¯mbedãã©ãããã©ãŒã ã®äœ¿çšãæäŸããŠããŸããmbedãã©ãããã©ãŒã ã®æ©èœã«ã€ããŠã¯ãäŒæ¥ããã°ã§ä»¥åã«èª¬æããŸãã ã
ãœãããŠã§ã¢ã©ã€ãã©ãªãšã¯äœã§ããïŒ
ãã¹ãŠã®EFM8 Beeã·ãªãŒãºã®ã¯ãªã¹ã¿ã«ã«ã¯ãã¯ãªã¹ã¿ã«ã®å éšåšèŸºçšã®ãã©ã€ããŒãšãç¬èªã®ãããã°ããŒãã«ããã³ã³ããŒãã³ãããµããŒãããBSPãå«ãã©ã€ãã©ãªã®ã»ãããæäŸãããŠããŸãã
ãããžã§ã¯ãããŒãããäœæããããSimplicity Studioã®ãµã³ãã«ããããŠã³ããŒãããå Žåãææ°ããŒãžã§ã³ã®SDKïŒæ¢ã«è€æ°ããå ŽåïŒãéžæããå¿ èŠããããŸãããã®åŸããããžã§ã¯ãã«å¿ èŠãªã¢ãžã¥ãŒã«ãè¿œå ããã«ã¯ãSimplicity Studioã°ã©ãã£ã«ã«ã·ã§ã«ã®æ©èœã䜿çšããŸã-ããããã£ã®å¿ é ã³ã³ããŒãã³ãã®æšªã«ãããã§ãã¯ããã¯ã¹ããªã³ã«ããŸã[C / C ++ Build]> [Project Modules]ã»ã¯ã·ã§ã³ã®ãããžã§ã¯ã-ã¹ãã€ã©ãŒã®äžã®å³ã«ç€ºãããã«ã
ãããžã§ã¯ãã«EFM8 SDKã³ã³ããŒãã³ããè¿œå ããŸãã
SDKã®éžæããããŒãžã§ã³ã§äœ¿çšå¯èœãªãã¹ãŠã®ã³ã³ããŒãã³ãããªã¹ãã«è¡šç€ºããããã§ãã¯ããŒã¯ã«ãã£ãŠè¿œå /åé€ãããŸãã
SDKã®éžæããããŒãžã§ã³ã§äœ¿çšå¯èœãªãã¹ãŠã®ã³ã³ããŒãã³ãããªã¹ãã«è¡šç€ºããããã§ãã¯ããŒã¯ã«ãã£ãŠè¿œå /åé€ãããŸãã
EFM8 SDKã®ããã¥ã¡ã³ãã¯devtools.silabs.comãããªã³ã©ã€ã³ã§å ¥æã§ããŸãã
ãã€ã¯ããããããããã°ããŒã«ããœãããŠã§ã¢ã®ããã¥ã¡ã³ãã¯ã©ãã§å ¥æã§ããŸããïŒ
ãã£ã«ã¿ãªã³ã°ã«é¢ããããã¥ã¡ã³ãã®æãå®å šã§ææ°ã®ãªã¹ãã¯ãã¡ãŒã«ãŒã®ãŠã§ããµã€ãã§å ¥æã§ããŸãã ãã®ãªã¹ãã«ã¯ãEFM8ã·ãªãŒãºã®ã¯ãªã¹ã¿ã«ã ãã§ãªããå éšçµç¹ã«é¡äŒŒãããã€ã¯ãã³ã³ãããŒã©ãŒC8051Fxxxçšã«äœæãããããã¥ã¡ã³ããå«ãŸããŠããŸãã
䜿çšãããŠããããããšãããã°ãããã®ããã¥ã¡ã³ãã®æ€çŽ¢ã容æã«ããããã«ã補é æ¥è ã¯Simplicity Studioã·ã§ã«ããçŽæ¥ããããžã®ã¢ã¯ã»ã¹ãæé ããŸããã ããããå·çæç¹ã§ã¯ãããã«é¢ããŠããã€ãã®çä¿ããããŸãã
- Simplicity StudioããŒãžã§ã³3ã§ã¯ãããã¥ã¡ã³ããžã®ã¢ã¯ã»ã¹ãšãã®æ€çŽ¢ã䟿å©ã«æŽçãããããã¥ã¡ã³ãèªäœã¯ããŒã«ã«ã«ãããŸã-ã³ã³ãã¥ãŒã¿ãŒã®ããŒããã©ã€ãäžã«ãããŸãã éžæãããã€ã¯ããµãŒãããããã³ãããã°ãããã®ããã¥ã¡ã³ããã¢ããªã±ãŒã·ã§ã³ããã¥ã¢ã«ãããã³ãµã³ãã«ããã°ã©ã ã«ã¢ã¯ã»ã¹ããããã«ãSimplicity Studioã®ã¡ã€ã³ãŠã£ã³ããŠã«å¯Ÿå¿ãããã¿ã³ãçšæãããŠããŸãã ãã®ã¢ã¯ã»ã¹æ¹æ³ã«ã¯ãã€ãã¹ã1ã€ãããããŸãã-Simplicity Studioã®4çªç®ã®ããŒãžã§ã³ä»¥éã3çªç®ã®ããŒãžã§ã³ã®ããã¥ã¡ã³ãã¯æŽæ°ãããŠããŸããã
- Simplicity StudioããŒãžã§ã³4ã§ã¯ãSimplicity Studioã®ã¡ã€ã³ãŠã£ã³ããŠã®äžéšã«ããæ€çŽ¢ããŒã§ããã¥ã¡ã³ããæ€çŽ¢ããŸãã ããã¯ç°¡åãªæ¹æ³ã®ããã«æããŸãããå€ãã®äººã«ãšã£ãŠã¯æããã§ã¯ãããŸãã-æ€çŽ¢ãŠã£ã³ããŠã¯æ®ãã®ã³ã³ããŒãã³ããšã¯åŒ±ãåºå¥ãããŸãã ããã¯ã補é å ã®ãããªã§è©³çŽ°ã«ç¢ºèªã§ããŸãã æåã«å¿ èŠãªããã¥ã¡ã³ããéããšãã€ã³ã¿ãŒãããããããŠã³ããŒãããããã®åŸãããŒã«ã«ããŒãžã§ã³ã«ã¢ã¯ã»ã¹ã§ããŸãã
ã¬ã€ã¢ãŠãã§ãããžã§ã¯ãããããã°ããæ¹æ³ã¯ïŒ
ç¬èªã®ã¬ã€ã¢ãŠãã§ãããžã§ã¯ãããããã°ããã«ã¯ãEFM8ã·ãªãŒãºå°çšã®ãããã°ããŒãã䜿çšãããã55ãã«ã®ã€ã³ãµãŒããããšãã¥ã¬ãŒã¿ãŒ/ããã°ã©ããŒUSBãããã°ã¢ããã¿ãŒã䜿çšããŸããããã¯C8051Fxxxã¯ãªã¹ã¿ã«çšã«é·å¹Žè£œé ãããŠãããããã³ãã«å ¥ã£ãŠãããã®ããããŸãã
ã¢ããªã±ãŒã·ã§ã³ããã¥ã¢ã«AN124ã«åŸã£ãŠãä¿¡å·ç·ãæ£ããæ¥ç¶ããå¿ èŠããããŸãã
ããã§ãå€éšããã»ããµããããã°ããã«ã¯ãC2ãããã°ã€ã³ã¿ãŒãã§ã€ã¹ã®ä¿¡å·ïŒC2DãC2CKãããã³GNDã©ã€ã³ïŒãå¿ èŠã§ãã EFM8ã®ãªã»ãããã³ã¯ãåžžã«åæã«C2CKä¿¡å·ã©ã€ã³ã§ããããããI / OããŒããç¯çŽããããã«C2ã€ã³ã¿ãŒãã§ã€ã¹ãèšèšããæ¹æ³ã§ãã ã€ã³ã¿ãŒãã§ã€ã¹ãå®å®ããŠåäœãããã«ã¯ãæ¥ç¶ã¯ã€ã€ãã§ããã ãçãããå¿ èŠããããŸãã
ç¬èªã®ã¬ã€ã¢ãŠãçšã«é»æºãåçºæããªãããã«ããããã¬ãŒã®é»æºã©ã€ã³ã䜿çšã§ããŸã-USBãããã°ã¢ããã¿ãŒã«ã¯ã³ãã¯ã¿ãŒã®10ãã³ãã5Vãããããããã°ããŒãã«ã¯EXPã³ãã¯ã¿ãŒãã3.3Vãš5VããããŸãã
ç¬èªã®ãããã°ããŒãã䜿çšããŠç¬èªã®ã¬ã€ã¢ãŠãããããã°ããå Žåãå€éšããã»ããµã§åäœããããã«æ§æããå¿ èŠããããŸã-ãã®ãããSimplicity StudioããŒãžã§ã³3ã®Kit ManagerãŠãŒãã£ãªãã£ãŸãã¯ãããã°ã¢ãŒãã»ã¯ã·ã§ã³ã®Simplicity StudioããŒãžã§ã³4ã®ã¡ã€ã³ãŠã£ã³ããŠã§OUTã¢ãŒããèšå®ããå¿ èŠããããŸã-LEDãç¹ç¯ããã¯ãã§ãDBGã³ãã¯ã¿ã®é£ã
ç¬èªã®ã¬ã€ã¢ãŠãã§EFM8ãã€ã¯ãã³ã³ãããŒã©ãŒãæäœããå¥ã®éæšæºçãªæ¹æ³ããããŸã-ãããã°çšã«ããã€ã¯ãã³ã³ãã¥ãŒã¿ãŒã®C2Dããã³C2CKä¿¡å·ããããã°ããŒãäžã®Debug Outã³ãã¯ã¿ãŒã®7ããã³9ãã³ã«æ¥ç¶ããé»æºç·ãšå ±éã¯ã€ã€ãæ¥ç¶ããããšã«ãããEFM32ãã€ã¯ãã³ã³ãããŒã©ãŒçšã®ç¬èªã®ãããã°ããŒãã䜿çšããŸããã®ã³ãã¯ã¿ã®VTARGETããã³GNDã©ã€ã³ã 次ã«ãDebugïŒOUTã¢ãŒãã§ãããã°ã«ãŒããæ§æããæ¥ç¶ããããã£ã§ã¿ãŒã²ãããã€ã¯ãã³ã³ãããŒã©ãŒãæåã§æå®ããå¿ èŠããããŸãã
ç¬èªã®ãããã°ããŒããæ£ããæ©èœããŸããã ããã»ããµãšéä¿¡ã§ããŸããã ã©ããã
EFM8ã®ãããã°ããŒãã®åäœã«ãããåé¡ã®äž»ãªåå ã¯ããããã°ããŒãã®å€ãããã¡ãŒã ãŠã§ã¢ãã§ãã æŽæ°ããã«ã¯ä»¥äžãå¿ èŠã§ãïŒ
- Simplicity Studioã®ããŒãžã§ã³3ã§ã¯ãããããããŒãžã£ãŒãå®è¡ããããŒãã®ãã¡ãŒã ãŠã§ã¢ãæŽæ°ããããã«ç³ãåºãåŸãåæããŸãã
- Simplicity Studioã®ããŒãžã§ã³4ã§ã¯ãã¡ã€ã³ãŠã£ã³ããŠã®äžéšã«çŸåšã®ãã¡ãŒã ãŠã§ã¢ããŒãžã§ã³ã衚瀺ããããã®é£ã«ææ°ããŒãžã§ã³ãããŠã³ããŒãããããã®ãªã³ã¯ã衚瀺ãããŸããããŠã³ããŒãåŸãæ°ãããã¡ãŒã ãŠã§ã¢ããŒãžã§ã³ãããå Žåã¯ãããŒãäžã§æŽæ°ããããã«ææ¡ãããŸãã
ããŒããšã®éä¿¡äžè¶³ã¯ããã¡ãŒã ãŠã§ã¢ã®éåã瀺ããŠããå¯èœæ§ããããŸãã ãã®å Žåã EFM8ããã³EFM32ãã€ã¯ãã³ã³ãããŒã©ãŒçšã®ãã©ã³ãåãããããŒãã®ãå掻æ§åãã®æ瀺ã«åŸã£ãŠãããŒããåæåãããã¡ãŒã ãŠã§ã¢ãæŽæ°ããå¿ èŠããããŸã ã
ããŒããšã®æ¥ç¶ã¯ããããããŒãäžã®ãã€ã¯ãã³ã³ãããŒã©ãŒãšã®æ¥ç¶ã確ç«ã§ããªãå Žåãåå ã¯ãã€ã¯ãã³ã³ãããŒã©ãŒå ã®ããã°ã©ã ã§ããå¯èœæ§ããããé»æºããªã³ã«ããçŽåŸã«ãããã»ããµãŒããããã¬ãŒã®èŠæ±ã«å¿çã§ããªãç¶æ ã«ãªããŸãã ããšãã°ããã€ã¯ãã³ã³ãããŒã©ãŒããã£ãŒãã¹ãªãŒãã¢ãŒãã«ããããã¯ããã¯èšå®ã誀ã£ãããããšãããã»ããµãŒã§ã®ãããã¬ãŒã®é害ã«ã€ãªãããŸãã ãã®å Žåã«ãã€ã¯ãã³ã³ãããŒã©ãŒãåèµ·åããã«ã¯ã USBãããã°ã¢ããã¿ãŒãå¿ èŠã§ãã ã¢ã¯ã·ã§ã³ã®ã¢ã«ãŽãªãºã ã«ã€ããŠã¯ã community.silabs.comã®ãã¬ããžããŒã¹ã§èª¬æãããŠããŸã ã
Simplicity StudioãUSBãããã°ã¢ããã¿ãŒã䜿çšããŠæ¶å»ã«å€±æããå Žåã¯ã Flashããã°ã©ãã³ã°ãŠãŒãã£ãªãã£ã¢ããªã±ãŒã·ã§ã³ã§ãããè¡ãããšãã§ããŸããFlashã®[æ¶å»]ã¿ãã§ããã©ãã·ã¥ã¡ã¢ãªã®å å®¹å šäœãæ¶å»ããæäœãå®è¡ããå¿ èŠããããŸã ã ãã®ããã°ã©ã ã®æ¶å»æ©èœã®ã¢ã«ãŽãªãºã ã¯ãEFM8ããã³C8051Fxxxã®ä»ã®ã¢ããªã±ãŒã·ã§ã³ãããä¿¡é Œæ§ãé«ãæ©èœãããã€ã¯ãã³ã³ãããŒã©ãŒãæ·±ããã³ããç¶æ ããåãé€ãããšãã§ããŸãã
äœãïŒãã¹ãŠãäœããç§ã¯äœãç解ããŠããªãïŒãç§ã®ããã«åããŠããŸãã 質åãžã®åçãæ¢ãã«ã¯ïŒ
EFM8ãã€ã¯ãã³ã³ãããŒã©ãŒã®å Žåãæ倧éã®æ å ±ã¯ãcommunity.silabs.comã®è£œé æ¥è ã«ãã£ãŠçµç¹ãããã³ãã¥ããã£Webãµã€ãã§èŠã€ããããšãã§ããŸãã ããã«ã¯ãã¡ãŒã«ãŒã®ç¥èããŒã¹ãšã ãã€ã¯ãããããšãœãããŠã§ã¢ã«é¢ãããŠãŒã¶ãŒããã®è³ªåãžã®åçã®äž¡æ¹ããããŸã ããããã¯ããšãããã¡ãŒã«ãŒã®ãã¯ãã«ã«ãµããŒãã¹ã¿ãããåçããŸãã
EFM8ãã€ã¯ãã³ã³ãããŒã©ãŒã倧éçç£ã§ããã°ã©ã ããæ¹æ³ã¯ïŒ
å°èŠæš¡ãªäžé£ã®ãã€ã¯ããµãŒãããã®ããã€ã¹ã®ãªãªãŒã¹ã«ãããã€ã³ãµãŒããããšãã¥ã¬ãŒã¿ãŒ/ããã°ã©ããŒDEBUGADPTR1-USBã䜿çšããŠå®æåãããã°ã©ã ã§ããŸããè²»çšã¯55ãã«ã§ãã ãœãããŠã§ã¢ã·ã§ã«ãšããŠãäžé£ã®ãŠãŒãã£ãªãã£Flash Programming UtilitiesãŸãã¯Production Programmerã䜿çšã§ããŸãã Flashããã°ã©ãã³ã°ãŠãŒãã£ãªãã£ã¯ãå®æããã·ã§ã«ã®ã°ã©ãã£ã«ã«ã¢ãŒããŸãã¯ã³ãã³ãã©ã€ã³ã¢ãŒãã§åäœã§ããŸããããã¯ã.batãã¡ã€ã«ã«é 眮ãããããã°ã©ãã³ã°ã¹ã¯ãªãããäœæããå Žåã«äŸ¿å©ã§ãã
ããã°ã©ããŒã®å®äŸ¡ãªããŒãžã§ã³ãšããŠãäžèšã®ããã°ã©ããŒã®ãªãŒãã³ãšã³ãããŒãžã§ã³ã§ããToolstickBAã䜿çšã§ããŸããããã¯ãVATãå«ããŠ30ãã«ã®äŸ¡æ Œã§è³Œå ¥ã§ããŸãã ããã«ãããåãå€ãå¯èœãªæ¥ç¶ãããã«çµæžçã«å®è¡ã§ããŸãã ãã®ããã°ã©ãã«ã¯ãšã³ãã³ãã¯ã¿ããããè¿œå ã®ã³ãã¯ã¿ãªãã§å¯Ÿå¿ããã³ãã¯ã¿ãããªã³ãåºæ¿äžã«æäŸã§ããŸãã
ãããçç£éã®å Žåãããã°ã©ãã³ã°ãªãŒããŒãããã®åŽåãšã³ã¹ãã劥åœãªå€ãè¶ ããå ŽåãSilicon Labsã®ã·ãªã³ã³ããã°ã©ãã³ã°ãµãŒãã¹ã䜿çšã§ããŸãã 5000åããã®ãããã®ãµãŒãã¹ã®ã³ã¹ãã 0.06 $ /åã§ãã -0.1 $ /å ãã©ãã·ã¥ã¡ã¢ãªã®éã«å¿ããŠãVATãå«ãŸããŸãã
ãŸããEFM8ãã€ã¯ãã³ã³ãããŒã©ãŒã«ã¯ããŒãããŒããŒãçµã¿èŸŒãŸããŠããããšãèŠããŠããå¿ èŠããããŸããããŒãããŒããŒã§ãµããŒããããŠããã€ã³ã¿ãŒãã§ã€ã¹ãæ¥ç¶ããããã®ã³ãã¯ã¿ãŒã補åã«ããå Žåãçµã¿ç«ãŠããã補åã®æçµãã¹ãã®åã«ãããã°ã©ããŒãªãã§ãã€ã¯ãã³ã³ãããŒã©ãŒã®ããã°ã©ãã³ã°ãç·šæã§ããŸãã ããŒãããŒããŒã®åäœã«é¢ãã詳现ã¯ã AN945ããã³ãã®ãœãããŠã§ã¢ã®ã¢ããªã±ãŒã·ã§ã³ããã¥ã¢ã«ã«èšèŒãããŠããŸã ã
ãããŠãå€å žçãªæ¹æ³ãæ®ã£ãŠããŸã-ãã©ã¬ã«ããã°ã©ããŒã䜿çšããŠããã€ã¯ãããããããŒãã«ã€ã³ã¹ããŒã«ããåã«ããã°ã©ã ããŸãã Fiton ChipProgã·ãªãŒãºããã°ã©ããŒã¯ãEFM8ãã€ã¯ãã³ã³ãããŒã©ãŒã®å šã©ã€ã³ããµããŒãããŠããŸãã
ããã¯ããããããEFM8 Beeãã€ã¯ãã³ã³ãããŒã©ãŒã§äœæ¥ãéå§ããã»ãšãã©ã®éçºè ã«çããäž»ãªè³ªåã®å šãªã¹ãã§ãã ãã®ä»ã®è³ªåã¯ãETFäŒç€Ÿã®å°é家ãŸãã¯ãŠã§ããµã€ãcommunity.silabs.comã§èªåèªèº«ã®çããèŠã€ããããã«å¯ŸåŠã§ããŸãã