HE351VE turbo CAN broadcast in pre-1.5 alpha 4

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
fpvmustang
Helpful MS/Extra'er
Posts: 109
Joined: Sat Oct 13, 2012 11:17 pm
Location: Quincy CA. USA

HE351VE turbo CAN broadcast in pre-1.5 alpha 4

Post by fpvmustang »

I can not get he351ve can bus working changed baud rate to 250 changed boost to open loop so boost duty sent out of boost
tried broadcast interval 150, 50 and 70 ms
what's a good free can bus sniffer for arduino?
33 psi boost on lpg
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5 alpha 4 released

Post by jsmcortina »

Glad you've tried it, but unfortunate that it isn't working yet.

I'd certainly like to know what's different about the data. If the baud rate is ok, then perhaps an error in the packet.

It would be worth starting a new topic for this - I'll split this one.

The current code looks like this:

Code: Select all

    /* Typically the turbo wants 250k baud. (Ford application 500k?) */
    if (ram5.can_bcast2 & CAN_BCAST2_HE351) {
        unsigned int bv;
        /* holset HE351VE VGT turbo and a wastegate
        29bit CAN message 0x0cffc600
        8 bytes
        D0, D1  = 16 bit little endian value 0-1000 for position
        D1 = 0x02
        D2 = 0x01
        D3 = 0xff
        D4 = 0xff
        D5 = 0xff
        D6 = 0xff
        D7 = 0xff
        ----------------------
        */
        bv = outpc.boostduty * 10; /* convert 0-100 to 0-1000 */
        data[0] = bv & 0xff;
        data[1] = bv >> 8;
        data[2] = 0x01;
        data[3] = 0xff;
        data[4] = 0xff;
        data[5] = 0xff;
        data[6] = 0xff;
        data[7] = 0xff;
        send_can29bit(0x0cffc600, data, 8);
    }
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
fpvmustang
Helpful MS/Extra'er
Posts: 109
Joined: Sat Oct 13, 2012 11:17 pm
Location: Quincy CA. USA

Re: HE351VE turbo CAN broadcast in pre-1.5 alpha 4

Post by fpvmustang »

i'll try to compare the can bus signals this weekend
33 psi boost on lpg
fpvmustang
Helpful MS/Extra'er
Posts: 109
Joined: Sat Oct 13, 2012 11:17 pm
Location: Quincy CA. USA

Re: HE351VE turbo CAN broadcast in pre-1.5 alpha 4

Post by fpvmustang »

having problems sniffing the can bus but have help coming.
33 psi boost on lpg
Post Reply