I am tring to interface PS/2 mouse (optical) with a 8052 (AT89S52) microcontroller. From what I get from the internet without adding any extra hardware I cannot interface the mouse directly with the UART (serial port) of the microcontroller (mouse has data and clock lines; uC has RXD, TXD).
- Are baud rates defined for asynchronous serial communication? What are the common baud rates used for PS/2 mouse communnication?
- Would transmitting at any one of these baud rates allow me to communicate with the mouse or is the baud rate for the mouse fixed for receiving data?
- I am not using the inbuilt routines for serial communication, I'll be using inbuilt timers for transmiting data. What values should I set for the timers so that I could generate both clock and data on port
Does the entire idea sound feasible?