<?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>SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21902/ssc-port-second-port-programming-of-c167</link><description> 
Hello: 

 
I am working on interfacing(connecting) the mini-Module 167 to
dSpace system through RS-485. 
For this purpose I have to use the second serial port of the
evaluation board of the mini-Module 167. 
The controller number is C167CR-LM. 

 
Taking</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/152724?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2008 09:27:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:003dd7a7-f074-40e0-aaff-f33d6c1bd1d3</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello Hakam,&lt;br /&gt;
I checked the link and it was ok.&lt;br /&gt;
Then right click to the file name an save it to your PC.&lt;br /&gt;
Hope this helps.&lt;br /&gt;
Did yout try to contact PHYTEC?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/148021?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2008 02:01:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:51ba6b5b-1b06-4450-9887-fd2c4ae2cd8f</guid><dc:creator>Hakam Saffour</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello every body:&lt;/p&gt;

&lt;p&gt;
After checking what you advised me to do, I found that the version
of the mini-module 167 whcich I am working on is very old (&lt;i&gt;May
1999, PCB Version No. MM-Basis-1117.4)&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
So my knowledge and questions were based on the hardware manual of
May 1999 version. And it seems you were talking about newer version,
and this is the reason of misunderstanding and conflict.&lt;/p&gt;

&lt;p&gt;
There are big differences between the manual of 1999 and the one
which Mr. Ulf Sass sent to me &lt;i&gt;(August 2002 PCB revision
#1216.0).&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
By the way, Mr. Ulf Sass, I ckecked the link you sent to me
&lt;i&gt;(&lt;a href="http://www.phytec.de/phytec/faqs_16-bit_module/minimodul-167_mm-310_.html"&gt;www.phytec.de/.../minimodul-167_mm-310_.html&lt;/a&gt;&lt;br /&gt;

Download this file:&lt;br /&gt;
mm-167-scc2691-keil_extendedmodes.zip)&lt;/i&gt;&lt;br /&gt;
and I could not download the ZIP file, I was directed to another
webpage and eventhough there are some links are not downloadable.&lt;/p&gt;

&lt;p&gt;
What I can say about the 1999 version of the hardware manual that
it is not comprehensive, and there are alot of mysterious issues.&lt;/p&gt;

&lt;p&gt;
As a conclusion, I am still confused and the picture is not clear
to me.&lt;/p&gt;

&lt;p&gt;
Again, Thank you for your help and patiency.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/147390?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 10:32:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2d87937b-7197-4872-a0e9-3b7106e1c136</guid><dc:creator>Hakam Saffour</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear All:&lt;/p&gt;

&lt;p&gt;
Thank you for your replies.&lt;/p&gt;

&lt;p&gt;
Actually I am not expert in this stuff, so please be patient with
me and help me.&lt;/p&gt;

&lt;p&gt;
I will read, and try what you have advised me to do, then I will
come back to you.&lt;/p&gt;

&lt;p&gt;
If you have any more comments, please shared with me.&lt;/p&gt;

&lt;p&gt;
Thank you for your kindness.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/146169?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 09:03:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:48ca15e9-7336-4519-9384-297ac10d20f9</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello,&lt;/p&gt;

&lt;p&gt;
I found a demo for you on:&lt;/p&gt;

&lt;p&gt;

&lt;a href="http://www.phytec.de/phytec/faqs_16-bit_module/minimodul-167_mm-310_.html"&gt;www.phytec.de/.../minimodul-167_mm-310_.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Download this file:&lt;/p&gt;

&lt;p&gt;
mm-167-scc2691-keil_extendedmodes.zip&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/144358?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 07:37:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:94afbd7c-a866-4826-b60f-8a26b0b5921c</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
LOL. That makes a lot of sense. It felt extremely unlikely that
Phytec would suggest the SSC for asynchronous transfers. Abuse of
hardware has a tendancy to result in badwill a bit later, when the
customer makes a tiny change to their requirements and suddenly
invalidates the workaround.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/141946?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 07:13:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0e198fcd-d158-4bf8-a393-ba636ff42b38</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;a href="http://www.phytec.com/pdf/manuals/L-625e.pdf"&gt;www.phytec.com/.../L-625e.pdf&lt;/a&gt;&lt;br /&gt;

See page 32&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/138680?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 07:06:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c9511dad-5f95-4847-822f-70ab77174d1d</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
Did you read the manual of the miniModule-167 (Phytec)?&lt;br /&gt;
The mentioned external UART is connected to the bus of the C167 like
external an memory device:&lt;br /&gt;
Chip select /CS4. 8 bit mode, BUSCON4=060Dh (8-bit demultiplexed, RW
delay, Tri-State, ...).&lt;br /&gt;
Jumper 8 (1+2) connects the UARTs interrupt to P2.0 of the C167.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/135281?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 06:41:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1ff488a9-5167-4a6f-ae1f-13b892c3eed8</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
This was a similar question:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/docs/thread11566.asp"&gt;http://www.keil.com/forum/docs/thread11566.asp&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/124435?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 05:30:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f3eac616-f3a3-4849-a97f-a40c3be4b944</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
The processor manual says:&lt;br /&gt;
&lt;i&gt;The high-speed synchronous serial interface can be configured in a
very flexible way, so it can be used with other synchronous serial
interfaces (e.g. the ASC0 in synchronous mode), serve for
master/slave or multimaster interconnections or operate compatible
with the popular SPI interface. So it can be used to communicate with
shift registers (IO expansion), peripherals (e.g. EEPROMs etc.) or
other controllers (networking). The SSC supports half-duplex and
full-duplex communication. Data is transmitted or received on pins
MTSR/P3.9 (Master Transmit/Slave Receive) and MRST/P3.8 (Master
Receive/ Slave Transmit). The clock signal is output or input on pin
SCLK/P3.13. These pins are alternate functions of Port 3
pins.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
If you have an external CAN chip with SPI interface, then you will
obviously be able to use the second port for CAN.&lt;/p&gt;

&lt;p&gt;
A synchronous serial port that supports the correct number of bits
can be used to send asynchronous data. You just ignore the clock
signal it generates.&lt;/p&gt;

&lt;p&gt;
You could potentially abuse a more advanced chip to receive data
too, as long as the transmitting side have a small baudrate error.
You could use a built-in timer to generate a clock signal. You would
then need an edge-trigged interrupt to either activate the
slave-select signal, or to enable the baudrate clock. Just note that
this is not intended usage, and such abusive use will not be as good
as a real UART.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/113649?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2008 04:56:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d9a4c75c-eac9-4f56-a7f7-8f2f1e2dbb4b</guid><dc:creator>Hakam Saffour</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear Mr. Wunderlich:&lt;/p&gt;

&lt;p&gt;
Thank you for your valuable information.&lt;/p&gt;

&lt;p&gt;
The strange thing that in the hardware manual of the mini-module
167, it was mentioned that the second serial port can be used as
RS-485 or CAN.&lt;/p&gt;

&lt;p&gt;
Do you think that they made a mistake? or there is some thing
missing!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/100250?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2008 10:49:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2bc055d5-df56-4e0a-8c2b-a15598417610</guid><dc:creator>Chris Wunderlich</dc:creator><description>&lt;p&gt;&lt;p&gt;
The SSC stands for Synchronous Serial Channel (or commonly
referred to as an &amp;quot;SPI&amp;quot; Serial Peripheral Interface).&lt;/p&gt;

&lt;p&gt;
Send and receive data but not on RS485 as this is an asynchronous
protocol (1 start bit, 1 stop bit and 8 data bits).&lt;/p&gt;

&lt;p&gt;
If you have spare CPU time and the baud rate is low then you could
come to a solution that emulates an ASC but this might be a lot of
work.&lt;/p&gt;

&lt;p&gt;
If you want/can to modify your hardware you could add a chip like
this from NXP.&lt;/p&gt;

&lt;p&gt;

&lt;a href="http://www.standardics.nxp.com/products/bridges/i2c.spi.slave.uart.irda.gpio/#Products"&gt;www.standardics.nxp.com/.../&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
You might also want to consider to move to an XC167CI as DSpace
and Phytec also support this device.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/75986?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2008 07:07:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3bbf5d8f-920e-4f4e-bafa-7cb7b25c5150</guid><dc:creator>Hakam Saffour</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes I know&lt;br /&gt;
What does this means?&lt;br /&gt;
But I can use SSC channel to send/receive data, right?&lt;br /&gt;
Is my code wrong?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSC Port (Second Port) Programming of C167</title><link>https://community.arm.com/thread/49410?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2008 05:07:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7c6978ce-4c67-4f5d-9e23-b4ae4e05d697</guid><dc:creator>Ulf Sa&amp;#195;Ÿ</dc:creator><description>&lt;p&gt;&lt;p&gt;
The C167CR-LM has only ASC0 but no ASC1 (only SSC synchronous
serial channel).&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>