Questions tagged [parity]

The tag has no usage guidance.

3
votes
1answer
163 views

Reverse-engineering RS-485 communication

I've been trying to reverse engineer the communications protocol used by my home domotics, which I was able to determine uses a RS-485 implementation. I'm using a USB RS-485 serial dongle and an ...
0
votes
2answers
62 views

Number of bits relation to data UART

Regarding the number of bits that is sent using UART and configuring the UART handle is unclear as well as setting the parity bit, is it odd or even. "...
1
vote
1answer
71 views

Why does the UART not report an error for a data byte with wrong parity?

I am trying to learn about UART Serial communication of the MSP430FR6989 from Texas Instruments. Datasheet User's Guide I doing a program where my UART will send a character through the TX pin of ...
-1
votes
1answer
221 views

Parity flag in 8085 microprocessor

What happens to the parity flag of an Intel 8085 microprocessor when there is no '1' bit in the accumulator? For example, if the following instruction executes, MVI A, 05H MVI B, 05H SUB B the ...
1
vote
3answers
96 views

Unsure how arduino is interpreting RS232 signal

Disclaimer: I am a novice. I have an RS232 connection with an RFID tag reader which I am monitoring via software on a desktop computer as well as an Arduino. The device is configured with 8E1 parity. ...
12
votes
5answers
3k views

Why bother with even parity?

I am using an SPI peripheral in my application. The peripheral returns packets containing 15 data bits, plus an Even Parity bit for error detection. Therefore all zeros, and all ones both pass the ...
0
votes
1answer
328 views

C++ - Help Interpreting the instructions of a CRC error-checking programming assignment

This is unconventional, based on what I've seen, but I can't get a hold of my professor's aides to clarify this assignment. I hope this is still ok to post here. I would greatly appreciate some help ...
0
votes
1answer
319 views

Assembler language basics parity flag

I am a beginner in assembler language I was reading some stuff online(belongs to a university) and I saw that the P bit in psw after executing this instruction mov a,#03h A=0000 0011B so P=0 first ...
1
vote
2answers
522 views

Effectiveness of Parity Checking

A parity bit lets a receiver know whether or not the an input is correct, given the number of 1's matches the logic behind the parity bit (be it even = 1, or odd =1). This seems very ineffective to me,...
0
votes
1answer
543 views

How do wiegand device really works?

As far as my understanding, wiegand device should be connected to wiegand controller so they can communicate in wiegand protocol which is 2 parity bit and the 24 data bit (the Standard wiegand 26). ...
2
votes
1answer
52 views

Generate Event Parity with Logic Block

I was under the impression in order to generate 'Even Parity' you had to have an even number of bits... so how could that logic block only have one output? I am sure I am wrong but I am not sure what ...
1
vote
2answers
10k views

4 bit even odd parity checker/generator using logic gates only

Hi i am working on my digital electronics project 4-bit even odd parity generator and checker this is my circuit.how do i implement this on breadboard and what am i missing here except the vcc and ...
2
votes
3answers
919 views

Understanding IR Protocol Checksum generation

To control my AC with an Arduino, I'm trying to emulate the IR Remote. Not with another IR LED, but directly connected to the IR Receivers Signal wire on the board. Using the Arduino as a Logic ...
0
votes
1answer
2k views

State diagram for 2-bit parity generator

So the question I need help with is: Design a minimal moore state machine for a 2-bit parity generator that outputs ‘1’ if the number of 1s in a 2-bit sequence is odd, and outputs ‘0’ otherwise. ...
0
votes
1answer
152 views

Parallel-In-Serial-Out with Parity?

Can someone recommend a shift register IC with integrated parity or CRC generator? Is there such a thing anyway?
2
votes
1answer
477 views

GPS parity decoding, how to get D29 and D30 of previous bits?

According to ICD GPS 200C, to decode the bits of a word you need to have the bits 29 and 30 of the previous word, this means that to get the bits 29 and 30 of the previous word you should know the ...
2
votes
1answer
310 views

CRC/Parity/Hamming Protect 16-bit parallel bus

I've got a Cortex-M4 based MCU linked to a FPGA via a 16-bit parallel memory bus interface. In essence the FPGA behaves like an external memory mapped to the memory space of the MCU: the MCU presents ...
-2
votes
1answer
200 views

parity generator

i need to design a parity generator which has a bidirectional serial line. This line accepts input 1 bit at a time and gives parity for 8 bits on the 9th clock cycle on the same line. I cant seem to ...
1
vote
1answer
432 views

CRC polynomial and Parity Error detection

My question is about the CRC generator polynomial. If I have a generator of level 5, say: $$X^5+X^4+X^2+1$$ How can I know if it can or cannot detect a parity error? Also how can I know the error ...
2
votes
2answers
2k views

std_logic_vector to unsigned conversion throwing incompatible error

Below is a VHDL code of a even/odd parity generator for a bus of given width. ...
2
votes
1answer
48k views

Single Bit Error Correction & Double Bit Error Detection

Can someone explain, in their own words, what Double Bit Error Detection is and how to derive it? An example of corrupted data and how to detect the double bit would be appreciated. I can do Single ...
2
votes
0answers
824 views

Forward Error Correction code, Reed Solomon, Turbo Code, Low-density parity-check

I am new to FEC (Forward Error Correction). Pointers highly appreciated. I am experimenting software with configurable "error protections". Result improving as setting raise to 40%. Still not ...
1
vote
4answers
7k views

7E1 to 8N1…Parity Bit doubts

I am having doubts in the relation between 7E1 and 8N1. Assuming I am transmitting a sent of characters between a client and a server; client sending with 7 bits and 1 even parity bit (7E1) and the ...
6
votes
9answers
3k views

For UART, should I use parity on a board level?

I am considering whether to use parity or not with my UART. It is a board level high speed (upwards of 115,200 baud) signal. The traces are very short (less than 2 cm), MCU to DSP, but they could pick ...