by Ray » Wed May 14, 2008 12:06 pm
by Ray
Wed May 14, 2008 12:06 pm
To design a program loop to read the PS2 reading is very easy.
There are many basic reading techniques in the Web:
http://sophiateam.undrgnd.free.fr/psx/index.html
http://www.csie.ntu.edu.tw/~b89094/dual ... s_eng.html
http://electronics.howstuffworks.com/playstation3.htm
............
I had tried some PS2 Controllers and sucessfully read them. However, I cannot read the data of PS2 Controller of RB2000 sucessfully.
Finally got it work!!
The reason I found was that the waveform of HoRI had a bit phase lag.
so, the position of reading is very important.
It should be put JUST before the rising edge of the CLK
Here is the waveform:
Another chalenging of the Controller is to make it vibrate and forced mode of the PS2 to Analog or Digital. Which is somehow more difficult and there is nearly no detailed description in the web to explain the whole process
Currently, My study on it is that you should config. the PS2 before Read with vibration. if there is a mode change, the configuration need to be done again. I will report if further experiments had done.
To design a program loop to read the PS2 reading is very easy.
There are many basic reading techniques in the Web:
http://sophiateam.undrgnd.free.fr/psx/index.html
http://www.csie.ntu.edu.tw/~b89094/dual ... s_eng.html
http://electronics.howstuffworks.com/playstation3.htm
............
I had tried some PS2 Controllers and sucessfully read them. However, I cannot read the data of PS2 Controller of RB2000 sucessfully.
Finally got it work!!
The reason I found was that the waveform of HoRI had a bit phase lag.
so, the position of reading is very important.
It should be put JUST before the rising edge of the CLK
Here is the waveform:
Another chalenging of the Controller is to make it vibrate and forced mode of the PS2 to Analog or Digital. Which is somehow more difficult and there is nearly no detailed description in the web to explain the whole process
Currently, My study on it is that you should config. the PS2 before Read with vibration. if there is a mode change, the configuration need to be done again. I will report if further experiments had done.