Questions tagged [software]
If your software question isn't electronics related, ask on stackoverflow.com
299 questions
-1
votes
1
answer
72
views
Want to build ESP project with a specific (Is there something like a multi-stage compiler?? XD) [closed]
I am working on a project with ESP32 and I use ESP-IDF to compile to compile the project.
Some files in my project cannot be shared with the whole team due to security reasons, so I want to have a ...
0
votes
1
answer
40
views
STM32 - compile in debug and release mode - can it be done per file?
Maybe a stupid question - but I searched cand couldn't find a good solution...
I'm running into an issue with memory on my STM32 project.
Is there a way to compile all files in release mode (smaller ...
7
votes
3
answers
366
views
Software to get transfer function from a schematic
Is there a software (preferably open source) where one draws a schematic, one defines input and output and the software automatically gives the transfer function (to be more specific: a symbolic ...
0
votes
2
answers
85
views
Internal system timer oscillations on modern computers - how big can it be?
When I synchronize two computers' system clocks up to 0.5 ms precision using NTP protocol implementation, it reports several tens of milliseconds skew in less than 10 minutes, and up to 3000 ms skew ...
2
votes
2
answers
95
views
Is there a fix/mod to accelerate drawing waveforms in LTspice
LTspice is very slow to draw the waveform window. This can be so extreme, that the software spends the entire time trying to rescale/redraw the graphs, especially for busy waveforms for things such as ...
-2
votes
1
answer
91
views
SPI Data Transfer to 74HC595 [closed]
I want to send data to my 74HC595 via SPI (in Arduino).
But I could not manage to blink my LEDs. My code is in below.
...
1
vote
3
answers
86
views
Recertify against EMC (automotive E-Mark) due to software changes
There is a digital output control module with a CAN interface that I will be working on. Its already certified against EMC, e-mark (UNECE 10).
As the previous contractor will no longer support the ...
0
votes
1
answer
193
views
How to best use Micro-Cap?
Several users of this site recommended I switch to Micro-Cap for simulation. I'm having trouble with their schematic capture:
First, the symbols are very small compared to the text. Is there a way ...
1
vote
0
answers
42
views
How to display Wavegen output along with the scope, in AD2 using Waveforms?
I have an Analog Discovery 2, and am using it to study a couple of analog filters. I've created a sine signal from the Wavegen tool, and am probing the output on both the Oscilloscope channels.
From ...
0
votes
1
answer
90
views
PLM and handling software/firmware components
I need some help from any PLM experts in the community. I am looking for guidance on how to handle firmware/software releases in a PLM system. it seems that most of these PLM systems are geared for ...
0
votes
1
answer
104
views
Watchdog Timer doesn't play with input via Serial Monitor
I uploaded this very simple sketch to my Arduino Nano Every to isolate a problem I have.
...
3
votes
4
answers
4k
views
What software can I use to draw circuit diagrams like this? [closed]
Look at this beautiful circuit simulation, it is in the digital design class document that I received from my teacher.
I want to draw many circuits like that.
What software can I use to draw circuit ...
0
votes
1
answer
130
views
Tim5 initialization unable to trigger callback function on stm32
I've been having a lot of trouble lately trying to get ADC3 to run on my STM32F746g-discovery board, so I started from scratch in order to try to pinpoint a problem. Unfortunately, now timer5 isn't ...
1
vote
0
answers
96
views
MSP430 ADC sampling does not work right
I am trying to get the 12bit ADC of the MSP430F5529 working.
For this reason I want to read values from its internal temperature sensor every 2 seconds. The ADC setup is in the main.c file and the ...
0
votes
1
answer
216
views
Which is better for programming STM32F103C8T6? Using Arduino IDE or STM32CubeProgramming? [closed]
STM32 is can programming using Arduino IDE, but I am confusing about which is better for programming this device, and what is the deficiency about this two software for programming STM32. (I am ...
6
votes
1
answer
218
views
Vivante video memory size?
I'm using an NXP i.MX 8MP, with Vivante GC7000UL and GC520L GPUs. Using the Etnaviv open source drivers.
For the life of me, I can't figure out how much video memory is made available to the GPUs, nor ...
2
votes
1
answer
286
views
How to calculate the cut-off frequency of a software average filter
I want to read the voltage of a battery using an ADC connected to a PLC. The signal oscillates a bit and I want to smooth it. The ADC samples the signal at 860 samples per second and stores it in ...
1
vote
1
answer
441
views
Smart and Variable time step Micro-cap 12
I need to perform a transient analysis with the Micro-Cap software that gives me information about what happens in microseconds but also in hundreds of seconds.
Currently, I am doing several analyses ...
0
votes
1
answer
535
views
Do we have to set the ST-link v2 before using?
I was using the ST-Link V2 which shown below on the left side. When I connect it to the MCU's I/O, I could install the software and I could confirm that the software installed correctly from the ...
2
votes
1
answer
202
views
On a (Windows) PC, can the TxD pin on COM1 be bitbanged? If not, why not?
In this question:
Why usb to serial port converter can’t program avr microcontroller?
Cornelius claims:
"DTR and RTS are the only pins of the serial port that can be bitbanged."
But is that ...
0
votes
1
answer
57
views
How to detect if a user has gone past certain locational boundaries physically [closed]
I want to write some software that takes the location of a user's phone and makes sure it is within a certain boundary that is set by "invisible fences"; see the picture below.
What kind of ...
0
votes
0
answers
70
views
Automated Hardware/Software Test
I am an Electrical Engineer and I don’t have a strong Software Engineering background.
My problem is: I need to test several Smart home devices. For example: a door that opens and closes (also 2 ...
0
votes
1
answer
79
views
My 16x4 LCDs are printing out junk [closed]
I have checked every other post on this, and no solution currently works and need an opinion.
I have an LCD (P/N: FC1604A01-RNNYBW-66SE) that is being powered by 5 V and is controlled by a 3.3 V ...
0
votes
0
answers
50
views
How to flash memory when there is no sector information?
Currently, I am trying to flash WCT1013A. As I see in the datasheet there is no sector information. If I do not know about the sector information how am I going to flash the memory?
4
votes
0
answers
58
views
Software Tool for collecting components in database
I have a lot of electrical components in the boxes. I would like to have information about parts in database. Do you use some software or you have any open source for it? I need something free easy ...
0
votes
0
answers
962
views
An alternative to CADe SIMU
CADe SIMU is a industrial circuit drawning and simulation software.
I have troubles with the icons size and some bugs, so I am looking for an alternative to CADe SIMU.
I found good softwares to draw ...
0
votes
1
answer
457
views
How to control voltage using PID when driving SCR?
I am designing a scr based digital battery charger for the first time and have successfully driven scr to provide 110V-DC from a 140V singe-phase transformer. 2 SCR-diode combination forms full bridge ...
-2
votes
1
answer
92
views
TDA0161: software for simulation?
In what simulation software can I run a circuit with a TDA0161 proximity detection IC?
6
votes
3
answers
4k
views
Themes / color schemes in LTspice?
I was wondering yesterday if there are any theme / color scheme manager for LTspice.
There are times you want it on light mode, and times when dark mode suits better. Google didn't yield any results ...
0
votes
1
answer
218
views
Reading IMU Outputs Faster
I have a circuit which has:
STM32F446RET6 MCU
2 IMUs
1 Barometer Sensor
1 Micro SD Card Module
1 External Flash Chip
1 GPS Module
1 LoRa Module
And when I try to use all of them in my code I can ...
1
vote
2
answers
291
views
Orientation calculation from gyroscope data
I am integrating gyroscope values to get orientation data, but I have a few problems with my code.
When I move my IMU and make like 100 degrees, the IMU can detect the movement somewhat accurately. ...
0
votes
2
answers
149
views
232RL as COM port: Recognize the device on commercial product - from the software's perspective
I am making a device that uses 232RL to translate from UART to USB and windows see a COM port. The connections are like so:
simulate this circuit – Schematic created using CircuitLab
I want to ...
1
vote
1
answer
152
views
Altium schematic symbol weird behavior when rotated
Hi I am not new to Altium however I am facing a problem that I think is in the 2020/2021 versions.
the problem is that schematic symbols drawn using IEEE symbols (inverter in this example) is working ...
0
votes
1
answer
215
views
ATmega 2560, additional software serial port advice
I am trying to make a project with an ATmega 2560 microcontroller. I need 5 UARTs, but the microcintroller has only 4 of them. I want to connect 4 of them to RS485 and 1 additional software serial to ...
0
votes
0
answers
40
views
Porous silicon simulator
What software does porous silicon simulations?
I didn't find it in my searches. The closest was TCAD Atlas, but it gives more prominence to cmos. I would like to know if there is (names) software that ...
0
votes
1
answer
118
views
Sending an impulse to oscilloscope from software?
I am currently trying to measure the time it takes from [the moment a flag is set programmatically in software before rendering some graphics] to [[the moment the graphic is actually displayed on the ...
0
votes
1
answer
726
views
Using the UBT-12HC Serial Bus Motor with Arduino
I recently bought this motor and am trying to figure out how to use it. I also need a driver as this Bus Servo uses omnidirectional Serial communication. That is why I also bought this TTL board.
I, ...
2
votes
0
answers
317
views
Image recognition for PCB - is this available?
I have a populated PCB, and I want to draw a circuit diagram of it.
For printed documents, you have OCR which can recognize text in an image. Is something similar available for PCBs? i.e. I provide ...
1
vote
4
answers
2k
views
What is the distinction between software & firmware? [duplicate]
I've started learning about embedded coding. The words 'firmware' and 'software' are a bit ambiguous to me still. My understanding is that software is high level language tailored for user interaction,...
0
votes
1
answer
633
views
How to simulate magnetic field of a toroidal solenoid?
I am trying to simulate the magnetic flux inside and outside of a classic toroidal solenoid. The simulation must be able to simulate a toroidal solenoid with several densely wound layers of copper ...
0
votes
1
answer
79
views
Unpowered ATmega in a powered circuit
I have an application involving an ATmega328 which may be powered while the ATmega is not.
The circuit is an led driver (operating at 24V) which can be controlled either by potentiometers or digitally ...
0
votes
3
answers
100
views
What's the tradeoff of amplifing the output of an inverting op-amp in software vs using a higher feedback resistor?
Suppose I have an inverting op-amp (part of a trans-impedance amplifier circuit) that gives me a slightly-positive-but-small signal, and the output goes into a ADC. I have two choices:
Increase the ...
1
vote
1
answer
2k
views
Transistor simulation not working properly in Proteus
I'm recently working with Proteus. So I created a simple schematic for a transistor to work as a switch. But when I simulate it, it doesn't work as it should. In the picture below you can see that the ...
4
votes
2
answers
3k
views
Why use const variables instead of preprocessor directives when programming embedded with C++
I read on here that when programming with C++, const variables are better than preprocessor directives, ie #define, for declaring constants. I'm confused about why that is the case.
I understand that ...
1
vote
1
answer
483
views
What are the tradeoffs between a single HID descriptor/endpoint with multiple reports vs multiple HID descriptor/endpoints each with a single report?
Consider the two following setups:
Setup A:
Single device with a single HID descriptor and endpoint pair, whose Report descriptor contains multiple Collections and Report IDs.
Setup B:
Single device ...
0
votes
0
answers
132
views
Simulating the capacitance of two (perfectly conducting) metal rods
I have two (perfectly conducting) metal rods (with a diameter of 10mm and a length of 150mm) which i put up (with a distance of 100mm from each other). Now I want to measure the capacitance of the two ...
1
vote
1
answer
116
views
How do I EM-Extract a subcircuit and define a different em/drawing-layer than the original circuit in AWR?
I have a 4-layer project in AWR/MWOffice and have built a parameterized microstrip inductor schematic (named "spiral") with a "Line Type" of layer1 that I wish to reuse on another ...
4
votes
1
answer
2k
views
Using Git version control software with IAR Embedded Workbench
I have been using Git / Bitbucket to manage versioning for Altium and MPLAB and have recently started using IAR for the STM8 series MCUs for a series of projects. Is there any Git integration to IAR ...
0
votes
0
answers
50
views
Identifying a schematic file and converting for use in Altium
I have a few schematic files which I need to open up in Altium, they are all *.sch files and when opened in Altium appear completely blank.
When opened with a text editor they do appear to have all ...
1
vote
2
answers
2k
views
Programming a Microcontroller - JTAG and SWD
I have this Microcontroller - S32K118 64 pins.
I want to load my software datafile into the microcontroller using the debugger mentioned below.
I am using this J-LINK Segger BASE debugger model to ...