2015-03-12 10:04 AM
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 Vanima2015-03-13 07:31 AM
2015-03-13 10:53 PM
Hi Erwan
Thank you so much for fast Response I do your note's butthis issue is not solved i take a picture from my screenfor 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 ________________ Attachments : pinmap.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qXMm&d=%2Fa%2F0X0000000bok%2FWf3h.ofE9RxTuAfvLBr2bp0T9NKE2Lc7GqJaF5Ihejg&asPdf=false2015-03-16 03:14 AM
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 ________________ Attachments : 2015-03-16_111349.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qWHx&d=%2Fa%2F0X0000000boA%2FE4UqnBxVXaZrTIvGIVCJetRWnkffGi0HGN3lfHjWBHs&asPdf=false2015-03-16 05:09 AM
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 yousend me a example or any code with using two can port? thanks So much With Best Regards Vanima ________________ Attachments : Main.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qUdp&d=%2Fa%2F0X0000000bnm%2FpXthhQ0cWqYBleIk89d5ZJJqydsRYQd4JiucaQ40oG4&asPdf=false2015-03-17 01:45 AM