dsPIC ECIO40P16 and internal CAN

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

dsPIC ECIO40P16 and internal CAN

Post by Jay Dee »

Hi,
Same as with FC6, Using standard setting the CAN transmits at half the required speed.
To make it work on the bench I changed Register CxCTRL1 from 0x0800 to 0x0000
bit 11 = 0 //FCAN is equal to Fp, Datasheet page 362.

This works for my setup running at 1Mbit, not checked anything else as yet.
Regards, J.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: dsPIC ECIO40P16 and internal CAN

Post by kersing »

The controller on the ECIO 40P16 has a silicon issue which reverses that particular bit. May-be a property can be introduced to allow users to determine activation of a work-around. (Hard coding would work as long as Microchip does not release fixed silicon)

See errata for devices affected.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply