CAN BUS speed pll not work

For general Flowcode discussion that does not belong in the other sections.
Post Reply
hiromiyureei
Posts: 32
http://meble-kuchenne.info.pl
Joined: Thu Dec 17, 2020 3:34 pm
Been thanked: 1 time

CAN BUS speed pll not work

Post by hiromiyureei »

Hello, I am using a pic 30f4013, configuring with a 8 mhz HS quartz, using the internal canbus and setting the speed to 250 kbp in effective output
oscilloscope I find myself 50 kbps, setting XT w / PLL 8x in effective output I find myself +/- 250 but if I insert a delay time of 1ms it is not respected.
thank you

LeighM
Valued Contributor
Posts: 447
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 81 times
Been thanked: 243 times

Re: CAN BUS speed pll not work

Post by LeighM »

For delay times to be correct, you need to change the clock speed setting for the project,
this should now be x8 (for the PLL multiplier)
clock_speed.jpg
clock_speed.jpg (58.52 KiB) Viewed 1688 times

Post Reply