Latest threads in Embedded Programmingshow only best voted threads
Subject | Author | Posted | Replies | |
---|---|---|---|---|
|
addon functions
Lewin Edwards in his dosfs file system uses the ldiv() functions shown below: sector = ldiv(offset, SECTOR_SIZE).quot and offset = ldiv(offset, SECTOR_SIZE).rem Anybody know how this is declared or,...
4
|
7 months ago
|
4 | |
|
MQTT QoS vs TCP
I know TCP is able to guarantee the delivery of messages from sender to receiver, without corruption (thanks to checksums), in order and without duplication (thanks to sequence numbers). So I'm...
9
|
10 months ago
|
9 | |
|
LPC1788: uart TX interrupt problem
This issue is very difficult to understand when you see it, so it's quite impossible to find the solution here in a newsgroup. However, after scratching my head for long days, I want to try. Maybe...
6
|
10 months ago
|
6 | |
|
UART connection between ATSAMD20 and ATtiny4313
I'd like to use async UART to let these MCUs communicate. The protocol will be request-response with the request generated by the SAM MCU. The baudrate will be 38400bps. I'd like to use internal...
68
|
11 months ago
|
68 | |
|
PID controller with a limited range of control variable
In one application an AC voltage sourced by a generator is applied to a load as a PWM waveform. The period PER is fixed (for example, 100ms) and the pulse-width PW has a maximum (for example, 20ms)....
1
|
11 months ago
|
1 | |
|
Embedding a Checksum in an Image File
This is a bit of the chicken and egg thing. If you want a embed a checksum in a code module to report the checksum, is there a way of doing this? It's a bit like being your own grandfather, I think....
82
|
11 months ago
|
82 | |
|
Improved display in Google Groups
I found this browser extension to let you apply formatting codes to any page. It can be used to apply a monospaced font to Google Groups, which will help viewing tables and even ASCII art that people...
1
|
11 months ago
|
1 | |
|
SPI Quad Serial Flash: two "quad" modes?
I'm studying datasheet of SST26VF080A. It's a SPI Quad Flash memory in standard 8 pin package. I'm not sure I correctly understood the quad mode. It appears to me two quad modes are supported: SPI...
4
|
11 months ago
|
4 | |
|
Text on FSM
Hello Does anyone know of a nice text on finite state machines and their software implementation on embedded systems? I'm looking for some theoretical background and design methodology. A few examples...
40
|
1 year ago
|
40 | |
|
Half-duplex RS485: simple auto-direction solution
I think you already know this trick: connect DE/RE signals of RS485 half-duplex transceiver to TX *negated* signal from UART and connect TX input of transceiver to GND. If the bus is not driven by...
7
|
1 year ago
|
7 | |
|
How to snif full-duplex UART protocol between two nodes
Many times I need to snif and log on a file the activity between two nodes that talk over a full-duplex UART (separate TX and RX lines). Just an example, consider a host MCU that talks with a modem...
13
|
1 year ago
|
13 | |
|
Air32F103/MH32F103
There is another STM clone on the market. Namely, one can buy board with chip marked Air32F103. Internet says that this is rebranded MH32F103. There is datasheet in Chinese which says that there are 5...
—
|
1 year ago
|
— | |
|
Boxed MCU with RS-232 Port
The unit only really needs one serial port, but it is more convenient to have two connectors, so I guess it needs to ports. One port will only receive and the other only transmit, no handshaking. The...
145
|
1 year ago
|
145 | |
|
Another STM32F103 clone?
I have bought few Blue Pills on Aliexpress. I expected to receive boards with some of known clones. But what I get does not look like any clone that I have heard of: - Cortex M4 with no FPU - 32k RAM...
15
|
1 year ago
|
15 | |
|
Cortex-M buses
I want to understand impact of buses/wait states on Cortex-M preformance. It seems that documentation about this seem to be scatterd or unavailable (I would appreciate pointers to appropriate...
—
|
1 year ago
|
— |