Jun 30, 2019
05:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 30, 2019
05:28 PM
Hi.
I'm using TC212 and iLLD_1_0_0_11_0 with Tasking.
Last day I have fount that there is some problem which means when i adjust sampling point. I couldn't do that.
I wanted to set up sampling point as 80%. I realized that Problem is derived from Clock's frequency. But Setting value fixed as fclc by iLLD is to make me complicated. because There is no option to change to fosc0.
I saw that This iLLD version supports only fclc. So I am trying to find out correct version through ICP. But Any update is not there.
I want to know how to use external osc for multi CAN.
PS. I want to set up that CAN source clk is 20MHz. So I chose OSC being 20MHz.
I cannot make 20Mhz of CAN source using Fclc because Fclc initial value is 133Mhz. So Any dividers couldn't make it in my environment.
I'm using TC212 and iLLD_1_0_0_11_0 with Tasking.
Last day I have fount that there is some problem which means when i adjust sampling point. I couldn't do that.
I wanted to set up sampling point as 80%. I realized that Problem is derived from Clock's frequency. But Setting value fixed as fclc by iLLD is to make me complicated. because There is no option to change to fosc0.
I saw that This iLLD version supports only fclc. So I am trying to find out correct version through ICP. But Any update is not there.
I want to know how to use external osc for multi CAN.
PS. I want to set up that CAN source clk is 20MHz. So I chose OSC being 20MHz.
I cannot make 20Mhz of CAN source using Fclc because Fclc initial value is 133Mhz. So Any dividers couldn't make it in my environment.
- Tags:
- IFX
1 Reply
Jul 02, 2019
07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 02, 2019
07:50 AM
Hi rivaldo01. You can set the bit timing to be driven by the oscillator directly with this function:
But this is one area where the iLLD falls short, because a comment in IfxMultican_Can_initModule() says /* currently supports only fclc */.
So, you'll need to set these to the right values yourself:
IfxMultican_setInputClock( mcanSFR, IfxMultican_ClockSelect_fosc0 );
But this is one area where the iLLD falls short, because a comment in IfxMultican_Can_initModule() says /* currently supports only fclc */.
So, you'll need to set these to the right values yourself:
IfxMultican_setFractionalDividerStepValue(mcanSFR, stepValue);
IfxMultican_setFractionalDividerMode(mcanSFR, dividerMode);
This widget could not be displayed.