Questions tagged [embedded]

An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts.

Filter by
Sorted by
Tagged with
1
vote
0answers
47 views

40 pin signal with 50 pin LCD (AT070TN92)

I have a Lichee Pi Nano board with an Allwinner FC100s SOC. The board has a 40 pin LCD-connector which takes the signals from the SOC and the backlight voltage generated separately. I also have a ...
0
votes
1answer
39 views

Read-only for some masters but read-write for other?

Is it possible that a memory/memory region be read-only for some masters/chip components but read-write for others? It is kind of vague question, but from a conceptual point view would this be ...
0
votes
1answer
46 views

ICL3232 and SN75C3232 difference

I'm using ICL3232EIV-16Z-T in one of my projects for UART communication. As per the datasheet, the max speed is 500Kbps. But I've tested this IC for baud rate up to 921600 and there is no data loss. ...
0
votes
1answer
68 views

How to configure atmega 328 IO pins to reduce the power?

I am having a atmega328p for my home project. Consider the pins Pin B2 - connected to LDO enable. Output Pin D7 - MUX s0 Pin B0 - MUX s1 Pin B1 - MUX s2 Pin B4 - MUX s3 Pin c3 - MUX enable Pin B3 ...
1
vote
1answer
115 views

PCB sound memory for toys [closed]

I want to build a toy. The initial build will be a prototype but if the idea 'sells,' I want to build en-masse. For the prototype, as I do not have (beyond what I learnt at Uni) industry experience, ...
1
vote
1answer
82 views

Best practice for handling buffers

I'm writing some evaluation code with a lot of rx/tx operations, using the same two buffers and I started to think about how this could easily go very wrong. I can argue that it is nice to clear/...
-1
votes
0answers
30 views

is it possible to connect two lora module(sx1278) to single lora module to recieve both nodes data

i am planning to do a project in lora where i have multiple lora based sensor nodes and all node are connected to single point to collect data from every sensor , so is it possible to connect single ...
0
votes
1answer
39 views

STM32F042K6U6 BOOT0 pin? Can not understand how to program it with DFU mode

I'm planning out a board and trying to make sure of how to go into DFU mode and the actual program on a STM32F042K6U6. I want to use the K6U6 for the small size, which also rules out using STLINK to ...
-1
votes
0answers
48 views

Connecting an image sensor to an STM32F103 Blue Pill

I am curious if the Blue Pill can be used to pull images from this Image Sensor over its parallel interface? I have found sample code that uses the ESP32 module. The ESP32 uses an STM32F4 chip, so ...
1
vote
4answers
83 views

What is an open collector?

I am new to electronics, and I'm reading a book on embedded systems and bumped into an "Open Collector". I know that a transistor has a base, which acts like a switch for the current to flow from ...
0
votes
3answers
90 views

Emulation in advance CPU Vs Native CPU

My question is very specific but I might face difficulty framing it well so hope I dont get penalized. Background: Playstation 1, houses 32-bit RISC MIPS R3051 processor, running at 33.8688 MHz with ...
0
votes
2answers
54 views

What does fall and rise of clock mean?

Im new to electronics. In fact, I'm a computer scientist looking into embedded systems. I am going through Vol. 1 of Jonathan Valvano's book on embedded systems and got stuck when i read on Gated D ...
1
vote
1answer
50 views

What is an emulator POD?

Jack Ganssle - The Firmware Handbook States ...
0
votes
0answers
54 views

I am unable to read more than 128 samples from ADC1115 if i set it to 250 SPS

I am using ADC1115 to read an analog signal, i have set the register values to read the analog signal @ 250 samples per second, but when i plot the samples in scilab i found that it samples only 128 ...
0
votes
1answer
33 views

Confusing regarding sub domains of main specializations EE?

I want to apply for masters program in Hungary in EE As shown attached snapshot, there are listed 3 secondary specializations: Smart city Smart systems integration Optical Communication I know ...
0
votes
2answers
36 views

Li-Ion Battery Undervoltage Protection

I designed a PCB with a microcontroller and a load that draws 3A on average with current spikes of up to 9A. The PCB is powered by a high-drain Li-Ion battery. I want to add a simple undervoltage ...
0
votes
0answers
54 views

Socket with an embedded relay for microcontroller

I'm working on a project to test device charging. The idea would be to use a micro to turn the socket the charger is plugged into on and off. I need 10 of them so I was wondering if there is an off ...
0
votes
1answer
45 views

VSCode ESP-IDF framework esp32 SPIFFS error

I’ve beet trying for days and days now to make SPIFFS work on my esp32 board using PlatformIO in VSCode following the following example: https://github.com/espressif/esp-idf/tree/master/examples/...
0
votes
1answer
33 views

How to synchronize readings with the HIGH and LOW states of a PWM output?

I would like to oscillate GPIO infrared LEDs at a high frequency and compare the infrared sensor readings when the LEDs are off and when they are on. To do this I would need to synchronize the ...
0
votes
2answers
100 views

Reading ADC value with uV Reference voltage

I'm trying to improve the accuracy of the ADC by amplifying the signal by 1/256 (i.e. 1/2^8) to make 2 8-bit ADC into 16-bit ADC. My question is can the ADC give good results if the ADC values are ...
0
votes
1answer
54 views

Why is a LIN cluster limited to 16 nodes?

It says everywhere that a LIN network can be made up of at most 16 nodes (1 master node and up to 15 slave nodes). The id field however is 6 bits long allowing for more than 15 slaves to be addressed. ...
0
votes
0answers
95 views

Microcontroller vs Microprocessor [Driving External Hardware] [duplicate]

I went through a video on Youtube [2:42], that described "key difference" between a microcontroller and microprocess, apart from other differences, is that "microcontroller has a strong I/O capability ...
0
votes
1answer
56 views

Audio Amplifier Clipping

I designed a PCB with the following audio amplifier on it: https://eu.mouser.com/datasheet/2/302/TFA9896_SDS-1381317.pdf According to the data sheet, the amplifier is able to deliver 2.1W RMS into an ...
0
votes
1answer
45 views

STM32F103R6 (Cortex-M3) trouble with rising edge detection

I'm using Proteus 8.6 for simulation of STM32F103R6 microcontroller with ports C0 connected to a LED and port C1 connected to a button. I'm trying to capture the rising edge of the button so that it ...
3
votes
2answers
303 views

Reading interrupt safe ring buffer

I have a piece of code here that was generated by Atmel START Wizard. It setups a UART and it also creates a ring buffer for reading data. This is the code that reads data from the buffer: ...
0
votes
4answers
114 views

How to choose or design a suitable single board computer (SBC)? [closed]

Programmer here, making my first foray into anything hardware-specific. I need to deploy my software on dedicated hardware to around 1000 sites as part of a research project. The hardware is required ...
0
votes
3answers
120 views

From microcontrollers to microprocessors [Embedded Devices] [closed]

I was told by some developer that embedded controllers are task specific devices that requires low latency which processor based devices can't offer due to OS overhead. So I would like to first of ...
2
votes
5answers
221 views

Returning to PIC programming after a decade…hitting a brick wall

I used to do quite a bit of PIC programming in the mid 2000's, but haven't done anything in more than a decade. So I bought a PicKit-4 and several 16F88 chips for a project. I managed to get MPLAB ...
0
votes
1answer
44 views

Interconnect between different blocks of SoC from different vendors

So I am planning to do a learning project of installing embedded linux into to SoC. One from smartphone vendor Spreadtrum SC7731 and the other from generic smart devices vendor Ingenic JZ4725B. Since ...
1
vote
1answer
45 views

FT232 Custom Display Name and Device Description

I have put a FTDI FT232RL onto a PCB to control a Microcontroller via USB. It's working fine. When I connect the board to my Windows 10 PC, the FT232RL is recognized as ...
1
vote
1answer
67 views

Is there an ADC chip that reads only when triggered that can be synchronized with PWM?

I am currently using the ADS1015 as an external ADC for my infrared sensor with my Particle Electron microcontroller. I am using this external ADC so that my microcontroller can stay in sleep mode ...
0
votes
0answers
56 views

STM32F0 UART Receive and Transmit Simultaneously

I am struggling to establish uart communication between 2 stm32f0 properly. Either To Transmit data from one to another or Receiving are not a problem. I am sending data from first device and I can ...
0
votes
1answer
76 views

Can I use a crystal with smaller PPM value?

The manufacturer recommends that I use a crystal with a tolerance of +-100ppm. Can I use a crystal with +-20ppm for better accuracy?
0
votes
4answers
185 views

royalty free embedded processor [closed]

I got into FPGA design last year for a project, and had some success with a Xilinx Spartan 6 dev board using ISE. I could do everything with this low cost board and ISE 14, which is free. I needed an ...
2
votes
3answers
533 views

If a module is “arduino compatible”, does that necessarily mean it isn't compatible with other microcontrollers?

I'm trying to find a GSM module to pair with a PIC32 microcontroller for a project and I've found some nice ones. The one I'm really interested in is the SIM800C GSM module. Many of them say they are "...
0
votes
6answers
163 views

Is there a switch that can be made when it is spun around a given axis, like a gyroscope solenoid?

Given in the title, I'm looking to design a small embedded system that only turns on when the part it's inside is spinning. The electronics is completely enclosed. I've done some googling for rotary ...
0
votes
1answer
40 views

TLP281-4 optoisolator circuit question

I am working with TLP281-4 optoisolator, there is a board which used this IC in it. It connected like this: Why can't I connect 5V to the collector and take the output directly from between emitter ...
2
votes
2answers
138 views

How can I map bits in a byte to turn on or off a pin?

I have a byte of data as input and each bit represents the state of an led. The pins that control the leds are spread out and on different ports. I have C code that changes the state of 6 leds. ...
1
vote
3answers
137 views

Adding a const string identifier to at the start location of functions in C

I would like to add a const string identifier at the start locations of few functions. The reason is that I need to maintain a table of function pointers, the indexes of which are to be in a specific ...
0
votes
1answer
82 views

LED lights up even though there is not supposed to be an output from the STM32

I'm using an STM32F103C8T6. I connected an LED to the pin PA5 and a tactile button switch to the pin PA0. I wrote the program as follows: ...
0
votes
0answers
26 views

APDS 9900/9930/9960

I am trying to write a program that detects up/down and left/right gestures from a gesture sensor using atmega32a. I can't actually read the LEDs and the sensor been used is the APDS 9900. This is ...
0
votes
0answers
65 views

USB 3.0 VS MIPI CSI-2 camera interface on Embedded Linux system. Which one is better from both hardware and software perspective?

I have a Sony FCB series camera (1920x1080) and looking for a better interface protocol to connect it with processors like NXP, TI or any similar embedded processor. The camera has a LVDS out port ...
0
votes
0answers
56 views

Trying to write to FRAM with MSP430

I am pretty new to embedded work, so I am just trying to pick things up on a small scale. So, for the reason, I have an accelerometer connected to my MSP430FR6989 Launchpad. At the minute, all I want ...
0
votes
0answers
48 views

Protecting IC from voltage spikes

I'm currently designing a PCB with a boosted audio amplifier. It is powered with a single li-ion cell with 3000mAh capacity. According to the datasheet of the audio amplifier, it is recommended to add ...
0
votes
1answer
32 views

Disconnecting system load during charging

I'm designing a charging circuit for a single-cell li-ion battery that powers a PCB with high-power LEDs. For safety, I want to disconnect the PCB and the high-power LEDs during charging. Therefore, I ...
0
votes
0answers
46 views

STM32F407VE led toggling using button

I am using STM32F407VET6 development board. It has inbuilt buttons K0 (PE4) and LEDs D2 (PA6).I am trying to turn ON the LED only when I pressed the button. But when I pressed the button it keeps ON ...
0
votes
1answer
49 views

Touch IC TTP223 is hanged at 5V after some times work

I used TTP223 IC which is operated at 5V , i use touch ic output(When High)to turn on the led and (When low) to dim the led. LED is operated by the External 5V and used only touch ic output as signal ,...
3
votes
2answers
98 views

how to determine architecture core detail of ARM11 processor

I'm cross-compiling for an embedded Linux board, based in BCM5892 ARM11 processor. I need to know about architecture detail of this processor(‘armv6’, ‘armv6j’, ‘armv6k’, ‘armv6kz’, ‘armv6t2’, ‘...
0
votes
0answers
54 views

Is VBUS sensing necessary for USB on a self-powered device? [duplicate]

I'm currently designing a self-powered PCB with a STM32L432KCU6 and USB. After having done some research, it seems that it is necessary to connect the VBUS pin for detection purposes. However, is it ...
2
votes
1answer
76 views

Repurposing PWM output for D- of USB

I'm currently designing a self-powered PCB with a STM32L432KCU6 MCU on it. I want to use USB, but D- is already used for a different purpose. According to the datasheet, D- and D+ have to be ...