Українською
  In English
Feed aggregator
In the 1970s, Intel discovered that radioactivity was flipping 1s to 0s in their DRAM ICs.
| submitted by /u/1Davide [link] [comments] |
Radar unit from a VC 10 aircraft
| submitted by /u/1Davide [link] [comments] |
Entry-level MCUs ease system control

Toshiba is sampling its TXZ+ Entry-Class M4H microcontroller group for small-scale system control of consumer and industrial equipment. Powered by a 120-MHz Arm Cortex-M4 core with an FPU, the devices deliver the real-time performance needed for applications ranging from home appliances to factory automation.

M4H MCUs operate from a 2.7-V to 5.5-V supply, supporting 5-V powered equipment. A built-in high-speed oscillator provides ±1% accuracy across a –40°C to +105°C temperature range, eliminating the need for an external oscillator. Integrated peripherals include a 12-bit ADC, timers, UART, SPI, I²C, and DMA. The devices also feature an advanced programmable motor driver for brushless DC motor control.

Engineering samples are available for evaluation, along with starter kits, sample software, CMSIS-compliant drivers, and support for major IDEs.
TXZ+ Entry-Class M4H product page
Toshiba Electronic Devices & Storage
The post Entry-level MCUs ease system control appeared first on EDN.
SiC modules simplify high-voltage topologies

Two 3.3-kV SiC power modules from Wolfspeed target high-voltage energy infrastructure, including AI data centers, renewable energy systems, and grid equipment. The HAB900C33LM4 half-bridge baseplate module supports applications above 800 A, while the IBB020A33GM4 full-bridge baseplate-less module is rated for 100 A. Both modules accommodate 2-kV and higher DC-link architectures, allowing designers to reduce power stages and use simpler 2-level topologies.

Part of the LM platform, the HAB900C33LM4 half-bridge module is intended for converters used in solar, grid-scale energy storage, and wind-power systems. Wolfspeed states that it delivers up to 42% lower switching losses than comparable SiC products and more than 90% lower switching losses than IGBTs under the same test conditions. A member of the WolfPACK family, the IBB020A33GM4 baseplate-less device is designed for modular converter architectures, including solid-state transformers and series-stacked or parallel systems.
Both power modules use Gen 4 SiC technology and advanced packaging techniques, including sintered die attach, to enhance durability and power-cycling performance. Wolfspeed says the modules also maintain switching performance over temperature, helping reduce the size of magnetics and EMI filters while increasing system power density.
Samples of the HAB900C33LM4 and IBB020A33GM4 in industry-standard packages are available through Wolfspeed’s direct sales representatives.
The post SiC modules simplify high-voltage topologies appeared first on EDN.
AMD enables AI agents with Ryzen platforms

AMD has introduced the Ryzen AI Halo developer platform alongside Ryzen AI Max PRO 400 Series processors to support next-generation agentic AI systems. Both platforms are designed to run AI workloads locally, reducing reliance on cloud infrastructure while supporting low-latency operation, real-time response, and large memory footprints. AMD says the platforms target AI-enabled PCs and workstation-class systems that can execute complex AI workflows, including autonomous agents, on a single machine.

The Ryzen AI Halo developer platform is powered by Ryzen AI Max+ 395 processors and provides up to 128 GB of unified system memory, allowing developers to run AI models with up to 200 billion parameters locally. Designed as a compact AI development system, it supports both Linux and Windows environments and works with frameworks including PyTorch, vLLM, llama.cpp, Ollama, ComfyUI, and LM Studio. AMD ROCm software optimization further supports local execution of large language models, diffusion models, and agent-based workflows.
Based on AMD’s Zen 5 architecture, Ryzen AI Max PRO 400 Series processors combine RDNA 3.5 graphics, an XDNA 2 NPU, up to 192 GB of system memory, and 160 GB of VRAM. The processors target commercial AI PCs, mobile workstations, and compact desktop systems handling AI, simulation, and visualization workloads.
Ryzen AI Halo systems will be available through Micro Center, with pre-orders starting in June 2026. AMD plans to expand the platform in the third quarter of 2026 with Ryzen AI Max PRO 400 Series processors.
The post AMD enables AI agents with Ryzen platforms appeared first on EDN.
LED controller trims automotive power loss

The MLX81119 RGB LED controller from Melexis integrates a 1-A DC/DC converter to reduce power dissipation in automotive lighting systems. The converter generates an optimized local LED supply voltage programmable from 2.5 V to 6 V.

Unlike external DC/DC converters, which add heat, components, and layout complexity, the MLX81119’s converter dynamically adjusts the LED supply voltage to match the active color mix and operating conditions. This helps minimize power losses and thermal stress. With lower power dissipation, reduced component count, and smaller space requirements, the MLX81119 is well-suited for space-constrained vehicle applications such as door panels, dashboards, and charge-port lighting.
The MLX81119 provides 18 low-side current sources configurable up to 60 mA with independent 16-bit PWM control. It supports up to six RGB LEDs per device for smooth color transitions and lighting animations. Built-in direct and indirect temperature sensing enables active compensation across all channels to maintain stable color points over the automotive temperature range.
Along with a 16-bit MCU and 32 KB of flash, the MLX81118 integrates a complete LIN system, including a transceiver and protocol handler compliant with LIN 2.x and SAE J2602. It also supports implementations up to ASIL B for functional safety-relevant interior and exterior lighting applications.
The post LED controller trims automotive power loss appeared first on EDN.
Automotive bipolar latch boosts magnetic sensitivity

An automotive bipolar Hall-effect latch from Diodes, the AH3711Q provides high magnetic sensitivity with operate and release points of ±10 Gauss. It can be used for brushless DC motor control, rotational speed measurement, linear and incremental rotary encoders, and position sensing. Typical applications include tailgate opening and closing mechanisms, motorized sunroofs, and power windows.

The high sensitivity of the AH3711Q enables detection of weaker magnetic fields, allowing the use of smaller magnets to reduce system size and BOM cost. Increased magnetic margin also permits greater duty-cycle reduction, lowering power consumption and extending battery life.
Operating over a 3-V to 27-V range, the Hall-effect latch integrates a reverse-blocking diode and Zener clamp on the supply, while the output includes overcurrent limiting and a Zener clamp. A chopper-stabilized design minimizes switch-point drift across the full -40°C to +150°C temperature range. These features protect against 40-V load dumps, reverse polarity, and short circuits. High 8-kV HBM and 1-kV CDM ESD ratings further enhance robustness in harsh environments.
The AEC-Q100 qualified AH3711Q is priced at $0.20 in 2,000-piece quantities.
The post Automotive bipolar latch boosts magnetic sensitivity appeared first on EDN.
A closer look at Huawei’s chip design workaround without EUV

Huawei’s new chip design and how it aims to bypass Moore’s Law amid a lack of access to the latest EUV lithography is now the talk of the tech town. At the heart of this semiconductor breakthrough is 3D stacking—which Huawei calls LogicFolding—alongside aggressive use of hybrid bonding technology. Huawei’s He Tingbo recently presented details of this 1.4 nm chip—to be released in 2031—at an industry event in Shanghai, China.
Read the full story at EDN’s sister publication, EE Times.
The post A closer look at Huawei’s chip design workaround without EUV appeared first on EDN.
DEFTECH Bharat 2026 Concludes Successfully, Sets Stage for Expanded 2027 Edition at BIEC
DefTech Bharat successfully concluded its 2026 edition in Bengaluru, reaffirming its position as one of India’s emerging platforms for aerospace, defence, and space technology collaboration. Held from May 20–22, 2026, at the Karnataka Trade Promotion Organisation (KTPO), Whitefield, the exhibition and conference attracted strong participation from defence manufacturers, technology developers, government stakeholders, startups, research institutions, and international delegations.
According to the organisers, the exhibition featured over 200 exhibitors from India and more than 12 countries, showcasing advanced technologies and next-generation solutions across air, land, sea, cyber, and space domains. The event also saw participation from more than 15,000 business visitors, including procurement officials, defence personnel, OEMs, system integrators, engineers, and policymakers.
The co-located DEFTECH Conference brought together industry leaders, technology experts, and government representatives for strategic discussions on indigenous defence manufacturing, AI-enabled warfare systems, aerospace innovation, cybersecurity, advanced electronics, and C4ISR technologies. More than 20 conference sessions and technical seminars were organised during the three-day event, focusing on technology collaboration, innovation pathways, and future battlefield requirements.
A major highlight of DEFTECH Bharat 2026 was the extensive display of cutting-edge technologies including autonomous and unmanned systems, UAVs and counter-drone solutions, AI-driven surveillance platforms, defence electronics, rugged embedded systems, aerospace subsystems, secure communication technologies, radar and sensor systems, additive manufacturing, semiconductor solutions, cyber defence technologies, and advanced manufacturing equipment. Live demonstrations and interactive technology showcases generated strong interest among both domestic and international visitors.
The exhibition also served as a strong networking and business development platform, enabling direct interaction between OEMs, MSMEs, startups, R&D organisations, armed forces representatives, and global technology providers. Several exhibitors reported high-quality business enquiries and strategic partnership discussions during the event.
Building on the strong response to the 2026 edition, the organisers announced that the next edition of DEFTECH Bharat will be held from May 19–21, 2027, at the Bangalore International Exhibition Centre (BIEC), Bengaluru. The move to the larger BIEC venue comes in response to increasing exhibitor demand and rising visitor participation. The exhibition area for the 2027 edition is expected to expand significantly to accommodate a broader range of aerospace, defence, homeland security, and space technology exhibitors.
With India accelerating its focus on indigenous defence production and technology-led modernisation under the Atmanirbhar Bharat initiative, DEFTECH Bharat continues to evolve as an important industry platform connecting innovation, manufacturing, research, and strategic capability development for the future defence ecosystem.
The post DEFTECH Bharat 2026 Concludes Successfully, Sets Stage for Expanded 2027 Edition at BIEC appeared first on ELE Times.
~0.1% resolution capacitive position sensor

Simple circuit ratios sensor capacitance to reference capacitor to measure micrometers.
It’s hard to imagine a simpler electromechanical sensor than the capacitance type, consisting of little more than two plates (or even just one if the sensed target is conductive) separated by a dielectric (e.g. air). Sensor capacitance is approximately: C = 8.854pF S/d where S = area of the plates and d = their separation (both in meters). C then becomes a sensitive readout of plate separation.
Wow the engineering world with your unique design: Design Ideas Submission Guide
Here’s a plausible example. With 38mm diameter circular plates and initial separation of 1mm, you get a nominal capacitance of C = 8.854pF * 0.0382 * pi / 4 / 0.001 = 10pF. C would span 3.3pF at d = 3mm to 33pF at d = 0.3mm which, with a little math, can be converted into the distance between the plates. But how to measure C?
For that, we’ll need an interface circuit. The one in Figure 1 is a suitably simple match for the simplicity of the capacitive sensor itself, consisting of just 8 inexpensive off-the-shelf (OTS) parts. Here’s how it works.

Figure 1 U1a and U1b cross-coupled Schmidt trigger timers form a ~1MHz RC multivibrator. For the example sensor dimensions and parts values, Output duty factor = x = Out / 5V = d/(d + 1mm). Therefore d = x/(1 – x)
U1a and U2a form an RC timer with a time constant equal to R1Csense while U1b and U2b do the same job for R2Cref. Cross coupling them as shown in Figure 1 creates a square wave oscillator whose ~1MHz cycle on U1 pin 3 consists of dwelling at +V for Tref = 50ksec Cref = 500ns and at zero for Tsense = 50ksec Csense = 500ns / d where d, as earlier, is measured in mm.
Thus, the Output duty factor “x” = Tref / (Tref + Tsense) = 500ns / (500ns + 500ns / d) = 1/(1 + 1/d) = d/(d + 1). Starting from x = d/(d + 1), a bit of rearranging yields x(d + 1) = d, then xd + x = d, x = d(1 – x), and finally d = x/(1 – x). Figure 2 shows how this math performs when the Out signal is fed into a 12bit ADC.

Figure 2 This graph shows sensor performance when Out is connected to a 12bit ADC using +5V for its reference. The black curve (left axis) = plate separation (d) in millimeters, while the red curve (right axis) = ADC least significant bit (LSB) resolution in micrometers. Note that the resolution is close to 0.1% (d/1000) over much of the range.
Details of circuit operation include the inherent matching and tracking of U1’s gates simply because they share the same chip, and of accurate duty factor digitization if the connected ADC uses +5V as its reference voltage. Asterisked parts (R1, R2, and Cref) are precision types. Stray wiring and layout capacitances should be scrupulously minimized.
If there’s a chance the sensor plates might come into contact and short out, then it’s a good idea to protect U2 with a series capacitor. 0.1uF (from the same bag as C1 and C2) will work well and be sufficiently larger than Csense such that its precision and stability (or lack of thereof) won’t matter. I’d also put another one in series with Cref, although it’s not strictly necessary, just so things look more balanced.
If your application needs position sensing in two dimensions (e.g. an XY stage), the other halves of U1 and U2 are ready and willing, which helps to keep things capaciously and suitably simple!
Stephen Woodward‘s relationship with EDN’s DI column goes back quite a long way. Over 200 submissions have been accepted since his first contribution back in 1974. They have included best Design Idea of the year in 1974 and 2001.
Related Content
- Capacitor matchmaker
- CMOS flip-flop used “off label” implements precision capacitance sensor
- From gap to signal: Non-contact capacitive displacement sensors
- Simple circuit interfaces differential capacitance sensor
- The sensor parade at CES 2025
The post ~0.1% resolution capacitive position sensor appeared first on EDN.
Microchip launches 3.3kV HV D3 mSiC power modules to enable solid-state transformers for AI data centers
ST adds 700V PowerGaN devices to STPOWER portfolio
Наукова спадщина професора Валентина Чермалиха
16 квітня 2026 року минуло 100 років від дня народження заслуженого діяча науки і техніки України, академіка Академії інженерних наук України, заслуженого професора КПІ, доктора технічних наук Валентина Чермалиха (1926-2022), який понад 30 років (1973-2006) очолював кафедру автоматизації управління електротехнічними комплексами (до1999 р. кафедра автоматизації гірничої промисловості) Навчально-наукового інституту енергозбереження та енергоменеджменту (раніше – факультет гірничої електромеханіки та автоматики).
💡Запрошуємо на онлайн воркшоп-вебінар, присвячений розвитку ерготерапії та сучасної системи реабілітації в Україні
Шведська організація Beredskapslyftet спільно з БО БФ «КОЛО» та КПІ ім. Ігоря Сікорського (факультет біомедичної інженерії), за підтримки Шведського інституту проведуть онлайн воркшоп-вебінар, присвячений розвитку ерготерапії та сучасної системи реабілітації в Україні.
Zephyr 4.4.0 Collaboration with STMicroelectronics Boosts the Entire Industry
ST announces Zephyr 4.4.0 is adding support for the STM32C5, STM32H5E/F, STM32U3C5, as well as the X-NUCLEO-IKS5A1 daughter board, the EVKITST87M01-1 evaluation kit, and the ST B-DSI-MB1314 touch-sensitive display, among many other things, such as sensors and modems (ST87M01). It’s a testament to the collaboration between ST and the Zephyr community. Over the years, ST prevail drivers, optimize performance, and supports new features. And while we do have partners who use Zephyr and benefit from these contributions, this also stems from our desire to work with open-source projects that help democratize real-time operating systems and lower the barrier to entry.
The ST software ecosystem, encompassing the STM32Cube suite and tools like MEMS Studio, provides engineers with low-level device access and accessible machine learning capabilities. Through utilities such as NanoEdge AI Studio, the company facilitates edge AI development and optimizes hardware accessibility for a broad user base. For more insights, visit the ST Blog.
STM32Cube Ecosystem and the other ST software that grant developers low-level access to devices, such as MEMS Studio, which makes machine learning on sensors even more approachable. For many, tools like STM32CubeProgrammer help make the hardware more accessible, while ST’s software packages for its microcontrollers, microprocessors, sensors, and more provide drivers, middleware, example code, and more. Recently, utilities like NanoEdge AI Studio help programmers and software engineers work on neural networks and optimize their AI applications at the edge, thanks to features like synthetic data generation.
The Zephyr project provides a necessary, agnostic system for organizations managing diverse hardware, offering a unified abstraction layer that enhances portability and interoperability for complex, multi-vendor projects. By utilizing this open-source platform, developers can establish a flexible foundation for building proprietary subsystems and avoid vendor-specific lock-in. You can read the full analysis at ST’s official website.
The importance of the collaboration between ST and Zephyr
ST contributes to the Zephyr project and supports its low-level APIs. Concretely, it means we work with Zephyr to support numerous peripherals and interfaces, including USB modules, LCD-TFT display controllers, networking interfaces, and much more. Since the beginning of the Zephyr project, ST engineers have contributed to the Zephyr codebase and the support community. In certain instances, we even help with critical technologies, such as low-power modes, recognizing that our contribution will benefit more than just the engineers using our products. Another aspect of ST’s work on the Zephyr project is the significant effort that involves reviewing community contributions to the STM32 codebase. It may include new board support, bug fixes, and even complete drivers pushed and maintained by external contributors. Over time, these contributions have been responsible for a significant part of the STM32’s current status.
New MCU Support
The STM32N6 Discovery Kit with a CMOS sensor running a person detection application. Zephyr 4.4.0 is a good example of dedication to the project. Similar to frequent updates to STM32CubeProgrammer bringing new STM32 MCU support, this new version of Zephyr adds support for the STM32C5, STM32H5E/F, the STM32U3C5, and the STM32WBA2X. In some instances, like the STM32C5, this version adds support for DMA, I2C, SPI, ADC, timers, and watchdog. Since we just launched the STM32C5, Zephyr 4.4.0 is an inaugural release for the new series. For other devices in an existing series, the MCU support builds on what is already in place, enabling developers to leverage new part numbers.
New Middleware Features
Beyond the device itself, ST also brings updates to its drivers or middleware. For instance, among many improvements, v4.4.0 brings performance enhancements on STM32, adds RTIO and optimizes DMA in SPI STM32 drivers, and adds a stream API for ADC STM32 drivers. We also added the ability to inject ADC channels to enable immediate execution, overriding the regular sequence. Similarly, Zephyr 4.4.0 adds a portable API to read the one-time programmable non-volatile memory on STM32 MCUs. Usually, that means an ADC sensor can now access calibration data. We are also starting to make our I3C interfaces available on our STM32MP2 MPU, and we have moved our USB default stack to a newer and more robust version.
The post Zephyr 4.4.0 Collaboration with STMicroelectronics Boosts the Entire Industry appeared first on ELE Times.
Every Electronics student can relate🥲🥲
| submitted by /u/dealer-products [link] [comments] |
Infineon Exhibits Semiconductor Solutions for Power Infrastructure, AI Data Centers, Robotics, and Electromobility at PCIM Europe 2026
At PCIM Europe 2026 in Nuremberg, Infineon Technologies AG showcases its comprehensive semiconductor portfolio for future-proof power infrastructure, AI data centers, robotics, and electromobility. The company presents a broad range of power system solutions spanning silicon (Si), silicon carbide (SiC), and gallium nitride (GaN) semiconductors, with support of software, tools, and cybersecurity expertise.
Infineon’s PCIM 2026 demo highlights:
- Making power infrastructure future-proof: As renewable energy continues to scale, robust power infrastructure is essential to support energy-intensive applications like AI data centers and advance factories. At PCIM, Infineon demonstrates its semiconductor technologies for efficient battery storage systems, uninterruptible power supplies, Solid-State Transformers (SST), and Solid-State Circuit Breakers (SSCB). Highlights include a demo stack for SSTs, along with SSCB components based on CoolSiC JFET technology, enabling fault isolation within microseconds and delivering high robustness for future DC grids.
- Powering AI from grid to core: Rapidly rising AI computing workloads are driving a sharp increase in data center energy demand and accelerating the shift toward new power architectures such as HVDC sidecars and DC microgrids. At PCIM, Infineon presents a comprehensive portfolio of Si, SiC, and GaN supporting this transformation from grid connection to processor core. Exhibits include power semiconductors, drivers, microcontrollers, and sensors for the latest power supply units, as well as solutions for battery backup units, intermediate bus converters, voltage regulation, and intelligent protection devices.
- Shaping the future of electromobility: Infineon is advancing electromobility as the global market leader in automotive semiconductors. PCIM highlights the link of this area, including solutions for traction inverters, DC-DC converters, on-board chargers, and battery management systems. Visitors can explore the company’s “One Inverter, One Infineon” system solution to improve drivetrain efficiency while optimizing space and cost. Additional demos showcase CoolSiC and CoolGaN power switches, the new EasyPACK S and CIPOS Prime module solutions, XENSIV sensors, and AURIX TC4xx microcontrollers.
- Empowering robotics: Robots are rapidly evolving toward physical AI systems that can sense, think, and act. At PCIM, Infineon will showcase semiconductor solutions supporting this evolution across industrial and domestic robots, humanoids, and drones. Demos include high‑efficiency motor control and power management solutions based on CoolGaN power semiconductors, PSOC Control C3 microcontrollers, and XENSIV sensors, enabling compact designs, precise control, and robust operation in future robotic applications.
- EU Cyber Resilience Act: Infineon highlights its commitment to security. At PCIM, experts will address upcoming regulatory requirements of the EU Cyber Resilience Act, illustrating how secured‑by‑design semiconductor solutions enable customers to meet compliance demands while strengthening product differentiation.
Infineon also contributes to the PCIM conference program and the various expo stages. An overview of all presentations by Infineon experts is available at www.infineon/pcim.
The post Infineon Exhibits Semiconductor Solutions for Power Infrastructure, AI Data Centers, Robotics, and Electromobility at PCIM Europe 2026 appeared first on ELE Times.
Implementing feature rich applications on entry-level MCUs

Microcontrollers (MCUs) come in a wide array of sizes for every application, from power optimized 8-bit to 32-bit high-performance MCUs running a dedicated operating system. The amount of MCUs needed to achieve a specific application is a difficult question with no correct answer. Going too high on the spectrum creates a more expensive design, while going too low makes it difficult or impossible to implement, wasting development time.
One way to help select a product is by seeing the reference designs and demos that someone else has already made. This provides a benchmark, or point of reference, that can be used to figure out if an application is feasible and cost-effective.
As an example of this, consider this IoT irrigation demo. The demo runs on the PIC32CM-GC00 family of MCUs, which sports an ARM Cortex-M23 CPU at 72 MHz. An M23 class CPU is an entry-level device architecturally, but the max frequency of 72 MHz is higher than most, which allows this part to perform tasks that are too intensive for entry-level, but don’t require the complexity of a mid-range or high-performance CPU.
In this demo, MQTT networking for smart connectivity, a 320 × 480 display over SPI with 16-bit color, and a capacitive touch keypad for user interactions were implemented on this device, as shown in Figure 1.

Figure 1 The unmounted demo includes MQTT networking, SPI-enabled display, and capacitive touch keypad. Source: Microchip
The reason this demo is achievable on an entry-level device is because of the high CPU clock speed, ample memory, and hardware peripherals. A similar device with a lower CPU clock would struggle in this application under the computational demands of rendering graphics and the latency of transferring data from the MCU to the display controller; or, in other words, the time it takes for a graphics packet to be sent to the display. These performance hits wouldn’t be a hard design failure; instead, it would be a “soft” failure from a usability perspective, which substantially impacts the user experience and perception.
Another performance benefit for embedded designs in graphics is the display controller. Unlike a larger television or computer monitor, the display controller can offload some of the more intensive tasks, like refreshing the display or storing the image buffer. Then, the embedded system only needs to send new pixel data for the changed sections in memory, saving a large number of resources.
Selective refreshing is simple in concept, but when there are a lot of assets moving around, it becomes much more challenging to implement in an efficient manner. Rather than reinventing the wheel, this application uses the Legato graphics library to handle the rendering, and Microchip Graphics Suite to design the graphic user interface (GUI).
Microchip Graphics Suite is a visual editor that allows designers to place objects and set up assets for use at runtime. The demo control screen in Microchip Graphics Suite is shown in Figure 2. When done designing, it generates code that invokes Legato underneath to handle the rendering operations.

Figure 2 Here is the view of the main screen in Microchip Graphics Suite. Source: Microchip
Moving on to the next major piece of this demo, networking. By itself, networking on its own is a herculean task. I’ve written and debugged bare-metal networking code before, and it’s a pain with hundreds of edge cases and little idiosyncrasies that break things. Besides the base complexity of implementing the protocols, the application code must format, send, receive, and parse data on a regular cadence.
Rather than go through that process again, networking and MQTT for this design were implemented by using an add-on board with a networking coprocessor that handles the network management for the main MCU. This greatly reduces the overhead on the main MCU, and it also reduces development costs. Rather than spending engineering time and (my) sanity troubleshooting a network stack implementation to figure out why the networking is not working as expected, the add-on is already tested and is known to be working.
And, to verify that this device would fit the demo needs, I verified it before writing code by using the out-of-the-box (OOB) sample for the module. The OOB program uses a PC to send commands to the add-on board and print the responses. These are saved to a log file which can be cross-referenced later to verify the sequence of operations needed to communicate with the board. Once I am confident that the module will work for this demo, development of a simple networking driver can begin. The RNWF02 add-on board (EV72E72A) uses AT commands to communicate.

Figure 3 The RNWF02 add-on board employs AT commands for communications. Source: Microchip
While the RNWF02 board handles most of the networking complexities, the networking driver on the PIC32CM-GC00 MCU still needs to keep track of the various states of connectivity the hardware is in. For instance, the Wi-Fi connection could be completed, but the device is waiting to receive a DHCP assignment. Without DHCP, an MQTT connection cannot be completed. Another possibility is that the networking is fully functional, but the MQTT broker did not accept the connection.
Finally, there is one more piece to the networking puzzle, the server side. This isn’t the direct responsibility of the main MCU, but it’s still needed to verify the module works as expected. For testing MQTT, I used the Eclipse Mosquitto plug-in broker running on a local network Home Assistant device.
Home Assistant has a few things going for it; it’s open source (Apache 2.0) and it creates a nice, visual remote GUI for the user to interact with, without going through the same process of designing and implementing an interactive user interface (Figure 4). In an end-product, a customized app would likely be used instead, but this provides a good proxy.

Figure 4 The remote GUI is built around the open-source Apache 2.0 tool. Source: Source: Microchip
The last noteworthy element to discuss in this demo is the capacitive touch keypad. This uses the MCU’s built-in peripheral touch controller (PTC) in conjunction with the touch library to determine which keys are being pressed on the keypad. Ordinarily, using the touch library is very simple, with a call to touch_process() in the main loop and checking if the measurements are done.
The touch library handles sample timings inside of its own functional calls. But in this case, since graphic rendering can take a lot of time (milliseconds), even when optimized, the touch library may not run as often as it wants, which leads to poor touch performance and, by proxy, a bad user experience.
To solve this problem, the application calls the touch library from periodic interrupt and queues but doesn’t process any touch events that occurred. Then, when the main loop is hit again, the events are dequeued and processed. This ensures the device maintains a responsive touch interface, even under heavy CPU load.
The takeaway from this application is that high-performance entry-level devices can fill a niche where an application needs to perform an intensive operation, like graphics or networking, while not being complex enough to justify a more sophisticated CPU.
At the end of the day, the point of an irrigation controller is to switch valves on and off on a timer, which is trivial for almost any MCU to accomplish. But the other value-added functions make this too intensive for entry-level performance parts, and that’s where MCUs like PIC32CM-GC00 fit in nicely.
Robert Perkel is a senior application engineer for Microchip Technology. In this role, he develops technical content such as App Notes, contributed articles, and videos. He is also responsible for analyzing use-cases of peripherals and the development of code examples and demonstrations.
Related Content
- MCUs for Space
- Connectivity invigorates MCU designs
- New i.MX MCU serves TinyML applications
- Getting started with ARM embedded MCU design
- How NoC architecture solves MCU design challenges
The post Implementing feature rich applications on entry-level MCUs appeared first on EDN.
Reading "The graphic guide to EMC" to my test equipment
| submitted by /u/1Davide [link] [comments] |



