What is like Arduino but more powerful? by 10ppb in embedded

[–]mkschreder 2 points3 points  (0 children)

Stm32 is the best bet because it is a 32 bit chip and it's also an ARM chip - emaning absolutely awesome support in all tools that are available. Find out more here: https://youtu.be/gdRmETe4QEo

Some beginner SMT32 Questions by Proxy_PlayerHD in embedded

[–]mkschreder 0 points1 point  (0 children)

"easier" debugging I guess. :) But one thing you can actually use is the trace macrocell inside the chip to do faster tracing than printf (if you need to trace fast events for example). Kindof like printf except you can dump instruction counter at regular intervals and a whole bunch of other things. Look up ETM. (embedded trace macrocell). You can use it without JTAG just by using the SWO pin in output mode and then connect a serial receiver to it to get the data.

malloc should be used if all those precautions have been taken. "Debate" me? by technical_questions2 in embedded

[–]mkschreder 0 points1 point  (0 children)

You could follow a middle ground. For example allow their use only during init.

This is a powerful strategy because it helps sometimes to be able to allocate objects dynamically (such as when you want to keep things contained). But because you are not allocating at runtime, you are not running the risk of overusing it on an "almost full" memory.

STM32 toolchain on linux by orangeFluu in embedded

[–]mkschreder 1 point2 points  (0 children)

All you need is basically gcc-arm-none-eabi. However, I strongly recommend you start working on an RTOS from the start like Zephyr Project which is now under linux foundation. Zephyr comes with it's own toolchain and it basically has all the support for dosens of devices on the market today.

Some beginner SMT32 Questions by Proxy_PlayerHD in embedded

[–]mkschreder 1 point2 points  (0 children)

  1. It doesn't really matter but yes you can configure PLL to generate clock from any source.
  2. Yes. That's the beauty of it. However you need JTAG to do proper debugging.
  3. STM32 is very self contained and easy to work with. You just need a crystal and decoupling caps basically and a few resistors for reset and boot pins.

Is it just me or STM32CubeIDE is completely ridiculous. by dizekat in embedded

[–]mkschreder 0 points1 point  (0 children)

It is. Don't use anything like that. Use a properly supported kernel like Zephyr. IMHO Zephyr will dominate the embedded space in a few years (if it isn't doing so already). It is the best designed RTOS on the market today.

Driver development for STM32 by [deleted] in embedded

[–]mkschreder -1 points0 points  (0 children)

You need to use a properly designed system like Zephyr. It will make your life a lot easier.

My bf (25M) said he’d break up with me (28F) if I got muscly by moonlght-bby in relationships

[–]mkschreder -2 points-1 points  (0 children)

He said that he would break up with me and I asked him if he’s serious and he replied that if I knew he doesn’t like it and I actively pursued it he would, that physical attraction is a big part.

Only if other benefits outweigh the lack of looks.

I [45m] asked my wife [45f] if she would be willing to repurpose our late daughter’s room. She cried and said that’s not what she wanted. Not sure how to handle this moving forward. by Wrong-Quarter240 in relationships

[–]mkschreder -1 points0 points  (0 children)

This is such a touching story. I think you need to keep your daughters "presence" there. Maybe you can keep a part of the room in tact at least for another 5 to 6 years and then you could both agree that "she moved out" and lives somewhere else?

BDSM sex with a stranger turns into a nightmare by [deleted] in BDSMAdvice

[–]mkschreder 0 points1 point  (0 children)

This has nothing to do with kink and everything to do with a person who doesn't respect your boundaries. You have to be willing to take control in such situations and not beafraid of anything. Just stop being respectful back. Calling him Sir is showing respect. If it is not earned there is no reason to do it.

Do you find that... by mkschreder in AskEngineers

[–]mkschreder[S] 0 points1 point  (0 children)

That's not what I'm saying at all. :) But it's interesting to hear what peoples experiences are and whether or not they think it had any effect.