I have a problem with the HAL CAN Driver of SSP v1.33.
I selected Clock Source HOCO = 48 MHz, PCKLB=24MHz.
The problem is the api g_can0.p_api->open(g_can0.p_ctrl, g_can0.p_cfg); always returns SSP_ERR_CAN_INIT_FAILED
The CAN config is :
Here is the Clock config.
If I choose PLL source with Quartz 12Mhz, CAN is OK...
I use Synergy S3A7 with e2Studio v5.4.023 and SSP v1.33
Someone can help me?
Thanks in advance.
In reply to josh222:
In reply to Eric:
CAN can be clocked from PCLKB or CANMCLK. If PCLKB is selected, it must be generated by the PLL clock:
That's why the assertion fails:
In reply to adboc:
Waow OK Adboc, and thanks for your response !...
Effectively, I missed this paragraph of the doc ... Sorry.
But if I look at the next figure, and "Figure 9.1 Clock generation circuit block diagram", I understand that it is not possible to use the CAN without EXTAL.
Is it correct?