Search the Community
Showing results for tags 'parity'.
Using Tiva C Series TM4C123GH with Energia 1.6.10E18, Win7 platform. TivaC is connected by USB, of course . I really need to be able to set Serial2.begin(38400) to implement Even Parity [8E1, instead of 8N1] because of the fixed hardware that is being connected. There is a patch posted already for the MSP430G2553; I'm pretty sure the register arrangement for the Tiva C is vastly different. There's a register in the TM4C123GH at 0x4000:E02C (E000 offset 0x2C) which contains the command word for that UART (parity select, number of bits, enable FIFO, ESP, PENable) that needs to be modif
I was trying to port a sketch that used the Serial port with non standard UART parity and character length to Energia. I noticed that the UART port isn't setup to handle anything except 8-N-1. While the code below can't do all the combinations that are available to the atmega, it can do 7/8 bit, even/odd parity and 1/2 stop bits. I created a patch that will at least fix it for the chip I am using (msp430g2553). It will need some work for other chips. Apply the attached patch to the source of the latest Energia source tree. (as of 11/11/2015) -rick (See new optional second parameter
i have been sucessful(somewhat) in interfacing a PS2 keyboard with MSP430. usually for about ~25 keystrokes it works perfectly. after that parity error occurs in data and data after the corrupt-data is also corrupt. im supply keyboard 5V from external source and using POT to convert 5V to 3V. communication with keyboard is at 20-25Khz and MSP430 is running at 16Mhz. thing i tried (and didnt worked :-( ): tried another keyboard. circular queue to store temp data and then timer A1 to extract and decode. note: if im able to get first n data's then why is their a problem after that. im having 4