Skip to main content
pvo317
Associate
May 1, 2019 10:23 UTC
Question

Looking for a library or an example for STM8 + PS/2.

I want to make a converter keyboard PS/2 -> USART.

    This topic has been closed for replies.

    8 replies

    Mon2
    Senior III
    May 1, 2019 12:15 UTC

    Should not be so difficult to write your own code for this application. Search on the net for 8051 PS/2 tutorials that outline the timing needed to read the PS/2 stream and then apply to your USART (also should be plenty of demo / tutorial codes available).

    pvo317
    pvo317Author
    Associate
    May 1, 2019 14:54 UTC

    Thanks for the advice.

    I am a weak programmer.

    I will not write my library.

    I will look for.

    tinkerBOY
    Associate II
    Mar 2, 2020 13:40 UTC

    Did you find what you are looking for?

    Ozone
    Principal
    Mar 2, 2020 14:38 UTC

    The fact that almost one year elapsed, and the OP got just 16 "rating points" suggest no.

    Or he doesn't care to share.

    pvo317
    pvo317Author
    Associate
    Mar 3, 2020 11:06 UTC

    Have not found :(

    I use PIС16/18.

    tinkerBOY
    Associate II
    Mar 3, 2020 11:15 UTC

    Thanks for the update!

    I'm trying to port a ps/2 libary made for Arduino but i'm stuck making it work with stm8. Code compiles and uploads just fine but not working as intended. I'm new to stm8 so im not sure what to do.

    Ozone
    Principal
    Mar 3, 2020 11:25 UTC

    > Code compiles and uploads just fine but not working as intended.

    This is not unusual, even in a professional context.

    > I'm new to stm8 so im not sure what to do.

    Debugging, and measuring (verifying that the things you want to do in your code actually happen).

    tinkerBOY
    Associate II
    Mar 3, 2020 13:35 UTC

    yeah i know it's not unsusual.

    The debugging and measuring part is what puzzles me. :) I guess i was kinda used to more simpler Arduino projects and just starting to learn more about timing, interrupts, etc..