Search the Community
Showing results for tags 'ps2'.
Found 1 result
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 more interrupts going on (usci0_rx (@ 9600 baud, 4Mhz), usci_tx, timerA0 ( @ 7Hz), timerA1 ( @ 500Khz )). i have a MSP430G2553IN2. text data bss dec hex filename 6604 6 342 6952 1b28 build/diy-vt100.elf total code(see below) is in diy-vt100.tar.gz i had to remove doc/ , .git/ (size was ~100MB's) schematics are not according to project right now. ps2-scancode-en.c ps2.c port2.c port2.h ps2.h diy-vt100.tar.gz