Häufig gestellte Fragen
- M051-Base-Serie(95)
- M0518-Serie(97)
- M0519-Serie(43)
- M0564-Serie(1)
- Mini51-Base-Serie(90)
- Nano100/102-Base-Serie(101)
- Nano103-Base-Serie(10)
- Nano110/112-LCD-Serie(100)
- Nano120-USB-Serie(111)
- Nano130-Advanced-Serie(110)
- NUC029-Serie(94)
- NUC100/200-Advanced-Serie(102)
- NUC120/122/123/220-USB-Serie(116)
- NUC121/125-Serie(1)
- NUC126-USB-Serie(2)
- NUC130/230-CAN-Serie(103)
- NUC131-NUC1311-CAN-Serie(98)
- NUC140/240-Konnektivität-Serie(114)
よくある質問
How to modify the setting value of external crystal (HXT) for the NuMicro® series chips during programming? 日付:2016-05-17
Taking the Nano100B for example, the clock source supported by each chip is defined in the ”system_Nano100Series.h” file. The default external crystal is 12 MHz. If an external crystal used by a user is changed to 8 MHz, the relative constant definition must be modified accordingly. Please refer to the following modification in bold:
Before the modification:
…
/*-----------------------------------------------------------
Define SYSCLK
*---------------------------------------------------------*/
#define __HXT (12000000UL)
#define __LXT (32768UL)
#define __HIRC12M (12000000UL)
#define __LIRC (10000UL)
#define __HIRC __HIRC12M
#define __HSI (__HIRC12M) /* Factory Default is internal 12MHz */
…
=============================================================
After the modification:
…
/*-----------------------------------------------------------
Define SYSCLK
*---------------------------------------------------------*/
#define __HXT (8000000UL)
#define __LXT (32768UL)
#define __HIRC12M (12000000UL)
#define __LIRC (10000UL)
#define __HIRC __HIRC12M
#define __HSI (__HIRC12M) /* Factory Default is internal 12MHz */
…
| 製品: | マイクロコントローラ ,Arm Cortex-M0 MCU ,Arm Cortex-M4 MCU |
|---|---|
| アプリケーション: | |
| 機能: | Peripherals,Clock Control,HXT,Software and Tools,Development-Environment,BSP Software Library |