完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好
当我想在spc560b50L5中为flexcan1配置Pin时,我将引脚PC10和PC11设置为TX和RX,但flexcan1port不起作用。 (CANFlex 0功能相同) 然后我更改pinmap向导中的其他引脚,如输出,但是当我关闭pinmap并且下次重新打开引脚图时,所有CANRX引脚都有错误。 当我检查引脚pinmap自动更改CANRX和Flexcan1不起作用 这是一个错误吗? 请帮帮我 谢谢 最好的问候Vanima 以上来自于谷歌翻译 以下为原文 Hi When i want to config Pin for flexcan1 in spc560b50L5 i set the pin PC10 and PC11 for TX and RX but flexcan1port not work. (same function work for CANFlex 0) then i change the other pins in pinmap wizard like output but when i close the pinmap and next time re-open the pin map all CANRX pins have an error. when i check the pins pinmap automaticly change the CANRX and Flexcan1 do not work is this a bug or not ? please help me thanks Best Regards Vanima |
|
相关推荐
5个回答
|
|
|
你好Vanima,
3.4.2没有问题 1)打开Pinmap向导 2)将引脚PC10和PC11设置为TX和RX,但设置为flexcan1 保存Pinmap 3)关闭Pinmap,Pinmap信息已经放入你的配置编辑器......现在你的configuration.xml有DIRTY装饰器......你需要配置编辑器。 这种行为类似于防止Pinmap和&之间的某些同步问题。配置编辑器。 如果您重新打开PINMAP WIZARD,它应该没问题 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Vanima , No problem happenned on 3.4.2 1) Open the Pinmap Wizard 2) Set the pin PC10 and PC11 for TX and RX but flexcan1 Save the Pinmap 3) Close the Pinmap, the Pinmap Information has been put in your configuration editor ...now your configuration.xml has the DIRTY Decorator .. you have to your Configuration editor. This behavoir is like that to prevent from some synchro issues between the Pinmap & the configuration editor. if you reopen the PINMAP WIZARD , it should be OK Best regards Erwan |
|
|
|
|
|
嗨二万
非常感谢您的快速响应 我做你的笔记,但这个问题没有解决 我为你拍了一张照片 输出PIN102,PIN103,PIN116。 这些是控制台中的警告: 警告:功能方向错误:''CAN1RX''。预期的''数字输入'',找到''O''。设置为“数字输入”。 警告:引脚''PC [11]'上的功能''CAN1RX''已在引脚''PC [3]上配置。 警告:引脚''[15]'上的功能''CAN1RX''已在引脚''PC [11]''上配置。 为什么Pin地图改变了设置? 如何在我的程序中手动启用flexcan2引脚? 最好的祝福 vanima 以上来自于谷歌翻译 以下为原文 Hi Erwan Thank you so much for fast Response I do your note's but this issue is not solved i take a picture from my screen for you PIN102 ,PIN103 ,PIN116 are output . these are Warnings in console : Warning: Wrong direction for function: ''CAN1RX''. Expected ''Digital Input'', found ''O''. Set to ''Digital Input''. Warning: Function ''CAN1RX'' on pin ''PC[11]'' already configured on pin ''PC[3]''. Warning: Function ''CAN1RX'' on pin ''PF[15]'' already configured on pin ''PC[11]''. why Pin map change the setting? How Can I Enable the flexcan2 pins Manualy in my program? best regards vanima |
|
|
|
|
|
你好Vanima,
我已经复制了这个bug: 错误报告已提交 您可以在“io_settings”部分手动设置HAL Board中的不同引脚 (比较截图) 为此,您需要使用参考手册 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Vanima , I have reproduced the bug : The error report has been submitted You can set manually in the ''io_settings'' part your different pins in HAL Board (cf screenshot) For this , you need to use the Reference Manual Best Regards Erwan |
|
|
|
|
|
嗨二湾,
我试着你说但是没有成功配置io引脚。 我使用2路配置Flexcan1但没有灵活安装1的响应。 方式1:我编辑您的XML文件SPC560B_512k.xml并解决我说删除其他pin函数的问题,但是当我构建项目并编译项目flexcan1不起作用。 方式2:我设置了pinu的替代功能,但直到现在Flexcan0还可以,但Flexcan1和Flexcan2不起作用。 我为你发送我的代码我需要使用2 can port我应该完成我的项目直到星期五 我不知道Flexcan1和Flexcan2在SPC560B50L5中有效吗? 你可以给我发一个例子或使用两个can端口的代码吗? 非常感谢 最好的祝福 Vanima 以上来自于谷歌翻译 以下为原文 Hi Erwan, I try that you said but not work the io pin configured successfully . I configured Flexcan1 with 2 way but have no response from flexcan 1. way 1 : I Edit Your XML file SPC560B_512k.xml and solve the problem i say with deleting other pin function but when i build the project and compile project flexcan1 is not work. way 2 : i set manualy alternative function's of pin but until now Flexcan0 is ok but Flexcan1 and Flexcan2 is not work. I send my code for you i need to use 2 can port and i should finish my project until friday I do not know is Flexcan1 and Flexcan2 work in SPC560B50L5? can you send me a example or any code with using two can port? thanks So much With Best Regards Vanima |
|
|
|
|
|
你好Vanima,
我们修补了数据模型(型号512K)以纠正pinmap上的“原始”问题。 1)附件中的SPC560B_512k.xml替换为: C: SPC5Studio 日食插件 com.st.tools.spc5.wizard.pinmap.spc5_1.0.0.201502050947 资源 2)必须重新启动SPC5Studio 请保留旧的。 我试图在SPC560B50L5中尽快为您提供Flexcan1和Flexcan2的演示应用程序。 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Vanima , We have patched the Data model (Model 512K) to correct the ''original'' issue on the pinmap. 1) SPC560B_512k.xml in attachment to replace in : c:SPC5Studioeclipsepluginscom.st.tools.spc5.wizard.pinmap.spc5_1.0.0.201502050947resources 2) SPC5Studio has to be restarted Please keep the old one. I am trying to provide to you a demo application with Flexcan1 and Flexcan2 in SPC560B50L5 asap. Best Regards Erwan |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
663浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 07:31 , Processed in 0.721106 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
524