Latest threads in Embedded Programmingshow only best voted threads

Subject Author Posted Replies
 
Bluetooth module master HSP and SPP?
We're going to synthesize some audio and want to transmit over Bluetooth from our embedded device to a Bluetooth headset. Also need to do SPP output. We can provide audio output over I2S or just...
 
I2C bus recovery
I wanted to implement an I2C bus recovery during initialization. The reason is well known in literature[1]. I read the function i2c_generic_recovery[2] of Linux kernel, but I don't understand one...
7
7
 
2022 Supercon badge is a 4-bit MCU
This is pretty cool! Would be even better if it was MSI hardware rather than a PIC emulating that, but still. <>Clifford Heath. The 2022 Supercon Badge Is A Handheld Trip Through Computing History |...
 
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
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
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
 
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
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...
 
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
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...
15
15
 
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...
 
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
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
 
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....
 
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
3