cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing PS2 controller with STM32F103RBT6

HDUTIIITIXI
Visitor

Hi, I am trying to interface a PS2 controller with a STM32F103RBT6 board and I'm relatively new to STM32 in generally. I have understood how the PS2 protocol works and was able to find references with codes to run with. Unfortunately, the board configuration in the ioc file of the given by the reference is of a STM32F103C8Tx board(surprisingly it operated successfully on my RBT6 board and was able to get the key input readings), and the key input reading are not reflected properly when running the codes (with only changes to microsecond delay functions) with a STM32F103RBTx board configuration.

Is there any explanation and solution to this? Any help is greatly appreciated!

Full files of the PS2 controller interfacing code is attached to my google drive in the following link. ("PS2" folder is for C8Tx version, "PS2_RBver" is for RBTx version)

https://drive.google.com/drive/folders/1BYTq7MRy8VRNGXaSP2vrUbU0-paIUpZd?usp=sharing

 

0 REPLIES 0