Search found 2 matches
- 27 Feb 2018, 16:00
- Forum: Nuvoton 8051
- Topic: Nuvoton 8051 watch dog issue.
- Replies: 0
- Views: 17711
Nuvoton 8051 watch dog issue.
My mcu is N76E003. I fused config bit for watch dog enable. I programmed the below. if((WDCON|~SET_BIT3)==0xFF) { clr_WDTRF; } if((WDCON|~SET_BIT5)==0xFF) { clr_WDTF; } clr_WDTEN; set_WDCLR; //Clear WDT timer // while((WDCON|~SET_BIT6)==0xFF); //confirm WDT clear is ok before into power down mode if...
- 25 Feb 2018, 18:24
- Forum: Nuvoton 8051
- Topic: Nuvoton 8051 Pwm issue.
- Replies: 1
- Views: 18280
Nuvoton 8051 Pwm issue.
My mcu is N76E003.
I need two pwm mode(periode).
One is 50% duty in 1khz for fan.
The other is 50% in 2.7khz for buzzer.
Is it possible?
I need two pwm mode(periode).
One is 50% duty in 1khz for fan.
The other is 50% in 2.7khz for buzzer.
Is it possible?