Is stm32f4 the right chip?
Re: Is stm32f4 the right chip?
Is this chip supported by ChibiOS?
How different is the pin out from this board https://github.com/rusefi/rusefi/tree/master/hardware/brain_board_176-pin
How different is the pin out from this board https://github.com/rusefi/rusefi/tree/master/hardware/brain_board_176-pin
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
S32K is currently PRE-PRODUCTION, right?
This would be an ideal chip for rusEfi!
But someone would need to develop ChibiOS drivers![Smile :)](./images/smilies/icon_e_smile.gif)
https://community.nxp.com/thread/446113evaluation board for S32K148 should be available in Q2, probably in May (it's still subject to change).
This would be an ideal chip for rusEfi!
But someone would need to develop ChibiOS drivers
![Smile :)](./images/smilies/icon_e_smile.gif)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
No.kb1gtt wrote:Is this chip supported by ChibiOS?
I do not understand differences between different implementations of Cortex-M4F precisely - maybe it would require zero changes in the kernel code?
But half of the ChibiOS fun is in the peripherals drivers - SPI, UART, ICU, USB. All this is completely different I assume.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
Everyone licenses the core from ARM, the core is the same, uses the same machine instructions, etc.
All the peripherals taped to the core are home-grown and likely incompatible between manufacturers, so pretty substantial rewrite, since the core part is more of a gcc thing than a library thing, and the peripherals are all library stuff.
All the peripherals taped to the core are home-grown and likely incompatible between manufacturers, so pretty substantial rewrite, since the core part is more of a gcc thing than a library thing, and the peripherals are all library stuff.
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
S32K144EVB dev board is pretty availbale for $49
Actual chip PS32K144UAT0VLLA I do not see available
We probably want the more powerful sibling S32K148 which is not yet available in any form.
I am now considering a kickstarter to gather $750 needed to implement some basic drivers for ChibiOS
Actual chip PS32K144UAT0VLLA I do not see available
We probably want the more powerful sibling S32K148 which is not yet available in any form.
I am now considering a kickstarter to gather $750 needed to implement some basic drivers for ChibiOS
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
Oh, this P in the beginning stands for PROTOTYPE. Seems a bit too early to jump on this wagon?russian wrote:Actual chip PS32K144UAT0VLLA I do not see available
- Attachments
-
- screenshot.png (101.54 KiB) Viewed 53482 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
That's normal Freescale/NXP practice, they tend to keep the 'P' designation until they are in mass production. If it has had more than one revision its probably OK, an initial design I would steer clear of. There should be an errata available but I wouldn't rely on it being complete.russian wrote:Oh, this P in the beginning stands for PROTOTYPE. Seems a bit too early to jump on this wagon?russian wrote:Actual chip PS32K144UAT0VLLA I do not see available
The issue will be availability and minimum order quantities, NXP still shows it as pre-production.
Re: Is stm32f4 the right chip?
Is there risk that this will not make it to production? Does this chip offer features that will cause OEM's to use it? My fear is that this chip may be hard to source in the near-ish future.
The STM32 is general purpose and used in many many devices, so it is not likely to go away.
The STM32 is general purpose and used in many many devices, so it is not likely to go away.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
I guess no one knows at this point? They call it "S32K: 32-bit Automotive General Purpose Microcontrollers"kb1gtt wrote:Is there risk that this will not make it to production? Does this chip offer features that will cause OEM's to use it? My fear is that this chip may be hard to source in the near-ish future.
I will wait for non-prototype revision to show up on digikey or mouser.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
They don't make a chip unless there is a market for it, it will have been developed for some OEM purpose with a high enough volume to justify it. Whether it will become available in small quantities through the retail outlets is the issue, I doubt if they would answer that at this stage but they are pushing it widely so I would imagine so, we can only wait and see.kb1gtt wrote:Is there risk that this will not make it to production? Does this chip offer features that will cause OEM's to use it?
Re: Is stm32f4 the right chip?
I really don't see the point of starting over with lack of drivers, community support, documentation etc just because it's 5v and "Automotive qualified".
If it had some kind of timing co-processor (or dual core) why not, but it's just another general purpose MCU.
If it had some kind of timing co-processor (or dual core) why not, but it's just another general purpose MCU.
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
S32K update: not really available yet.
S32K144EVB evaluation board mouser Estimated Ship Date 22-Mar-18
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/32-bit-automotive-general-purpose-microcontrollers:S32K?tab=Buy_Parametric_Tab S32K family currently lists only two active part numbers FS32K144HFT0VLLT and FS32K144HNT0CLLT but only FS32K144HFT0VLLT is actually in stock today.
S32K144EVB evaluation board mouser Estimated Ship Date 22-Mar-18
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/32-bit-automotive-general-purpose-microcontrollers:S32K?tab=Buy_Parametric_Tab S32K family currently lists only two active part numbers FS32K144HFT0VLLT and FS32K144HNT0CLLT but only FS32K144HFT0VLLT is actually in stock today.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
@ has pointed to the limited license "Free TriCore™ Entry Tool Chain" https://free-entry-toolchain.hightec-rt.com/ as long as "Useable for TriCore evaluation boards with on-board wiggler only, PCP assembler only, Debugger: No visualization functions at runtime, no MCDS support, no Script support."
wiggler?! What is wiggler?
wiggler?! What is wiggler?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
I recall wiggler being a JTAG programming cable. From some old memory, I understood it to be a very basic cable for your parallel port, with software bit banging. No IRQ's and almost no special hardware. Perhaps this is that same wiggler concept.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
Related to this - Hitex ShieldBuddyTC275 dev boards based on https://en.wikipedia.org/wiki/Infineon_AURIXrussian wrote: ↑Tue Jan 01, 2019 11:24 pm@ has pointed to the limited license "Free TriCore™ Entry Tool Chain" as long as "Useable for TriCore evaluation boards with on-board wiggler only, PCP assembler only, Debugger: No visualization functions at runtime, no MCDS support, no Script support."
wiggler?! What is wiggler?
processor is running at 200MHz and hidden inside the LQFP package there are in fact three of them, along with 4MB of FLASH, 128kb of data flash and 500k of RAM.
Board is about $100, seems to only be in stock in Europe. They have arduino IDE so them seem to have some HAL library? But no free compiler anywhere in sight.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
but Updated on Feb 4, 2017
![Sad :(](./images/smilies/icon_e_sad.gif)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
How comes we've never mentioned NXP Kinetis on this forum?
KE1xF is their strongest chip - it's same Cortex-M4 Core for Toolchain and Performance, and ChibiOS community (not "official") support seem to having some life at http://www.chibios.com/forum/viewforum.php?f=26
168 MHz Cortex-M4 w/ FPU
256 – 512 KB Flash
32 – 64 KB SRAM
Only thing I do not see so far is 144 or 176 pin package and well (only 64-LQFP, 100-LQFP), I have not really looked into it yet![Smile :)](./images/smilies/icon_e_smile.gif)
There is also this weirdly-looking $100 TWR-KE18F dev board - https://www.digikey.com/product-detail/en/TWR-KE18F/TWR-KE18F-ND/6204874
KE1xF is their strongest chip - it's same Cortex-M4 Core for Toolchain and Performance, and ChibiOS community (not "official") support seem to having some life at http://www.chibios.com/forum/viewforum.php?f=26
168 MHz Cortex-M4 w/ FPU
256 – 512 KB Flash
32 – 64 KB SRAM
Only thing I do not see so far is 144 or 176 pin package and well (only 64-LQFP, 100-LQFP), I have not really looked into it yet
![Smile :)](./images/smilies/icon_e_smile.gif)
There is also this weirdly-looking $100 TWR-KE18F dev board - https://www.digikey.com/product-detail/en/TWR-KE18F/TWR-KE18F-ND/6204874
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
I recall a discussion about the FreeScale (now NXP) kinetics. I guess there is a chance that was a discussion before my days at rusEFI. I recall it was expensive, you likely had to use there compilers and their tools, as well it's significantly large. The stack is quite large. It's mostly designed for robotics, not really designed for automotive. Also take note they don't use tiny little header pins. They use much larger edge connector.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
I guess there is a chance that things have changed?
![Smile :)](./images/smilies/icon_e_smile.gif)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
I recall it was Kinetis Tower System. I'm thinking that was the o5e days, and was likely before my days at rusEFI. So in my head, but not in this forum. They have kits which include the edge connectors, and similar supporting equipment.
https://www.digikey.com/product-detail/en/nxp-usa-inc/TWR-P1025-KIT/TWR-P1025-KIT-ND/3594924
With a starting price around $500, it's a kind of pricey option. However from a development stand point, it gets you a prototype quickly.
https://www.digikey.com/product-detail/en/nxp-usa-inc/TWR-P1025-KIT/TWR-P1025-KIT-ND/3594924
With a starting price around $500, it's a kind of pricey option. However from a development stand point, it gets you a prototype quickly.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Is stm32f4 the right chip?
There's no point in evaluating Kinetis chips for now, since they are pretty much the same thing minus driver/OS support.
Just like most other Cortex-M mcu.
For the next few years/decade the STM32 range is perfectly suited for this job.
just my $0.02
Just like most other Cortex-M mcu.
For the next few years/decade the STM32 range is perfectly suited for this job.
just my $0.02
Re: Is stm32f4 the right chip?
The connector boards might be a handy reference for the entire Manhattan style theory.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: Is stm32f4 the right chip?
I am inclined to agree with @mobyfab, the only downsides to the STM32 seem to be that it is not "automotive" and that more timers would be nice.
The lack of 5v input is only a small limitation really as we deal with that on the rusEFI PCB.
While the STM32 is not automotive grade are we actually seeing any issue because of that? has there been any failures of the STM32 boards since the project began in 2013?
My experience has been that most of the aftermarket ECU tuning equipment is not using automotive grade parts in some area of their system, I can only assume that a lot of these parts are perfectly up to the job but are just not certified as "automotive" due to cost and a lack of need for the original intended application.
The OEM ECU manufacturers need to have practically zero in service failure rates thanks to market expectations and they have the muscle to get the chip manufacturers to provide things in "automotive" grade to their specifications. (thinking of Bosch who have pretty common simple ICs custom branded with Bosch numbers and no other ID markings from Harris, ST, Phillips etc etc)
The STMF4 also allows us to easily move to a more powerful chip easily with few modifications to the hardware, given there are lots of things still in development a complex migration to a new chip would seem counter productive?
The lack of 5v input is only a small limitation really as we deal with that on the rusEFI PCB.
While the STM32 is not automotive grade are we actually seeing any issue because of that? has there been any failures of the STM32 boards since the project began in 2013?
My experience has been that most of the aftermarket ECU tuning equipment is not using automotive grade parts in some area of their system, I can only assume that a lot of these parts are perfectly up to the job but are just not certified as "automotive" due to cost and a lack of need for the original intended application.
The OEM ECU manufacturers need to have practically zero in service failure rates thanks to market expectations and they have the muscle to get the chip manufacturers to provide things in "automotive" grade to their specifications. (thinking of Bosch who have pretty common simple ICs custom branded with Bosch numbers and no other ID markings from Harris, ST, Phillips etc etc)
The STMF4 also allows us to easily move to a more powerful chip easily with few modifications to the hardware, given there are lots of things still in development a complex migration to a new chip would seem counter productive?
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
S32K148 is now available on Mouser - see https://github.com/rusefi/rusefi/issues/590
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Infineon Aurix tricore tc275
Hi
,what do you thniks about to port to the Aurix tricore 200mhz with generic timer module GTM for crank angle and free tool chain?
https://www.hitex.com/microcontroller-support/aurix/shieldbuddy-tc275/
Is this possible?
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
https://www.hitex.com/microcontroller-support/aurix/shieldbuddy-tc275/
Is this possible?
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Is stm32f4 the right chip?
Please start working on that port and we will help if you have any questions.
I am not aware of any software developers with time for this large commitment, but if you are a developer or if you can hire developers, please start.
I am not aware of any software developers with time for this large commitment, but if you are a developer or if you can hire developers, please start.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Is stm32f4 the right chip?
I understand two large obstacles with the tri-core is the difference in how DMA is handled, as well as a lack of support with ChibiOS. Currently ChibiOS handles the low level registers and similar stuff. To use the Tri-Core would require allot of low level driver development. I understand the ChibiOS folks can be hired to develop drivers like this.
Welcome to the friendlier side of internet crazy ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Is stm32f4 the right chip?
If the vendor already has some peripheral driver code, you can take that as is, and write a thin wrapper to make the API conform with ChibiOS/HAL .
I've done this with a proprietary architecture before for which a "HAL" already existed. I wrote set of hal_<periph>_lld.c/.h files which called out directly to the existing proprietary HAL functions. It was relatively painless, and gave me further confidence in the elegance of the ChibiOS/HAL design.
Once you have things functional, you can take your time and iterate on the low level driver wrapper, and optimize for whatever axis is important to you.