Skip to main content
9 answers

"Could not find Cortex-M device in the JTAG chain!" (TM4C123g)

The board was working fine but all of the sudden I can't download any code on it from Keil. Whenever I try to download code on the board, I get "Could not find Cortex-M device in the JTAG chain! ...

6 answers

Relay Contact Sticking and Driver issue

I am using a RELAY Rated 5V/5A (HONGFA HF49FD, coil resistance 210 Ohm) to switch a 200 watt heater (230 VAC). A transistor driver circuit connected between microcontroller and the relay. Transistor ...

2 answers

Learning how to design and fabricate a custom PCB for a microcontroller

I am a computer engineering student with a solid foundation in basic electronics, microcontroller programming (C and AVR assembly), and various circuit analysis principles. I'm keen on designing my ...

0 answers

STLink V2 in cube programmer says unable to get core ID

I am trying to program a Wio-E5 chip on a custom PCB using an STLink V2 over JTAG. We are sure that everything is wired correctly to the pins but in the programmer the console says "unable to get ...

2 answers

A simple circuit to provide 3.3V for a MCU from AAA batteries

I'm designing a simple circuit to power an MCU at 3.3V. Expected current 10-50mA. My schematic is below. Can you provide any feedback or suggestions? The PWR is perhaps a bit confusing. When the ...

3 answers

Battery voltage select and ADC measurement (OpAmp + uC)

I need to measure battery voltage which supplies my electronics. Vbat supplies buck-boost DC/DC converter then goes to uC and other ICs (3,3V). I want to use 3x2 goldpins in conjunction with OpAmp to ...

1 answer

Interface ADC with STM32F103 over SPI

The ADC is ADS1256 which is a 24 bit 8 channel ADC. I will use 1 kHz sampling rate and there will be 3 ADCs, 21 channels used in total. The channels will be single ended. I plan to run the MCU on a 40  ...

1 answer

Nucleo-F767ZI won't start if powered through external 5 V

I'm trying to power a Nucleo-F767ZI demoboard through external 5 V (through E5V pin). When it's powered by USB, the code runs as expected(some LEDs blink), but when I attach the external 5 V, and I ...

1 answer

STM32F407VE led toggling using momentary switch

I am using STM32F407VET6 development board. It has inbuilt momentary switches K0 (PE4) and LEDs D2 (PA6).I am trying to turn ON the LED only when I pressed the switch. But when I pressed the switch it ...

1 answer

USB 2.0 configuration for STM32

This is a USB 2.0 configuration using USB-C to use on my STM32F205ZGT6 MCU (Datasheet). I followed the USB standard guidelines for resistor values and the datasheet of the AMS1117. The problem here is ...

3 answers

Controlling button press on key fob using microcontroller

I have a battery-powered fob remote, and I want to convert it from being operated via a manual button press to being controlled by a microcontroller. The fob looks like this: After making some ...

1 answer

SD758A IC Datasheet Needed (PS2 Controller Microcontroller) — Where to Find?

I’m working on a university electronics project involving a PlayStation 2 (PS2) controller PCB. The main IC on the board is marked: SD758A This appears to be the primary microcontroller/encoder ...

4 answers

Baremetal programming startup code getting deeper

I can write a basic startup code for an STM32F401 but i would like to go deeper and don't know where to go next. Basically: i get all the steps for compilation and linking. Using a linker script, ...

2 answers

Need help finding an elusive datasheet for CHKC14B5A with manufacturer logo "AB"

The IC in question is labeled as "CHKC14B5A" and appears to be some sort of Bluetooth controller. The only places that seem to sell this particular chip are Chinese websites such as ...

2 answers

Making sense from the plethora of crystals: spotting active models vs passive models reading the datasheets

I made my way through board design as an ill-accustomed designer which expected ESP32 everywhere. This has to be understood in this sense: Never ordered a crystal in my life. Now, I'm working with a ...

1 answer

How do I connect the TLE4973’s single‑wire UART (DCDI) to a 3.3 V MCU UART?

This is a continuation of this question. I’m using an Infineon TLE4973 current sensor. It has a DCDI pin, which the datasheet describes as a single‑wire, open‑drain, UART‑based interface ...

1 answer

Can I pull the TLE4973’s open‑drain DCDI bus up to 3.3 V while the sensor runs at 5 V

Context / Setup Sensor: Infineon TLE4973 (coreless current sensor) Supply (VDD): 5 V nominal. Interface pin in question: DCDI (Digital Control Diagnostic Interface), a one‑wire UART‑based, open‑drain ...

1 answer

PIC32MZ UART HAL Strange Behavior

I am writing a hardware abstraction layer for a PIC32MZ2048EFH064. Right now I am focusing on UART. I am fairly inexperienced with low level programming but I have done a few simple projects with ...

1 answer

Finding information on this IC for an ABS module need to find datasheet or way to decode pins

Need help finding information on this IC for an ABS module need to find datasheet or way to decode pins.

1 answer

Turn off MCU itself via Firmware using a load switch IC without latching. No hardware switch

I am currently working on a solution of turning off power of whole PCB including the MCU by controlling the load switch IC. As far as this step is concerned, it's pretty simple to implement. Is there ...

2 answers

MCU GPIO output voltage not going down to 0V

I'm driving some loads from an MCU (AT89S52) through an ULN2803 Darlington array. High output turn the loads on without problem however when output is set to low in code, the actual output doesn't go ...

2 answers

Determining the appropriate capacitor for an MCU ADC pin

How do I select the correct capacitor value for a microcontroller ADC input? What calculations and parameters are involved?

1 answer

Supercapacitor backup supply leaking into main 3.3 V rail through MOSFET latch – how to prevent reverse powering?

I designed a power-path circuit to supply a microcontroller from two sources: Main 3.3 V regulator (normal operation) Supercapacitor backup (used when main power is lost so MCU can enter low-power ...

1 answer

What's the CPOL and CPHA of this trace?

What s the CPOL and CPHA of the trace below? I think its CPHA = 0 and CPOL = 1, but I am not sure, and this is my first time doing this. Edit: The microcontroller it runs on is the Pico, which uses ...

1 answer

Meaning of pins names

As a newbie, I am trying to play a lot with Arduino, Raspberry Pi, STM Nucleo, etc. and I rarely find any explanation about their pin mapping meaning. Consider those example: Arduino: A0 A1 A2 ... D1 ...

0 answers

Microcontroller long cable switch signal

I have the following pcb setup for which I try to hook up a switch over a 100m cable (two ways). I am currently pulling up the signal to 3.3V and making a ground closing switch but I am afraid that ...

0 answers

Which pins to use for RFM95 on the ESP32-S3 module?

Summary: I am making an ESP32-S3-WROOM-1 based GPS telemetry receiver PCB which is designed for a system that prints various information received from a transmitter onto a SSD1309 based OLED 2.4" ...

1 answer

Using optoisolator model as a switch for a higher voltage

I have a background in mechanical engineering and software, but I am trying to get more into electronics. The problem I am facing is whether it is possible to use a microcontroller to switch a LED ...

1 answer

RS-485 Branching: Is it a good way to "branch" like in the given scheme

Is it a good way to "branch" like in the given scheme? Each cable connecting slave, T-connectors and master has 2 twisted pairs, which are connected together only in a slave node with short ...

2 answers

Why is my circuit consuming power in shutdown mode?

I made this battery powered circuit: The circuit contains a microcontroller, which drives LEDs and a mosfet, and reads inputs such as the button, battery voltage via a voltage meter, and signals from ...

15 30 50 per page
1 2 3