-
N76E003有没有山寨的
我发现同样的程序IO口上拉电流不一样,和其它芯片模拟通信不太正常。怀疑是山寨的两个通信IO口电压是4.8V,官方购买的两个IO口都是2.5V.
603浏览量 1回复量 关注量 -
N76E003的PWM可以分开控制吗
我需要用到2路PWM,能否分开使能,独自运行?[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiAAAAAiCAYAAABm3mI+AAAfD0lEQVR4Ae2dB7QUxbaGMWfMCcGMgIIKiCISFBEQlWzOCVFUxISKATCAihhBMQeCARNmMWAOiCDmnBDB8PLz3utT6q2vzvl77Wkm9vTMHM70WatXdfdUV9fetbv2XzvUadCwYUPXoEEDN3jwYJf8ReNAy5Yt3dixY6M9XKKnlixZUnTLf/zxx1Jt/PXXXyn3eM+ff/6Zco+Lv//+e6l76W788ssv6W5nvJeuTxkr1/Efpk6d6po0aVLHe5lf96CFuST5SziQcCDhQJgD/fv3d71793bTp09P+alBAkBS+BHpoi4CkEiEJA+VlQMJACkru5OXJRxIOFAhDsyYMcONGzduaQDStm1b17x5czd06FA3Z86c5IjAg+7du7vRo0cnvIvAu2qWuYkTJ7qOHTvWC7mBFuaSahzPefPmublz51Yl7dnGG57Am2x16vNv1Ui7vgOVucY3sIB06tTJu2JwxyRHYTxo2rSp69KlS8K3RHYKkoEOHTq4Ro0aFfRMXf02oUXW1Lrax1L1i2+/VatW9WIc4+QRsl3NeqVdu3ZVJxPoQmQo73mtRYsW3g992pAh7qt33kmOCDzo3LGju/TiixPeReBdNcvcpPHjvdWgPvAAWpo1a1bzDcyeXR3fwnvveTrPO+ss12vffWtorr1XH8Y0Mg3vv+95gUVs/JgxNXyZM6emrO9zRC2djRs3dpNvu62G5mr5HmbPdjMfesjjiTdnzvS0f/3uu1nHPbCADB40yLmFC5MjAg9abr+9u+KSSxLeReBdNcvclJtvrglCrQd8gxYfhLpwoVuyeHFVfAui89xhw1yH3Xf3NC/59deqoD3bd7uEwPKFC71sTxg3rqr4ItqxAjw5bVoN7VX0Pcx/8U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n4lAGShj/7HrGz/aSHWElb6KFIrKxaAENBHVgPxGdTJBkD4nWBFrCYKXmQVTJwAVhAUF8+TTUEsit4ZBiBYSMgekZWEFR91wzuh6vmoJa4jVuf0SYeCromLgV8EbX88a5bPGMIdRb/I6sDKBIhCudr3o/Sw3OCOoU1cGJQEb+LCINUUMBfH/90pBwAh8wc+wCfRiWVIbhuUs+5bAAIfkBtSYPm9nACE95FFSIAsGYjs4UIMCxlcZCryOzJOMLHGnVLfRrrsrrBc5wNASsE7+p5YQBILSPDRIRDJUbd5UJ8BCMGh+NGVvZRJFgEC+O5ldfAT2U8/+f9PI/eHnsWVov/mChhgTxe5aFCsAg/UsbEjeh5FiwkcpcM9lDlp3bgoUEjsLmw3q2KlbFOCeYb0d+hi4i8VACGrx8YgcI4FQ3SwYR8WHaxHKLNzTjkl2PoAxSYzveqrxCoCAINXtn2sSewSTVyE6hZTFgtASEmV0s3UD/oKDTYdl7qMIa4O+xx7PtnYC1KZta2B5BR3Htkoii2yzxdyLtoBqen2AcECx4aZ/H8mwBLyZ+UcGbdjwznjQx/yketK8Y7+JQCkQko3sYDUbUVfyARSzrr1GYCUk4+VelepAEil6InrvVLCUWNA4upHJdoR7ZkASCX6VK53JgAkASApyL9cgpe8JxoASwBINL7VFXlLAEj68ZMSTgDIND8fS07qityWqh+RAEiPHj1cly5d3KBBg9yYkSOTIwIP+vbp44aeemrCuwi8q2aZG05UfK9e9UJuoKVbt26elrGjRtULmnLJpugcMniwO3DgwBraR4+uCtqz8qZ2/JHts884oyplokvnzu7C4cOrjvZRI0Z4PHFZrS7QN5JJXhq0bdvWNW/e3PXr18+1adMmOSLwoHPnzm7gwIEJ7yLwrpplrn///q59+/b1Qm6gpXXr1vWClkJlcsCAAR58Ffpcfa+PbFfrvIhO7du3b9V9Dz179vR4omvXrnnR/v8RhBEz1FSsIgAAAABJRU5ErkJggg==[/img] 这里的PWMRUN是控制所有PWM的吧?
4954浏览量 4回复量 关注量 -
关于N76E003不能在KEIL在线调试时不能实时查看变量。
关于N76E003不能在KEIL在线调试时不能实时查看变量。 是不是N76E003不支持全速运行时查看的/
706浏览量 1回复量 关注量 -
谁能帮我看看n76e003可调电源的程序
开机后oled上ADC电压值有变化,旋转编码器后,oled就显示一个值没有变化 #include
#include "N76E003.h" #include "Common.h" #include "Delay.h" #include "SFR_Macro.h" #include "Function_Define.h" #include "oled.h" #include "bmp.h" UINT8 temp=0xD7; UINT8 temp1=0x02; void ADC_ISR (void) interrupt 11 { if(ADCF) { clr_ADCF; set_ADCS; //printf ("\n Value = 0x%bx",ADCRH); } } void show() { uint16_t BandGap_H, BandGap_L,BandGap_v; uint16_t voltage = 0; char aa[10]; float v; BandGap_H = ADCRH; BandGap_L = ADCRL; BandGap_v = BandGap_H << 4 | BandGap_L; v=(float)BandGap_v*(3.3/4096); v*=10; sprintf(aa,"%5.2f",v); OLED_ShowString(0,0,aa); } void main (void) { // unsigned char t; // uint16_t BandGap_H, BandGap_L,BandGap_v,temp; // uint16_t voltage = 0; // // char aa[10]; // float v; Set_All_GPIO_Quasi_Mode; // Define in Function_define.h P17_Input_Mode; P30_Input_Mode; set_EPI; clr_PIPS1; set_PIPS0; Enable_BIT7_RasingEdge_Trig; Enable_ADC_AIN2; // Enable AIN0 P1.7 as ADC input set_EADC; // Enable ADC interrupt (if use interrupt) set_EPWM;//?? PWM_INT_PWM4; PWM_FALLING_INT; PWM4_P01_OUTPUT_ENABLE; clr_PWMTYP;//?????? clr_PWMMOD0;//????????? clr_PWMMOD1; PWM_CLOCK_DIV_8;//8???? PWMPH = 0x07; //Setting PWM value PWMPL = 0xCF; set_SFRPAGE;//PWM4 and PWM5 duty seting is in SFP page 1 PWM4H = 0x02;//500(Dec) PWM4L = 0xD7; clr_SFRPAGE; set_LOAD; // PWM run set_PWMRUN; set_EA; set_ADCS; InitialUART0_Timer3(115200); set_CLOEN; OLED_Init(); //³õʼ»¯OLED // t=' '; while(1) { show(); Timer0_Delay1ms(300); } } void PWMISR() interrupt 13 { if(PWMF)//???????? { clr_LOAD;//???????? clr_PWMF;//??PWM????? set_SFRPAGE;//PWM4 and PWM5 duty seting is in SFP page 1 PWM4H=temp1; PWM4L=temp; clr_SFRPAGE; set_LOAD;//????,???? clr_PWMF; } } void PinInterrupt (void) interrupt 7 { if(PIF==0x80&&P17) { Timer0_Delay1ms(1); if(P17) { if(P30) { temp+=30; if(temp<30) { if(temp1==7){temp=0xc0;}else{temp1+=1;}} //Timer0_Delay1ms(500); } else{ temp-=30; if(temp<30){ if(temp1==0){temp=0x30;}else{temp1-=1;temp=0xff;}} //Timer0_Delay1ms(500); } } } PIF=0; PWMF=1; } 877浏览量 4回复量 关注量 -
N76E003的P02(CLK)引脚上拉问题
使用N76E003做了一些产品,P02配置为上拉模式,P02_Quasi_Mode;//准双向口 P02=1;//弱上拉,且端口悬空,没有接任何外围电路,主要用于将该引脚拉低时进入指定程序模式。现在发现P02引脚电压有时5V,有时3V左右,不是应该一直为5V吗?怎么会出现上述问题呢?烦请指点,谢谢!
1011浏览量 3回复量 关注量