2015-03-16 11:15 AM
Hi
I want to use 2 can port , i tried a lot for this issue in two MCU : SPC560B50L5 and SPC560B54L5 Both of them Have a same Response in this family when i look at the datasheet i saw a Flexcan1 have 3 CANRX pin And 2 CANTX pin in program you can set the function of pin for can driver when you set pins manualy or set with pinmap . Finally I found the Special pins for can is work correctly : only PC[10] =CANTX1 and PC[3] =CANRX1 the Refrence manual and datasheet said you can select the pin but it is not correct is this bug or not ? best regards Vanima2015-03-18 01:48 AM
Hello Vanima ,
In fact , the Reference Manual is not cleared .You have to configure the PADSEL (Cf Table 149)[DEAD LINK /public/STe2ecommunities/mcu/Lists/SPC56/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/SPC56/Problem%20with%20Flexcan2%20and%20Flexcan3%20in%20spc560b50L5&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000C7B65FFB6DB42540A4DAECE852348058&TopicsView=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/SPC56/AllItems.aspx¤tviews=14]https://my.st.com/public/STe2ecommunities/mcu/Lists/SPC56/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSPC56%2fProblem%20with%20Flexcan2%20and%20Flexcan3%20in%20spc560b50L5&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000C7B65FFB6DB42540A4DAECE852348058&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSPC56%2FAllItems%2Easpx¤tviews=14 Best Regards Erwan2015-03-19 03:43 AM
Hello Erwan
Thanks a lot , it is completely solved my problem and very usefull . with Best Regards Vanima