Hi everyone
i am somewhat new to freescale microcontroller series ........( before this i use arduino series) i want to send the data from my microcontroller to the computer by tx pin on mcu ( i am using mms08 128 microcontroller) and i create an application there in computer ( i the language processing) which accept the send byte by the microcontroller via serial communication and convert it to display on the computer screen...
It is small but very important step for my project.
Hope that you people help me in this
Thanks in advance
i am using xl_star board from freescale which is using MS9S08MM128 (http://www.element14.com/community/servlet/JiveServlet/downloadBody/37278-102-1-219583/MC9S08MM128RM...) there are two ports avaiable for the communication i want to use ji which is on the front side of the board for communication with the computer.. It is attached to pin Rx1 & tx1 present in the microcontroller.
It requires to fill up register sci and i am new to it this microcontroller so if you guys help me with the code then it will be very much appreciable..
I am trying my best your help is required
Thanks
If your using something like Hyperterminal to get the RS-232 data from your MCU, you need to be mindful of a few settings.
For example, your MCU has 8-bit or 9-bit data modes and a parity option.
The parity takes up 1 bit, so if your in 8-bit mode you actually have 7 data bits and if your in 9-bit mode you actually have 8 data bits.
Flow control on your Hyperterminal (or whichever your using) should be set to "None" for now, later on you can try experimenting with "XON / XOFF" and "Hardware" settings.
Also keep in mind some serial terminal programs have tight tolerances for baud speeds. If one speed doesn't work, try a different one.
Hello
Did you try creating a project for MS9S08MM128 using the project wizard and enabling Processor Expert?
Then add an AsynchroSerial Bean and configure it as required.
Let CodeWarrior generate code and this should give you an idea on how to generate code for SCI.
CrasyCat