ANCS and HID: Controlling Your iPhone From Zephyr
EmbeddedRelated.com
by
2d ago
Introduction In a previous blog post (https://embeddedrelated.com/showarticle/1630.php), we learned how we can configure our nRF52840 development kit (https://www.nordicsemi.com/Products/Development-ha...) as a Bluetooth Low Energy (BLE) device using The Zephyr Project. Similarly, we learned how to advertise standard and custom capabilities.  In this blog post, we will take ..read more
Visit website
You Don't Need an RTOS (Part 3)
EmbeddedRelated.com
by
1w ago
At least, probably not as often as you think you do. Using a preemptive RTOS can help make a system schedulable (i.e. help all of its tasks meet their deadlines) but it comes at a cost: "concurrently" running tasks can interact in unforeseen ways that cause system failures, that dreaded class of errors known as "race conditions". In part, this is because humans have difficulty thinking ..read more
Visit website
How to use I2C devices in (Apache) NuttX: Adding support for an I2C device in your board
EmbeddedRelated.com
by
1w ago
Previously in this EmbeddedRelated article, we saw how to find an I2C device connected to your board using the i2ctool that is very familiar for people with previous experience with embedded Linux. Today we will see how to add support to an I2C device (i.e. BMP280 sensor) in your board. So, lets to get started! NuttX uses a very simple approach to interface with devices ..read more
Visit website
Core competencies
EmbeddedRelated.com
by
2w ago
There is a good, albeit rather general, rule that applies to the management of a successful business: focus on what you do well, then do it better than everyone else. There are numerous examples of how companies have been very successful by following this approach. But the world of embedded software is commonly an exception … To start with, I can cite some examples of good practice: Have ..read more
Visit website
C++ Assertion? Well Yes, But Actually No.
EmbeddedRelated.com
by
1M ago
Assertions are a simple tool you can use to enforce required conditions. Let's say you have a function that computes the square root of a number. Possibly nothing good would happen should this function be called with a negative argument. Maybe you even stated in the documentation for this function that it has to be called with a non-negative argument, but the program is running and ops, the ..read more
Visit website
Getting Started With CUDA C on an Nvidia Jetson: A Meaningful Algorithm
EmbeddedRelated.com
by
1M ago
In the previous blog post, Getting Started With CUDA C on an Nvidia Jetson: GPU Architecture, I described how the underlying architecture of a GPU makes it ideal for graphics image processing. In the prior blog post, Getting Started With CUDA C on an Nvidia Jetson: Hello CUDA World!, we implemented a simple array addition algorithm using a GPU and a CPU. Unfortunately, we observed no ..read more
Visit website
Introduction to PIC Timers
EmbeddedRelated.com
by
1M ago
Continuing getting started with PIC 8-bit development, this fourth in a series of five articles looks at configuring and using timers on the PIC 8-bit platform.   Topics discussed include: PIC Timers Timer0 Module Timer Application The completed code for this post can be downloaded from GitHub. PIC®, MPLAB® X, PICkit™ 4 On-Board, and ..read more
Visit website
You Don't Need an RTOS (Part 2)
EmbeddedRelated.com
by
1M ago
At least, probably not as often as you think you do. Using a preemptive RTOS can help make a system schedulable (i.e. help all of its tasks meet their deadlines) but it comes at a cost: "concurrently" running tasks can interact in unforeseen ways that cause system failures, that dreaded class of errors known as "race conditions". In part, this is because humans have difficulty thinking ..read more
Visit website
Unuglify C++ FSM with DSL
EmbeddedRelated.com
by
1M ago
This is the third installment of my finite state machine in C++ series. In the first post, I introduced the subject of a state machine and how to go from a trivial but poor implementation to a more robust and better scalable one. In the second article, I showed how to decouple the implementation of the state machine engine (for reuse) and the specific part (that can't be ..read more
Visit website
Turn It On Again: Modeling Power MOSFET Turn-On Dependence on Source Inductance
EmbeddedRelated.com
by
1M ago
This is a short article explaining how to analyze part of the behavior of a power MOSFET during turn-on, and how it is influenced by the parasitic inductance at the source terminal. Parasitic inductance is not a good thing — the word parasite in biology refers to an external thing that feeds off a host organism; while ..read more
Visit website

Follow EmbeddedRelated.com on FeedSpot

Continue with Google
Continue with Apple
OR