;CypMaveScCub();CyPmSleep(PMYSalePyTimeNo.NO,PMSLePiSrScCuOne PPS);}}这不正是我希望当我一步走过,但全速奔跑,就像OPPS中断点不着火。的rtc_start()和rtc_enable()功能在初始化为。像这样的事情是显而易见的。有人看到我的错误
2019-09-05 12:23
问候语,我在协调I2S音频协议方面遇到了一些麻烦。我所能找到的所有帮助文件都显示I2S应该是驱动程序下的选项,但是它不在那里。但是,在SPI驱动程序下,I2S使用的是什么,我可以将它设置为DVVISPIXPROSTOLL Type Type音频。接下来的两个选项显示为粉色,提示错误。单击按钮生成代码工作,但如果我试图构建项目(仅用生成的代码,没有编辑),则会产生与SPI音频相关的几十个错误。我使用的是和声2.05,我使用的是PIC3的MCU。2MX795F512L文档,我发现,我认为是和谐1。x,也许这就是为什么所有的I2S显示为分离的河流?如果是这样,有2 x的帮助文档吗?还是我错过了一些完全不同的东西?谢谢! 以上来自于百度翻译 以下为原文 Greetings, I'm having some trouble setting up the I2S audio protocol in Harmony. All the help files I've been able to find show that I2S should be an option under Drivers, however, it is not there. Under the SPI driver though, which is what I2S would use, I can set it to DRV_SPI_PROTOCOL_TYPE_AUDIO. The next two options though show up in pink suggesting an error. Clicking the button to generate code works, but if I try to build the project (with just the generated code, nothing edited) it generates dozens of errors all related to the SPI audio. I'm using Harmony 2.05The MCU I'm using is the PIC32MX795F512L The documentation I did find I think was for Harmony 1.X, maybe that's why it all showed I2S as a separate driver? If so, is there any help documentation for 2.x? Or is there something completely different I'm missing? Thanks!
2018-10-22 15:07
RK3399 i2c的驱动过程是怎样的?
2022-03-07 08:05
我使用PIC16F1939进行简单的运动应用,将Fosc设置为2MHz,并通过ICD3测试它。我有两个4位数的7段显示模块,每次点亮一个数字,速度由定时器中断设定。我有两个电位器,用来测量运动时间和运动阻力。当设置时间时,电路工作正常(显示时间和电阻,没有明显的闪烁),我只读电阻罐并更新它的值。当我只读时间罐来设置初始锻炼时间时,就会在显示器上闪烁。我希望最长分钟是99,所以当我读10位adc值时,我会把它归一化为0-99,方法是(最初)除以10.3。这时我注意到了闪烁,我想是因为除法太长了。我把代码行改为:value=adc_read/10.3;To:value=(adc_read*25)>>有人能解释为什么这两个函数被调用吗?我怎样才能找到他们被召唤的原因?谢谢
2019-10-16 12:24
大家好,我是学位学生,我目前正在从事T& M项目,该项目涉及编写VEE程序以自动化测量过程。我在使用Direct I / O与仪器通信时遇到问题。我使用的是非安捷伦仪器,我使用的是Rigol DS1102E数字示波器。问题:我尝试通过Direct I / O使用SCPI命令从仪器读取跟踪数据,只能使用Read Text x作为str来获取完整的返回数据。当我尝试在Array1D中使用Read Binblock x作为二进制时,我将遇到超时问题或数据数据解码不完整或者每次按下模拟都没有找到数据并且结果不一致,我应该从返回的数据中得到600点。当我使用Agilent Interactive I / O和I / O监视器来了解返回的数据时,读取过程是正确的,返回的数据是HEX并转换为ASCII。返回的消息请参见附件IO Montor Result.png。根据我对IO Monitor结果的理解,我知道返回的数据是在无符号Int8中,因此,我首先使用ToFile对象使用Read Text x作为str保存数据,并使用FromFile Object将Read Binblock x作为Binary读回数据在Array 1 D中,返回的数据能够完全解码。问题:为什么Direct BinBlock x作为直接I / O事务中的二进制Array1D无法完全解码返回的数据?是否需要对缓冲区大小进行任何设置或者我缺少哪一步?请指教。谢谢你,Jeremy Tan 以上来自于谷歌翻译 以下为原文Hi all, I am a degree student and I currently working on a T&M project which involved in writing VEE program to automate a measurement process. I face a problem on using Direct I/O to communicate with the instrument. I am using non Agilent Instrument, I am using Rigol DS1102E Digital Oscilloscope. Problem: I try to Read the trace data from the instrument using the SCPI command via Direct I/O, the was only able to use Read Text x as str to get the full returned data. When I tried to use Read Binblock x as Binary in Array1D, I will have a timeout issue or data data decoded incomplete or no data found every single time I pressed simulate and the result was not consistent , I should get 600points from the returned data. When I use the Agilent Interactive I/O and the I/O monitor to understand the returned data, the reading process was correctly and the returned data is in HEX and converted into ASCII. The returned message see attachement IO Montor Result.png. From my understanding through the IO Monitor result, I know the returned data is in unsigned Int8, therefore, I first save the data by using Read Text x as str using ToFile object and read the data back using FromFile Object with Read Binblock x as Binary in Array 1 D and the returned data was able to completely decode. Question: Why the Read BinBlock x as Binary Array1D in the Direct I/O transaction cannot completely decode the returned data? Is it I need to do any setting on the buffer size or what step I am missing? Please advise.Thanks Regards, Jeremy Tan附件IO Monitor Result.png20.8 KB
2019-05-16 14:37
由于使用PLIB不再被包含在XC8中,所以我使用了MPLAB V3.15和XC8 V.1.35。这是通过从xc8下载页面安装plib解决的。我有一个工作项目,使用pic18f46j50,初始化时使用Init函数,其开始位置低于.pps,并且没有错误。我已经创建了一个新项目,带有pic18f25j50,它出错并且找不到pps?我已经将include更改为下面:-但是当我构建时它表示找不到plib文件夹中的pconfig.h。我已经将pps.h和pconfig.h复制到我的include文件夹中,但是当它构建时,在第一个PPS调用时出错,说:-Init.c:20:error:(192)未定义的标识符“IN_PIN_PPS”。(908)退出状态=12件事,1-我不明白一个项目如何构建包含而另一个需要在具有相同设置的同一台计算机上并且如果我将新项目更改为pic18f46j50,则会产生相同的错误?2 -我应该用什么来代替PSPYVSS的PIC18F25J50,我不能从PPS.H文件中找到它。
2019-09-25 11:30
OPPs. omap-iommu omap-iommu.0: isp registered AM37x/DM37x Linux PSP version 04.02.00.07 (OMAP3BEAGLE
2018-06-21 09:56
今天我购买了4位七段显示器。我有共阴极和共阳极显示器。我如何将它与我的Spatran 3e连接,因为它有LCD并且我不想直接跳到LCD。目前我正在使用8个LED,现在我有信心使用它们。现在我想使用七段。有人告诉我使用板的IO并从外部连接七段。我在Spatran 3E手册中找不到任何材料请帮助我以上来自于谷歌翻译以下为原文Today i purchased 4 digit seven segment Display. I am having both common cathode and common anode display.How can i connect this with my Spatran 3e as it is having LCD and i dont want to jump directly to LCD. At present i am using 8 LEDs and now i am confident to use them. Now i want to use seven segment. Somebody told me to use IOs of board and connect seven segment to it externally. I could not find any material on it in Spatran 3E manualKindly help me
2019-06-05 08:40