Cypress FM3 Series 빠른 시작 매뉴얼 - 페이지 15

{카테고리_이름} Cypress FM3 Series에 대한 빠른 시작 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Cypress FM3 Series 17 페이지. 32-bit arm cortex - m3 washing machine evaluation board
Cypress FM3 Series에 대해서도 마찬가지입니다: 매뉴얼 (14 페이지)

Cypress FM3 Series 빠른 시작 매뉴얼
/** UI_0201 ADC port and coefficient set */
#define
CLK_XTAL_FREQ
#define
CLK_SYS_FREQ
#define
APB0_CLK_DIV
#define
APB1_CLK_DIV
#define
APB2_CLK_DIV
#define
ADC_VDC_FACTOR
#define
ADC_VOLT_REF
#define
ADC_VALUE_MAX
#define
ADC_CH_VDC
#define
ADC_CH_IU
#define
ADC_CH_IV
The DC Bus voltage sample factor of Demo Board is 21.4.
Hall I/O and Pin set
The macro definition '
HALLSENSOR
/** UI_0202 configure hall I/O and Pin
#define
HALLSENSOR
/** UI_0303 configure hall I/O and Pin
#define
HALL_A_PORT
#define
HALL_A_PIN
#define
HALL_A_TIMER
#define
HALL_A_TIMER_CH
#define
HALL_B_PORT
#define
HALL_B_PIN
#define
HALL_B_TIMER
#define
HALL_B_TIMER_CH
#define
HALL_C_PORT
#define
HALL_C_PIN
FM3 Family Math and Motor Control Library Quick Start Guide, Doc. No. 002-04766 Rev. *A
4
// MHz
9
// System clock frequency = (CLK_XTAL_FREQ * (CLK_SYS_FREQ + 1))
APBx_CLK_DIV0
APBx_CLK_DIV0
APBx_CLK_DIV0
21.4
5.0f
// Reference voltage for ADC
4096.0f
// 12-bits ADC
ADC_CH_2
// ADC channel - Vdc
ADC_CH_1
// ADC channel - Iu
ADC_CH_0
// ADC channel - Iv
' must be set to 'FALSE' when the motor is sensor-less.
*/
TRUE
//HALL sensor correct
*/
PORT4
//Port 4
PIN9
//P49
BT_CH_0
//timer 0
0
//timer 0_0
PORT4
//Port 4
PIN10
//P4A
BT_CH_1
//timer 1
0
//timer 1_0
PORT6
//Port 6
PIN1
//P61
//
//
//
Appendix
15