<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[ouestion on rs232]</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23491/ouestion-on-rs232</link><description> 
Hi , 
I have designed a circuit with &amp;#194;&amp;#181;PSD3200 which
communicates with PC , &amp;#194;&amp;#181;PSD3200 data to pc and gets data
from pc with rs232 . 
i want to send and receive numbers from zero two FF , not ascii ,
just hex code from 00 to FF (in decimal : 0 to 255</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/49519?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 09:41:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ddd4b90d-0d1f-4a8d-81cd-0aa152ff9b0a</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;i have read that the computer and micro sends ascii
code&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Either you mis-read, or mis-interpreted, or it was wrong!&lt;/p&gt;

&lt;p&gt;
The UART in a computer or a microcontroller can just send
arbitrary bytes - it doesn&amp;#39;t &lt;i&gt;necessarily&lt;/i&gt; care about ASCII.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;ascii codes does not support the whole range of 00 to
FF&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
ASCII &lt;i&gt;&lt;b&gt;does&lt;/b&gt;&lt;/i&gt; use the codes from 00 to 1F - which is
where the problem may lie:&lt;br /&gt;
The ASCII Codes from 00 to 1F are used as &lt;b&gt;&lt;i&gt;Control&lt;/i&gt; codes&lt;/b&gt;
- in particular, XON and XOFF (codes 13 and 11) can be used for
so-called &amp;quot;&lt;b&gt;Software Flow Control&lt;/b&gt;&amp;quot;&lt;/p&gt;

&lt;p&gt;
Therefore, if you want to send binary data over an RS232 link, you
have to ensure that &lt;i&gt;&lt;b&gt;nothing&lt;/b&gt;&lt;/i&gt; is configured for
&amp;quot;software&amp;quot; flow control - or anything else that might unintentionally
be triggered by binary data values&lt;/p&gt;

&lt;p&gt;
Alternatively, you could encode your data so that it uses only
printable ASCII codes - which is why we have formats such as Intel
Hex, Motorola S-Records, MIME, UUENCODE, etc, etc...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/131796?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 08:27:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7ee96f25-6e95-45bf-9ada-007111d9f02d</guid><dc:creator>omid ershid</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
Answer and humor.&lt;/p&gt;

&lt;p&gt;
I accept it now from you for the advice and support.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/130275?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 06:42:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:89e529b3-257f-4324-9b8c-4b57ec7782e7</guid><dc:creator>Teddy Manson</dc:creator><description>&lt;p&gt;&lt;p&gt;
It&amp;#39;s been about 10 minutes since I gave you a response.&lt;/p&gt;

&lt;p&gt;
I would appreciate it if you had the courtesy to acknowledge my
efforts!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/124505?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 06:31:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5e59bd46-4385-4fa9-b58e-fc2ac4d7bdbb</guid><dc:creator>Teddy Manson</dc:creator><description>&lt;p&gt;&lt;p&gt;
Sorry but I was away on other business, so I couldn&amp;#39;t respond to
your question earlier. I hoped that other stand-in posters may have
been able to help you with your enquiry, but unfortunately it would
appear that, once again, the onerous task has fallen to me.&lt;/p&gt;

&lt;p&gt;
You do not yet understand your situation fully enough. ASCII is a
way of interpreting binary data.&lt;/p&gt;

&lt;p&gt;
Set up your board to transmit serial communications at your chosen
baud rate and &amp;quot;N,8,1&amp;quot; communication parameters (that is to say, no
parity, 8 data bits, 1 stop bit.)&lt;/p&gt;

&lt;p&gt;
Remember that the transmit pin of one device must be connected to
the receive pin of the other and vice-versa. They are different pins
on 9-pin connectors vs. 25-pin connectors. Watch out.&lt;/p&gt;

&lt;p&gt;
On the PC side you need to configure the serial port to match the
speed and communication parameters of the board. You may also need to
tell your compiler or application to treat the data as binary and to
declare no &amp;quot;flow control.&amp;quot;&lt;/p&gt;

&lt;p&gt;
RS-232 serial communication is simple in theory. In practice there
are a number of snags and pitfalls like baud, parameters, wiring,
hardware/software flow control, error control, etc.&lt;/p&gt;

&lt;p&gt;
You should study Jan Axelson&amp;#39;s serial communications book. Its
widely available from all good book stores.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/113725?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 03:55:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2d757cde-f24e-4e97-a024-25ee54b181c0</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
How about a little patience?&lt;/p&gt;

&lt;p&gt;
If you demand a premium service, you must expect to pay for
it!&lt;/p&gt;

&lt;p&gt;
Try: &lt;a href="http://www.keil.com/condb/"&gt;http://www.keil.com/condb/&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/100374?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 03:46:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:df178587-af03-4c31-85c4-bd8503a655ab</guid><dc:creator>omid ershid</dc:creator><description>&lt;p&gt;&lt;p&gt;
i want the answer and not bad
humor!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/88945?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 03:41:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c26a89c7-e524-4974-a480-f804c19a6ec8</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
MMMMMMMEEEEEEEEEEEE !!!!!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ouestion on rs232]</title><link>https://community.arm.com/thread/49524?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2008 03:28:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:55f19f34-db0a-48c2-bf27-a7c8036ddf4a</guid><dc:creator>omid ershid</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;br /&gt;
any one atr home?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>