AnsweredAssumed Answered

Software Serial

Question asked by Gregory Clement on Aug 8, 2016
Latest reply on Aug 29, 2016 by Gregory Clement

Hello;
Sorry for my English.
I am new in programming microncontroleurs and CodeWarrior. I use a MC9S08SH4CTG.
They ask me to have a serial communication on PTA1 (RX) and PTA2 (TX).


I did not know at all how. In looking around, this technique is called software uart. Continuing my research, I found AN2502, AN2637, ASM8 to do that.


Unfortunately for me, I do not know what to do next. I downloaded all the libraries for trying. I do not know the assembly code, so I've instead turned to AN2637.

 

By reading the .pdf document, I still do not understand how to implement the library.


Is it that there would be someone who could help me.


I put the .c and .h files provided with AN2637. But I have errors and I do not know why. (See PJ)


Is there would be someone who could help me by giving me the tracks of solution or example?


Thank you

Attachments

Outcomes