Hello Kidd
When add both FreeMaster (with FlexCAN) and Init_CAN component in the same project, Processor Expert will prompt error message like "Peripheral is already used by the component …"
This is not special for FlexCAN, it is same for any other peripheral in PE for DSC including ADC, SCI… User can only choose one of them in his project for the same peripheral module.
Peripheral Initialization Component ( with name "Init_**") only provides a low-level hardware approach to initialize registers of the peripheral module. For advanced functions, please choose the other component.
As a workaround, you can first add FreeMaster component into a 56F84789 project, and after generating code with it, copy the source file into your application project, and add FreescaleCAN component, or vice versa.
Best Regards
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------