Part Number: MSPM0G3505
Other Parts Discussed in Thread: MSPM0G3507
Tool/software:
I have a custom board. Everything else is working, except for CANFD0. I wait for CANDFREADY in SYSCTL->SOCLOCK.SYSSTATUS But, it is always 0.
I can turn the CANFD0 power on. But all registers read 0. Except for PWREN
I am assuming this has something to do with the interface clock MCAN_ICLK ?
I am using a 16MHz external crystal. Running the PLL at 80MHz. MCLK=80MHz w/ 2-waitstates. CANCLK selected from HFCLK.=16MHz
SYSCTL
HSCLKGOOD=1
SYSPLLGOOD=1
HFCLKGOOD=1
CPUCLK Frequency verified by 1kHz output of TIMG0.with
CLKSEL=8 ( BUSCLK)
CLKDIV=1( /2 )
LOAD=40000
I am a bare-metal programmer. So, not using the SDK. Just the datasheets.
I am using IAR. If that matters.
I have tried no setting the PAS12/13 i/o pins up, before initializing CANFD0. No change.
Any ideas? Thanks