Page 9 of 12

Re: Proteus - Waterproof, High-feature ECU!

Posted: Tue May 11, 2021 4:58 am
by Lambo97
I'm new to the hardware development scene but why are we looking for a new chip? Are we sure the current one is going to be unavailable? If you think so then from what Mck1117 is saying the new chip seems unusable if the config will eat most of the memory. Do you think there will be a workaround or are we looking for a new chip? Like Andrey said Drama...!!

Re: Proteus - Waterproof, High-feature ECU!

Posted: Tue May 11, 2021 5:07 am
by mck1117
Lambo97 wrote:
Tue May 11, 2021 4:58 am
I'm new to the hardware development scene but why are we looking for a new chip? Are we sure the current one is going to be unavailable?
The semiconductor industry is kind of a mess right now. Lead times are long, and stock is unpredictable. The swapped out chip is actually slightly better than the previous one, and there's no permanent swap planned. The normal one was out of stock, so we went to an alternate. Functionality is the same on the F7, with a 20-30% faster CPU and more RAM to boot.
Lambo97 wrote:
Tue May 11, 2021 4:58 am
If you think so then from what Mck1117 is saying the new chip seems unusable if the config will eat most of the memory. Do you think there will be a workaround or are we looking for a new chip? Like Andrey said Drama...!!
I didn't realize the behavior on the 1MB devices before placing the order - we had to change a few things since we'd only used 2MB STM32F7 chips. With those changes made, the flash space available is identical to all of the STM32F4-based ECUs already out in the wild, including most Proteus boards in existence. 256K (1/4) for config, the remainder (768k) for code/data. Currently only about 2/3 full.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sat Jun 19, 2021 5:28 pm
by Lambo97
Hi there, just wiring up my car almost done. To run the Proteus in full sequential do I need to connect the CAM sensor to VR_2? You sent me the board with 2 VRs so 1 is used for the crank sensor and I'm guessing VR_2 can be used for CAM correct? or am I connecting it to one of the analog inputs? Thanks,

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sat Jun 19, 2021 5:30 pm
by mck1117
Any channel can be used for any function. You can pick in TunerStudio where each function is wired, and the software will remap everything internally.

To answer your actual question: it depends on what kind of hardware your cam sensors needs - if it's a hall effect sensor, pick any digital input, and if it is indeed VR, then VR2 is the place to put it.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jun 20, 2021 12:26 am
by Lambo97
Sounds good, I see Andrey wired up a digital start wire to the Proteus. I plan on using old school key direct to the starter. Does the Proteus need to see the key in crank position, or will it naturally pick up that the engine is turning and then start firing the injectors and coils?

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jun 20, 2021 2:37 am
by mck1117
Starter control isn't required. If the engine spins, rusEFI will run it.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 11, 2021 12:51 pm
by JRD McLAREN
I can't found IBOM for proteus v0.6 ...

Is any way to generate it "by myself" form github clone ..?
or can anybody public it on https://rusefi.com/docs/ibom .. ??

Thanks for answer.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 11, 2021 1:00 pm
by JRD McLAREN
.. I got it ... :mrgreen:

Re: Proteus - Waterproof, High-feature ECU!

Posted: Mon Jul 12, 2021 6:50 pm
by JRD McLAREN
Uf ...
It's problem with processors ... NO STOCK ... :cry:

Which other than STM32F429ZGT6 can be used in proteus ..??
I'm found NUCLEO-F429ZI with STM32F429ZIT ... but..."it is good idea buy dev kit, desolder CPU" .. . .

Highside BTS4175SGA are"out of stock" also .. and I can't find any replacement ...

VNLD5160 is replaced for BM2LC105FJ..
Can interfaces for TJA1042T/3
..and many others ...

Re: Proteus - Waterproof, High-feature ECU!

Posted: Mon Jul 12, 2021 6:59 pm
by mck1117
JRD McLAREN wrote:
Mon Jul 12, 2021 6:50 pm
Highside BTS4175SGA are"out of stock" also .. and I can't find any replacement ...
some batches has BSP762/ISP762, it's interchangeable for us

Re: Proteus - Waterproof, High-feature ECU!

Posted: Mon Jul 12, 2021 8:12 pm
by AndreyB

Re: Proteus - Waterproof, High-feature ECU!

Posted: Tue Jul 13, 2021 7:32 pm
by JRD McLAREN
mck1117 wrote:
Mon Jul 12, 2021 6:59 pm
JRD McLAREN wrote:
Mon Jul 12, 2021 6:50 pm
Highside BTS4175SGA are"out of stock" also .. and I can't find any replacement ...
some batches has BSP762/ISP762, it's interchangeable for us
No fun ... all Infineon's FETs or IC are gone ...

Andrey, I'll make any spare / exchange list of IC / FET ...
..if it arrive ..

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sat Jul 17, 2021 11:03 am
by JRD McLAREN

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sat Jul 17, 2021 3:10 pm
by AndreyB
With parts shortage what is the complete list of MCU options official firmware would run on?

Matt does Proteus require 2MB of flash or would it work with just 1MB? Is the official build using 180MHz or 168MHz?

Ideally let's document on https://github.com/rusefi/rusefi/wiki/Chip-Shortage-Parts-Interchange#proteus-mcu-options?

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 2:26 am
by mck1117
AndreyB wrote:
Sat Jul 17, 2021 3:10 pm
With parts shortage what is the complete list of MCU options official firmware would run on?

Matt does Proteus require 2MB of flash or would it work with just 1MB? Is the official build using 180MHz or 168MHz?

Ideally let's document on https://github.com/rusefi/rusefi/wiki/Chip-Shortage-Parts-Interchange#proteus-mcu-options?
2MB not required, that's what the stuff around the 1MB F7 0.6 changes were, so now we properly support 1MB F7.

We run F4 at 168MHz, since there's no way on an F4 to run at 180 with USB working. All F7 are configured for 216MHz, since their clock setup is different and allows for USB at different CPU speeds.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 7:56 pm
by JRD McLAREN
I'm found some big mistakes ...
Bad traces on front layer..

R1215 and R1216
Screenshot_20210718_215000.png
Screenshot_20210718_215000.png (238.2 KiB) Viewed 35762 times
C18 and C19
Screenshot_20210718_214758.png
Screenshot_20210718_214758.png (200.64 KiB) Viewed 35762 times
C1903
Screenshot_20210718_214539.png
Screenshot_20210718_214539.png (192.08 KiB) Viewed 35762 times

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 9:00 pm
by AndreyB
JRD McLAREN wrote:
Sun Jul 18, 2021 7:56 pm
I'm found some big mistakes ...
Please check official fab files. There is an opinion that there is no bit mistake at all and you should press B to update fills.

I would agree that that's a small avoidable confusion :)

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 10:23 pm
by JRD McLAREN
OK...
I'm not so good in KICAD ..

This is from github repository .. and, I have no idea, what is inside gerber files - export directory
I found this, cause I have different component size on PCB and different on IBOM ..

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 10:31 pm
by JRD McLAREN
strange...
PCBWAY gerber viewer
PCBWAY gerber viewer
Screenshot_20210719_002751.png (395.42 KiB) Viewed 35752 times
Kicad after "B" ..
Kicad after "B" ..
Screenshot_20210719_002717.png (201 KiB) Viewed 35752 times

Re: Proteus - Waterproof, High-feature ECU!

Posted: Sun Jul 18, 2021 11:13 pm
by mck1117
The pcb in master has some minor changes (swapping to use more of the same component) that have never been fabricated. If you would like to fabricate a board, please use the latest release (0.6) as those files are proven.

If you really want to use kicad, the problem in master is that the copper pours need to be updated - just press the B key and they'll recalculate.

Re: Proteus - Waterproof, High-feature ECU!

Posted: Mon Jul 19, 2021 9:24 am
by JRD McLAREN
I have some boards on my desk.. and it looks good ...

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:06 pm
by JRD McLAREN
BM2LC105FJ-C is replacement for VNLD5160

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:08 pm
by AndreyB
JRD McLAREN wrote:
Wed Jul 28, 2021 9:06 pm
BM2LC105FJ-C is replacement for VNLD5160
can you please post pinouts for both? i recall there is an opinion that pinouts are different?

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:11 pm
by JRD McLAREN

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:12 pm
by mck1117
AndreyB wrote:
Wed Jul 28, 2021 9:08 pm
JRD McLAREN wrote:
Wed Jul 28, 2021 9:06 pm
BM2LC105FJ-C is replacement for VNLD5160
can you please post pinouts for both? i recall there is an opinion that pinouts are different?
he's right, there are two pinout options for that family of chip from ROHM, and it looks like the BM2LC105FJ-C does indeed match

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:34 pm
by AndreyB
Nicccccceee!

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:35 pm
by mck1117
specs look very similar to the VNLD5160, should work just fine

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:36 pm
by JRD McLAREN
mck1117 wrote:
Mon Jul 12, 2021 6:59 pm
JRD McLAREN wrote:
Mon Jul 12, 2021 6:50 pm
Highside BTS4175SGA are"out of stock" also .. and I can't find any replacement ...
some batches has BSP762/ISP762, it's interchangeable for us
and ISP752T.... for High-Side switch

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:37 pm
by mck1117
JRD McLAREN wrote:
Wed Jul 28, 2021 9:36 pm
and ISP752T.... for High-Side switch
lower current, 1.3A vs 2A, but yes

Re: Proteus - Waterproof, High-feature ECU!

Posted: Wed Jul 28, 2021 9:39 pm
by JRD McLAREN
150mOhm vs. 70mOhm
.it will be OK for many applications...

One board almost completed ... second still wip ...
DSCN5483.JPG
DSCN5483.JPG (2.08 MiB) Viewed 35444 times
and still missing some parts...
3v3 ref.voltage, some High-Side drivers ... and MCU .. :roll:

ITS4100S for High-Side .. ??
https://www.mouser.sk/datasheet/2/196/infn_s_a0009363791_1-2271142.pdf