Original title: What is difference between MIACv1 and MIACv2?
When i make software that uses CAN bus, and i select "MIAC" as target, my code CAN bus works fine etc. But when i got my code too big for "V1" and i try to use "MIAC V2" as target with same code, seems like the clock speed is slower on V2 and the CAN bus is not working (The D output goes high without any reason?).
Do i have to change the pins of CAN bus component or something?
I checked inside my Miac and it has 18F4550 onboard. PCB says it is MIAC V2 CTRL V0.1
EDIT: Found some problem:
The V1 has defaulted the Chip Select pin to Port D7 (and this option is not even shown), but on V2 target you cannot select the D7 as pin. How i could fix this issue? Im using the newest 6.1.2 Flowcode.
[BUG - Solution] MIAC V1 software to MIAC V2, CAN Bus bug
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: [BUG] MIAC V1 software to MIAC V2, CAN Bus bug
Hi
Thanks for the bug find.
As you reported, the CAN component was not correctly setting the CS pin for the V2 18F4550 based MIAC.
Please try the attached fixed version.
Place it in your Flowcode 6 components directory.
Leigh
Thanks for the bug find.
As you reported, the CAN component was not correctly setting the CS pin for the V2 18F4550 based MIAC.
Please try the attached fixed version.
Place it in your Flowcode 6 components directory.
Leigh
- Attachments
-
- CAN.fcpx
- (22.5 KiB) Downloaded 450 times