/2016MOVWF T2CON;04/22/2016 DGA01010101DGA01MOVW0x0C;04/22/2016 D0101010101DGA2016 MOVWCCCCPR1L
2019-10-14 13:41
做毕设需要变压器DGA故障样本集。低温,中温,高温,局部放电,火花放电,电弧放电
2019-04-02 13:15
由于设计上的需要,我想寻找一款ad转换芯片。我这边采集的信号的1.4兆赫兹和12兆赫兹的交流信号。峰峰值1.4v,最大值为3.2v左右。还望大家帮忙推荐下。我这边是做医疗电子的
2018-08-20 07:36
本文主要介绍一款基于AD8260的数字分析仪前端模块的设计方法。
2021-04-22 07:06
AD9856是什么工作原理?AD9856的基本特性和技术指标AD9856在PD雷达回波模拟器中的应用
2021-04-20 06:01
随着多种通信标准广泛共存,越来越多的无线通信设备需要满足多频段、高带宽要求,这给系统设计,特别是射频电路设计带来极大的挑战。受制于半导体技术制约以及射频技术本身的复杂性,高性能、宽带射频集成电路的设计实现通常难度非常大,射频器件在满足高带宽、低噪声、无杂散动态范围等关键技术指标上常常左支右绌。而混频器作为射频电路设计的关键器件之一,无疑是典型代表。
2019-07-05 06:42
12F63FoSC 8MHZI是一个C程序员,有29年的经验。这12F63是迄今为止我做过的最小的设备。附加固件是在XC8上用专业许可证开发的。它使用了97%的可用内存。在过去的3-4个星期里,我已经分配了很多东西来获得更多的空间。我已经用完很多次空间了,我把自己累坏了。我不能重新汇编整个项目-但我可以评论OutC代码行,并替换在线装配,以节省一些空间在这里和那里。如果你有一个XC8 PRO许可证,并编译了这个方法,并找到了一些方法来实际获得一些代码空间,我会欣赏一个消息。这个固件工作很复杂。它具有双向软UART,因此12F可以与另一微控制器集成。这是200000个微型逆变器已经制造和部署给业主的公司倒闭了。这个固件是非常复杂的。我花了6个月的时间才把它开发出来,它能工作。如果我能获得5到10%的代码空间,而不放弃当前编译的特性,那就太好了。也许还有一些事情可以做?我知道ASCII字符串占用代码空间——我从EPROM表中获取大部分代码空间。也许有人会看到一些可以获得更多空间的东西?此外,它的价值。我也有XC18编译器,但从来没有花时间看看它是否会编译得更好。我假设XC8是为那些像12F63这样的小芯片制造的。但如果你知道一些东西,我不想大声说出来。我还想指出一些关于ISR HANDER的事情,它正在把函数调用到另外3个子例程中。这些子例程不是出于两个原因而编排的。一个是它更容易阅读代码的方式。两个我测试了代码内联,它的大小差别不大。因为这个代码工作得不到任何好处,把它内联起来,用回传指令消除3个函数调用——代码空间是百分之一的1/2——如果我真的绝望了,那么我将使它内联。任何有用的反馈都会被赏识。丹尼斯路易斯密苏里美国 以上来自于百度翻译 以下为原文 12F683 FOSC 8mhzI'm a C programmer with 29 years experience this 12F683 is by far the smallest device I have ever done C work on.The attached firmware was deveoped on XC8 with a professional license. It uses 97% of available memory.Over the last 3-4 weeks I have already done allot of things to get more space.I have run out of space so many times that I have worn myself out cutting corners.I cant recode the whole project in assembly- But I can comment out C code lines and replace with in line assembly to save some space here and there. If you have an XC8 pro license and have compiled this and have found ways to actually gain some code spaceI'd appreciate a message with the changes. BTW this firmware works and is quite complicated.It has a bi directional soft UART so the 12F can be integrated with another micro controller.This is for 200,000 micro inverters already manufactured and deployed to home owners by a company that went out of business.This firmware is by far very complicated. It took 6 months of time to get this developed and it works. If I can gain 5 to 10% more code space without giving up the current features compiled in that would be nice.Maybe there are a few things that can be done?I know Ascii strings eat up code space - I'm getting most of them from an EPROM table.Maybe somebody will see some things that can gain some more space? Also, for what its worth.I also have the XC18 compiler but have never taken the time to see if it will compile any better.I am assuming the XC8 is made for these really small chips like the 12F683.But if you know something I don't please speak up. I would also like to point out something about the ISR handerIt is making function calls to three other sub routines.Those sub routines are not compiled inline forfor two reasons.One is its easier to read the code the way it is.Two I tested with the code inline and it made little difference in size.Since this code works great its not going gain anything putting it inline to eliminate 3 function calls with return instructions - The code space is 1/2 of one percent -If I get really desperate then I will make it inline. Any helpful feedback would be appreciated. DanSt Louis Missouri USA Attachment(s)LV_B_40.zip (91.98 KB) - downloaded 59 times
2018-12-28 15:47