EmbeddedRelated.com

Shared Communications Bus - RS-422 or RS-485

Started by Rick C in comp.arch.embedded11 months ago 93 replies

I have a test fixture that uses RS-232 to communicate with a PC. It actually uses the voltage levels of RS-232, even though this is from a USB...

I have a test fixture that uses RS-232 to communicate with a PC. It actually uses the voltage levels of RS-232, even though this is from a USB cable on the PC, so it's only RS-232 for maybe four inches. lol I'm redesigning the test fixtures to hold more units and fully automate a few features that presently requires an operator. There will now be 8 UUTs on each test fixture an


Definition of an Algorithm

Started by Rick C in comp.arch.embedded11 months ago 18 replies

I recall in one of the early computer science classes I took, a professor defined an algorithm in a mathematical definition. She gave a list of...

I recall in one of the early computer science classes I took, a professor defined an algorithm in a mathematical definition. She gave a list of properties an algorithm had to have to qualify as an algorithm. She also listed some features that were not required, such as being a computer program. I recall these features: 1) Output - without output a procedure is pointless.


Matrix math C++ class library for MCUs?

Started by Dave Nadler in comp.arch.embedded11 months ago 4 replies

Hi Guys - I'm searching for a C++ matrix math library suitable for Kalman filter implementation on MCUs. I found a few but they may be...

Hi Guys - I'm searching for a C++ matrix math library suitable for Kalman filter implementation on MCUs. I found a few but they may be zombies, for example Eigen https://stackoverflow.com/questions/73883276/eigen-matrix-template-library-over-arm-cmsis-dsp got crickets. What do you guys use? Thanks in advance, Best Regards, Dave


Embedded Linux processors

Started by Theo in comp.arch.embedded11 months ago 15 replies

I was idly looking to see what was out there in the low end Linux space - something bigger than an ESP32 but more production friendly than a...

I was idly looking to see what was out there in the low end Linux space - something bigger than an ESP32 but more production friendly than a Raspberry Pi. I came across this excellent guide: https://jaycarlson.net/embedded-linux/ He builds dev boards for 10 different chips from 7 vendors, just to see how it all goes - both hardware and software. The results are quite interesting. An...


QFN packages and layout on crowded PCBs

Started by Rick C in comp.arch.embedded11 months ago

I've been looking at alternative chip packages to improve routing on tight boards. It seems like the issue is space for vias. Leaded surface mount...

I've been looking at alternative chip packages to improve routing on tight boards. It seems like the issue is space for vias. Leaded surface mount parts have space under the chip body for vias. Most QFN devices do not, they have a thermal pad. A 16 pin TSSOP has a solder pad footprint of 5 mm x 7.3 mm, leaving a 5 mm x 4.3 mm space underneath for routing. I can fit a bunch of routin


Override libc functions

Started by pozz in comp.arch.embedded11 months ago 8 replies

Many times I'd like to replace libc functions in embedded systems, because of some tests or because I need a different implementation. For...

Many times I'd like to replace libc functions in embedded systems, because of some tests or because I need a different implementation. For example, sprintf implementation of newlib uses malloc and I can't use it many times. It sometimes happens that I can use malloc, with some restrictions. Just for test or optimization, I replace libc malloc with my own implementation. In these cas...


Run-time diagnostics in deliverables

Started by Don Y in comp.arch.embedded12 months ago

I design with a real-time, live "monitor" in my projects. It gives me low level access to everything happening in the device AS it is happening....

I design with a real-time, live "monitor" in my projects. It gives me low level access to everything happening in the device AS it is happening. I can attach to a particular process and examine/alter objects in its address space, pause/resume, stop/restart, etc. It's a poor-man's ICE with limited footprint (unlike supporting a full debugger in the release). For certain classes of projec...


Useful bonus feature

Started by Andrew Smallshaw in comp.arch.embedded12 months ago 3 replies

I'm just doing some rough prototyping at the minute and to save squinting I put a identifying label on the MCU showing part no and orientation,...

I'm just doing some rough prototyping at the minute and to save squinting I put a identifying label on the MCU showing part no and orientation, from one of those thermal Dymo-style labelling machines. What I hadn't anticipated is the bonus feature - these are thermal labels so of course give a visual indication when the magic smoke gets let out. http://andrews.freeshell.org/news/20220821.c...


IAR ARM Cortex-M compiler does not align stack on 8-byte boundary

Started by StateMachineCOM in comp.arch.embedded1 year ago 6 replies

ARM ABI says that the stack should be 8-byte aligned, but I see cases where the stack is aligned only to 4-byte boundary. For example, I have...

ARM ABI says that the stack should be 8-byte aligned, but I see cases where the stack is aligned only to 4-byte boundary. For example, I have the following simple busy-delay function: void delay(int iter) { int volatile counter = 0; while (counter < iter) { // delay loop ++counter; } } This compiles with IAR EWARM 9.10.2 on ARM Cortex-M to the following


Why use non-free compilers (Keil, etc) for architectures supported by SDCC?

Started by Philipp Klaus Krause in comp.arch.embedded1 year ago 26 replies

I wonder why some developers choose non-free compilers (Keil, IAR, Cosmic, Raisonance, etc) when targeting architectures supported by the free...

I wonder why some developers choose non-free compilers (Keil, IAR, Cosmic, Raisonance, etc) when targeting architectures supported by the free Small Device C Compiler (SDCC). Answears that also mention the architecture besides the reasons would be particularly helpful.


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright