完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我需要在我的DSPIC33 EP256GP504中使用ECAN模块,所以我认为这是第一次尝试MCC的好时机。(我已经做了其他8位PIC项目没有它,但这是我的第一个16位项目。)无论如何,它做了一个伟大的工作设置我的振荡器,UART,定时器,AD转换器等,所有这些都是按照预期的工作。但是,ECAN模块不会出现在设备资源列表中。我做错什么了吗?我能够使用MCC设置PIN赋值,但不使用“简单”方法,我必须去注册页面,找到RPNR26和RPOR0寄存器,并使用数据手册中的值——这有点违反MCC的目的。我试着为其他ECAN设备做一些快速的项目。PDP的部分,他们似乎都缺少了ECA的支持。然而,如果我为一个8位的ECAN装备部分(即PIC18F66 K80)做了一个快速的项目,它突然将ECAN作为设备资源,并按预期工作。我错过什么了吗?坦率地说,我用MCC做这个项目,因为ECAN很复杂,我认为它会有帮助。其他的东西很容易,而MCC工作得很好,其实并不需要。我必须尽快把我的ECON固件输出,所以希望有人能给我指出正确的方向来完成这项工作。环顾MC网站,ECAN图书馆的使用方式不多!这是我在论坛的要求中列出的清单:MCC版本:3.23.2MPLAB X版本:3.51操作系统和版本:Windows 10 HealCeMeRever版本:XC16V1.3设备名称:DSSPICEP256GP504附加MCC配置文件:附加您的IDE日志:附加任何有用的屏幕HOTS: DSPIC MCC屏幕页面的拍摄缺少ECAN,也是一个包括ECAN在内的8位项目的镜头。
IDE Log.txt(176.23 KB)-下载176次 以上来自于百度翻译 以下为原文 I need to use the eCan module in my dsPIC33EP256GP504, so I figured this is a good time to try out the MCC for the first time. (I've done other 8 bit PIC projects without it, but this is my first 16 bit project.) Anyway, it did a great job setting up my Oscillator, UART, Timers, AD converters, etc. and all of that is working as expected. BUT, the eCan module does NOT appear in the list of Device Resources. Am I doing something wrong? I was able to set up the pin assignments using the MCC, but not using the "simple" method, I had to go to the register page, find the RPINR26 and RPOR0 registers and use the values from the data book - this kinda defeats the purpose of the MCC. I tried making some quick projects for other eCan equipped dsPIC parts, and they all seem to be missing the eCAN support. However, if I make up a quick project for an 8 bit eCAN equipped part (ie: PIC18F66K80) it suddenly has the eCAN as a device resource, and works as expected. Am I missing something? Frankly, I used the MCC for this project because the eCAN is complex and I thought it would help. The other stuff is easy and while the MCC worked fine, it really wasn't required. I have to get my eCAN firmware out quickly, so hopefully someone can point me in the right direction to make this work. Looking around the MC web site there isn't much in the way of eCAN libraries to use! Here's my checklist as requested in the forum instructions: MCC version: 3.26.2 MPLAB X version: 3.51 Operating System and version: Windows 10 home Compiler version: XC16 V1.3 Device name: dsPIC33EP256GP504 Attach your MCC Configuration file: Attached Attach your IDE Log: Attached Attach any useful screenshots: Shot of dsPIC MCC screen page with missing eCAN, also a shot of an 8 bit project which includes eCAN. Attached Image(s) Attachment(s) Raymarine MPOU config.mc3.txt (343.14 KB) - downloaded 108 times IDE LOG.txt (176.23 KB) - downloaded 176 times |
|
相关推荐
8个回答
|
|
真遗憾,试着上传一张图片。看起来好像还没有支持。刚启动一个新项目,选择了DSPIC33 EP128MC506CAN就在那里了,但是它已经完成了循环。HM。我刚开始用CAN,想看看代码,处理更多的IDS和缓存等等。找一个用CAN和M的PIC。CC支持是浪费时间。
以上来自于百度翻译 以下为原文 What a Pity, tried to upload a image. CAN seems still not supported. just startet a new project and selected the dsPIC33EP128MC506. CAN is there, but it got a crossed out circle. hm. I just started with CAN and wanted to see Code for handling more IDs an Buffers and so on. Looking for a Pic with CAN and MCC support was a waste of time. |
|
|
|
我也在寻找PIC&MCC在PIC24上,没有用。写了我自己的代码…我猜“这样更好”
以上来自于百度翻译 以下为原文 I was also looking for CAN & MCC on a PIC24, to no avail. Wrote my own code... and I guess "it's better like this" |
|
|
|
最后我买了一个CAN司机比我自己开发的成本要低,而且运行良好。我从Microchip获得的唯一答案是“我们正在努力”。这不是一个全新的部分,令人失望的是,他们还没有完全支持它。
以上来自于百度翻译 以下为原文 I ended up buying a CAN driver for less than it would have cost to develop it myself, and it's working fine. The only answer I ever received from Microchip was "we're working on it". This is not a brand new part and it's disappointing that they don't fully support it yet. |
|
|
|
对。很恶心,好像他们没有真正的进步。与PICS一起工作是没有乐趣的。希望HETEC他们会用软件和支持踢驴…PIC24/33模块似乎是同一类型的模块,也是完整的PIC。相信支持这些图片应该很快出错吗?也许创建一个具有内存大小和区域、模块等的列表应该能够快速实现它们到MCC……和Simulink的MPLAB设备块相同。不行,如果你需要的话就没用了。使用Wayung BuffStand和STM32 F407做这个把戏。可惜的是,无论是写自己的东西还是买东西都能得到好的和快的结果。我用1249个源代码启动。问题是,在一个小的周期内接收可以使模块挂起。100毫秒左右就可以了。少了,你就有问题了。另外一个问题是不同的IDS。我放弃了,好像每个ID都应该有一个缓冲区。那么,为什么使用口罩和过滤器来接收更多的ID呢?你必须为每个ID使用一个缓冲区,所以你应该用缓冲区定义一个ID,或者如何使用一个ID和一个过滤器/掩码使用更多的ID?它也可能发生,你必须为一个ID定义更多的缓冲区,或者在短时间内有可能恢复消息。但是我不得不花费更多的时间来处理127。接收没有问题。如果有人知道好的源代码、文件或教程,就可以在HTTP://MyCHIPCeDealError中分享……这只是基本的基础。
以上来自于百度翻译 以下为原文 Yes. Very disgusting. Seems they are making no real progress. Working with Pics is no more fun. Hoped with HiTec they would kick asses with software and support... The PIC24/33 modules seems to be the very same type of modules, also the complete pic. Is believing to support these Pics should be done quick wrong? Perhaps creating a list with memory sizes and areas, modules etc. should do the trick to quick implement them to MCC... Well, same with MPLAB Device Blocks for Simulink. No CAN, so useless if you need CAN. Using the Waijung Blockset and STM32F407 do the trick. What a pity, its the best thing either writing own stuff or buying something to get good and fast results. I Startet with AN1249 Source Code. The Problem is, receiving CAN in a small period makes the module hang. 100mS or so on is ok. Less and you got your problems. Then an other problem is different IDs. I fugured Out, it seems every ID should have a Buffer. So, why using Masks and filters to receive more IDs? You got to use a Buffer for every ID, so you should define a ID with a Buffer or how to use more IDs with one ID and a Filter/Mask? It could also happen you must define more Buffers for one ID or there are problems receifing CAN-Messages in a short period of time. But I got to spend more time with CE127. There was no problem with receiving. If someone know good source-Code, Eample files or tutorials, feel free to share... on http://microchipdeveloper.com there are just basics of the basics. Got to check Harmony for CAN... |
|
|
|
欣赏你的兴趣,我理解挫折和缺乏支持。MCC团队致力于为具有给定资源和优先级约束的设备和外围设备提供支持。目前可以优先考虑在MCC DSPICPIC24库发布中支持的计划。
以上来自于百度翻译 以下为原文 Appreciate your interest, and I understand the frustration as well for the lack of CAN support. MCC team is committed to providing support for devices and peripherals with the given resource and priority constraints. CAN is currently prioritized to be supported in MCC dsPICPIC24 library release scheduled for around middle of this year timeframe. |
|
|
|
谢谢你的信息,年中是什么时候?八月?PIC33 FJ256MC710A/PIC33 FJ256GP710A、PIC33 EP512MU810和PIC32 MK1024MC/PIC32 MK0512MC是否也得到支持?
以上来自于百度翻译 以下为原文 Thank you for that information. When is midyear? August? Will PIC33FJ256MC710A/PIC33FJ256GP710A, PIC33EP512MU810 and PIC32MK1024MC/PIC32MK0512MC then also been supported? |
|
|
|
CAN将支持七月左右的时间框架。PIC33 FJ256MC710A/PIC33 FJ256GP710A,PIC33 EP512MU810是在路线图中,但我们没有时间线。PIC32 MK1024MC/PIC32 MK0512MC通过目前的和声来支持。
以上来自于百度翻译 以下为原文 CAN will be supported around July timeframe. PIC33FJ256MC710A/PIC33FJ256GP710A, PIC33EP512MU810 are in the roadmap, but we don't have a timeline for it. PIC32MK1024MC/PIC32MK0512MC are supported via Harmony currently. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:51 , Processed in 1.379929 second(s), Total 93, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号