| 전자부품 데이터시트 검색엔진 |
|
ZAMC4100GA2R 데이터시트(PDF) 69 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
ZAMC4100GA2R 데이터시트(HTML) 69 Page - Renesas Technology Corp |
|
69 / 156 page ![]() ZAMC4100 Datasheet © 2016 Integrated Device Technology, Inc. 69 January 26, 2016 Register PWMDREN contains local bits for enabling the PWM control for each half-bridge or high-side driver. When all bits of PWMDREN are 0 (power-on-reset value), there is no driver using PWM control. In this case, the PWM module is automatically disabled even if PWMDCFG is not 0. 3.10.2. PWM Signal Generation The PWM module is enabled when at least one bit of the PWMDREN register is set (see section 3.10.3). In that case, a signal with an adjustable frequency and duty-cycle is generated at the output of the PWM module (see Figure 3.16). Figure 3.16 PWM Output Signal PWMDCFG PWMFCFG PWM signal PWMDCFG PWMFCFG The PWM frequency is configured via register PWMFCFG and is calculated using the formula: [ ] 255 : 0 ] [ , ] 1 [ 256 ) 80 / ( ∈ → + × = PWMFCFG Hz PWMFCFG Fosch PWMfreq The value of PWMFCFG determines the division ratio of the PWM prescaler (see Figure 3.15). The prescaler determines the speed of incrementing the PWM counter value from 0 to 255, i.e. the duration of the PWM period. Setting a minimum value for PWMFCFG provides a maximum PWM frequency of approximately 976Hz. Each time the counter crosses zero, the following procedure is executed: 1) The comparator (PWM) output is set to high (if PWMDCFG = 0, the output is not set) 2) The PWM duty-cycle value from register PWMDCFG is latched to the shadow register (see Figure 3.15). The PWM output stays high as long as the counter value is less than the value configured in register PWMDCFG. When counter’s value matches the value of PWMDCFG, the comparator (PWM) output is cleared. This is the end of the PWM duty cycle. The PWM duty cycle is calculated using the following formula: [ ] 255 : 0 PWMDCFG [%] , 100 256 ] PWMDCFG [ PWMdc ∈ → × = A duty-cycle of 50% is achieved by writing the value 128DEC in register PWMDCFG. Writing 0 to PWMDCFG produces a continuous low level at the output of PWM module. The maximum PWMDCFG value 255DEC produces a duty-cycle of 99.6%. Note: In order to have a continuously enabled driver (i.e. duty-cycle of 100%), the MCU should clear the corresponding PWM enable of register PWMDREN. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |