Latest threads in Embedded Programmingshow only best voted threads
Subject | Author | Posted | Replies | |
---|---|---|---|---|
|
Shared Communications Bus - RS-422 or RS-485
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...
93
|
4 months ago
|
93 | |
|
Definition of an Algorithm
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...
18
|
4 months ago
|
18 | |
|
Matrix math C++ class library for MCUs?
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 got crickets. What do you guys use?...
4
|
4 months ago
|
4 | |
|
Embedded Linux processors
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: builds...
13
|
4 months ago
|
13 | |
|
QFN packages and layout on crowded PCBs
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...
—
|
5 months ago
|
— | |
|
Renesas GreenPAK Sales/FAE Support
I've been considering a Greenpak device or two or even three, in a respin of a new design. I've identified three functions that the Greenpak devices could replace on my board, but not all in the same...
14
|
5 months ago
|
14 | |
|
newlib and time()
I often use newlib standard C libraries with gcc toolchain for Cortex-M platforms. It sometimes happens I need to manage calendar time: seconds from 1970 or broken down time. And it sometimes happens...
21
|
5 months ago
|
21 | |
|
Learn how to design state machines and generate code (Ad)
You search for an affordable tool to design state diagrams and generate code from them? The SinelaboreRT focus is on generation of readable and maintainable code from hierarchical UML state machine...
—
|
5 months ago
|
— | |
|
Override libc functions
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...
8
|
6 months ago
|
8 | |
|
IAR ARM Cortex-M compiler does not align stack on 8-byte boundary
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...
6
|
6 months ago
|
6 | |
|
Help with a HardFault on Cortex-M3
I'm stuck with a stupid issue on a Cortex-M3 (LPC1788 by NXP). It's a classical issue that happens randomly and in different ways when the code is slightly changed, so it's very difficult to debug....
—
|
6 months ago
|
— | |
|
Useful bonus feature
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....
3
|
6 months ago
|
3 | |
|
Wide frequency range, arbitrary waveform DDS
To generate frequencies from approximately 0.5 mHz to 12 MHz with a DDS a minimum clock of >24, say 25 MHz, is required. To be able to go down to 0.5 mHz, a phase accumulator of at least 36 bits is...
3
|
7 months ago
|
3 | |
|
The I/O drive characteristics in the Attiny24 Datasheet
Good Morning, I was trying to guess the R_on from the curves in the datasheet and got following results: sinking Ron: 3V 1.4Ohm(maybe wrong) 5V 30Ohm sourcing Ron: 3V 47Ohm 5V 33Ohm I belive the 3V...
1
|
7 months ago
|
1 | |
|
Why use non-free compilers (Keil, etc) for architectures supported by SDCC?
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...
26
|
8 months ago
|
26 |