Page 1 of 1

stm32 LQFP48

Posted: Fri Dec 26, 2014 1:27 pm
by AndreyB

Re: stm32 LQFP48

Posted: Sun Dec 28, 2014 1:58 am
by kb1gtt
Very nice very nice. Does R0.2 imply R0.1 was spun and that this has undergone some real world validation already? Looks low cost, could PB8 and PB9 be routed to an CAN chip? If so that could be really handy.

Re: stm32 LQFP48

Posted: Sun Dec 28, 2014 2:04 am
by AndreyB
kb1gtt wrote:Does R0.2 imply R0.1 was spun and that this has undergone some real world validation already?
Nope, that's mystifying Russian soul. No explanation.
kb1gtt wrote:could PB8 and PB9 be routed to an CAN chip? If so that could be really handy.
Let me ask Eugene :)

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 3:59 pm
by AndreyB
@ added CAN transceiver
Image

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 4:20 pm
by AndreyB
Not a hardware issue, but I've just realized how cool it is to have CAN transceiver on board: this board is now a fully selfcontained USB2CAN adapter! Just without the firmware.

I would not waste time doing to much of the firmware but it's tempting to implement a couple of ELM327-compatible commands just to get the community interested. I wonder if it is legal to implement a protocol which would resemble ELM327 protocol?

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 8:58 pm
by Tomin
USB2CAN int. like Lawicel or so uses different command set than ELM.
ELM commands are not protected at all, what I know. No problem to use it.
But for clear CAN analyzing and communication "Lawicel" protocol is better (more straightforward) than ELM.

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 9:36 pm
by puff
what's the use of it? just to show the ability of receiving some fake values from ecu? or the argument to mention 'elm327 support'? (i bet you can implement it in rusefi?)

thermocouple controller seems a very nice small project which would be useful and easily commercialized ;-) I wouldn't wast time and money on some useless boards (I got three sn65… CAN boards. okay, I'll use one for my experiments, but I don't know what to do with the rest of them ;-)

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 9:39 pm
by puff
or is it sort of a can sniffer? my be useful to add some jumpers/microswitches to choose configs (instead of recompiling the code each time you want to sniff a bus with different nitrate, time quantums, etc)

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 9:44 pm
by AndreyB
puff wrote:what's the use of it?
I am sorry I do not follow. The use of what? the use of this stm32 board? the use of CAN? the use if CAN2USB module?

the small stm32 board is a base for all kinds of smaller devices. before we can processed with anything we need a proven schematics and PCB which would later be used in other designs

Re: stm32 LQFP48

Posted: Tue Jan 06, 2015 11:22 pm
by abecedarian
Polarity correcting, isolated CAN BUS interface.
http://www.ti.com/lit/ug/tidu422a/tidu422a.pdf <- device description / operation / BOM
http://www.ti.com/lit/df/tidr822/tidr822.pdf <- schematic
MCU sold separately. ;)

*edit- just realized I replied to the wrong topic. Please move if so desired.

Re: stm32 LQFP48

Posted: Thu Jan 08, 2015 2:41 am
by AndreyB
more minimalistic more better :)

Image

Re: stm32 LQFP48

Posted: Fri Jan 09, 2015 12:46 am
by AndreyB
Image

just placed an order

Re: stm32 LQFP48

Posted: Sat May 16, 2015 11:16 pm
by AndreyB

Re: stm32 LQFP48

Posted: Tue Jun 02, 2015 3:39 am
by chingon
Just an fyi, the usb-can dongles from China

have this chip on board...just opened mine trying to figure this out
STM32F103C8T6
~25 or so to door...

Re: stm32 LQFP48

Posted: Sun Jan 29, 2017 5:24 pm
by AndreyB
STM32F103 nice pinout picture

Re: stm32 LQFP48

Posted: Sun Apr 23, 2017 2:48 pm
by Snake____1
@russian
So does this mean rusEFI can run off the STM32F103C8 MCU? :D
or
Is this "just" a CAN converter "port expander"? :roll:

Re: stm32 LQFP48

Posted: Mon Apr 24, 2017 1:14 am
by AndreyB
I suspect rusEFI would not do well without FPU, but I could be wrong. Not too hard to start on F103 but how it would behave I have no idea.

Would need to compile without engine sniffer, sensor sniffer etc to reduce RAM usage.

Re: stm32 LQFP48

Posted: Mon Apr 24, 2017 8:23 am
by Rhinoman
Tomin wrote:USB2CAN int. like Lawicel or so uses different command set than ELM.
ELM commands are not protected at all, what I know. No problem to use it.
ELM commands are copyright of ELM.

Re: stm32 LQFP48

Posted: Mon Apr 24, 2017 9:34 am
by mobyfab
You can't use USB and CAN at the same time on the F1.

Stay away from it, it's full of silicon bugs.

If you want to do a USB-CAN bridge, go for a F072 lqfp32.

Re: stm32 LQFP48

Posted: Fri Aug 11, 2017 5:35 pm
by essess
You can't use USB and CAN at the same time on the F1.
I was wondering if someone was going to bring this up. It's also mentioned in the datasheet. Some F1 parts allow it, but not the 103's.

Start with this and just do your own firmware if what he supplies is unacceptable.

Re: stm32 LQFP48

Posted: Mon Aug 28, 2017 5:52 pm
by RickyTerzis
Hi...i am a new user here. Thanks for sharing this information here. I want to know does R0.2 imply R0.1 was spun and that this has undergone some real world validation already?

http://percentagescalculator.com/

Re: stm32 LQFP48

Posted: Mon Aug 28, 2017 11:22 pm
by kb1gtt
I don't know that we can claim any of our hardware has undergone any real validation :)

We keep a list of items that have changed or known issues in the "known_issues.txt" file. You can checkt that to get a feel for how much hardware validation was or was not done.
https://svn.code.sf.net/p/rusefi/code/trunk/hardware/mini48-stm32/known_issues.txt

In this situation it appears the changes were mostly silk screen. I think it has had a hello world program loaded into it and perhaps not much beyond that. However it's a fairly basic board, so that's probably a fairly extensive test.