<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-17554890</id><updated>2007-05-02T09:27:41.470+01:00</updated><title type='text'>Controller Area Network Interconnected Cluster</title><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/'></link><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default?start-index=26&amp;max-results=25'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default'></link><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.markmckenzie.co.uk/can/can.xml'></link><author><name>Mark McKenzie</name></author><generator version='7.00' uri='http://www2.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-17554890.post-114545748462112049</id><published>2006-04-17T15:33:00.000+01:00</published><updated>2006-04-19T15:38:04.653+01:00</updated><title type='text'>Report Finished!</title><content type='html'>Deserves a few beers I think ;-)</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2006/04/report-finished.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/114545748462112049'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/114545748462112049'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113113305980624332</id><published>2005-11-04T19:33:00.000Z</published><updated>2005-11-04T19:37:39.806Z</updated><title type='text'>Mask Set Errata</title><content type='html'>&lt;a href="http://www.freescale.com/files/microcontrollers/doc/errata/MSE9S12DP256B_1K79X.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/errata/MSE9S12DP256B_1K79X.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is a few things in here about the CAN and other relating issues</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/11/mask-set-errata_04.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113113305980624332'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113113305980624332'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113102081656207943</id><published>2005-11-03T11:58:00.000Z</published><updated>2005-11-03T12:28:35.423Z</updated><title type='text'>Sputnic Project Group Meeting - Minutes</title><content type='html'>Agenda:&lt;br /&gt;1. Project Labs&lt;br /&gt;2. Licences&lt;br /&gt;3. Mailing List&lt;br /&gt;4. Poster Presentation&lt;br /&gt;5. Cross-over of projects&lt;br /&gt;6. Resources / Shipping List&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Project Labs&lt;br /&gt;5th year MEng students have already been assigned a lab within the Royal College building.  Room R169.&lt;br /&gt;&lt;br /&gt;Honours Students will be assigned some PCs within the Arrol Lab (L1009).&lt;br /&gt;This is yet to happen, however, the process of getting these systems is underway.&lt;br /&gt;There might have to be some sort of booking system put in place for these machines.&lt;br /&gt;There might be the need for a hardware lab as well.  Students would use this lab for implementing any addition hardware.  &lt;br /&gt;&lt;br /&gt;2. Licences&lt;br /&gt;The 5th year students will need a licence for their R169 project lab.&lt;br /&gt;System support are going to install the licences onto PCs in the arrol lab and hopefully they will have this sorted out by the end of next week.&lt;br /&gt;Furthermore, we will hopefully be able to get licences for our home machines, however, to have a fully functional home machine will depend on the amount of BDMs available.&lt;br /&gt;&lt;br /&gt;3. Mailing List&lt;br /&gt;A mailing list has been set up as sputnic@cis.strath.ac.uk, however, it is not fully active yet.  You will recieve an email once you have been subscribed to it.&lt;br /&gt;In addition to the mailing list, a wiki (tikiwiki) has been set up.&lt;br /&gt;Http://www.cis.strath.ac.uk/local/wiki&lt;br /&gt;&lt;br /&gt;We are encouraged to use this to this wiki to share common information about the Sputnic projects.&lt;br /&gt;&lt;br /&gt;4. Poster Presentation&lt;br /&gt;Week 11 - 6 x A4 (landscape)&lt;br /&gt;As advised by the 5th year students, the use of a Gant chart is recommended.&lt;br /&gt;The Poster Presentations will be cover in more depth at another time.&lt;br /&gt;&lt;br /&gt;5. Cross over of projects&lt;br /&gt;Please collaborate individually with each other on relevant material.&lt;br /&gt;Furthermore, the wiki is in place to help with common issues/problems.&lt;br /&gt;&lt;br /&gt;6. Resources / Shopping List&lt;br /&gt;There is a limited number of BDMs; we need to check out exactly how many, however, need a full Licenced machine to do that.&lt;br /&gt;Furthermore, the black boxes need to be checked and marked with working or not working. After which, we can take steps to getting them fixed.&lt;br /&gt;Duncan is going to hopefully tap Freescale for some more free stuff, hopefully some more BDMs as well and other things students need.&lt;br /&gt;Each student has to create an invidual shopping list of parts they need and email them to duncan, e.g. Zigbee chips, ethernet etc....&lt;br /&gt;&lt;br /&gt;Other Information.&lt;br /&gt;All emails regarding the projects should have the prefix [project]&lt;br /&gt;As advised by Duncan, it is recommened to have some sort of contingency plan, please try and simulate something incase the actual hardware is not available or you start to have issues with it.&lt;br /&gt;&lt;br /&gt;To dos:&lt;br /&gt;Email Duncan your shopping list (remember the [project] prefix)&lt;br /&gt;Email Duncan your preferred times for individual meetings and also whether you prefer them on a weekly or 2 weekly basis, please remember Duncan would prefer Mondays, Thursday &amp; Fridays if possible and again, the [project] prefix.</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/11/sputnic-project-group-meeting-minutes.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113102081656207943'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113102081656207943'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113063413522412390</id><published>2005-10-30T00:41:00.000+01:00</published><updated>2005-10-31T10:34:41.266Z</updated><title type='text'>Statement of Intent</title><content type='html'>The Controller Area Network (CAN), developed in the 1980s by Robert Bosch [1], is one of the most important networks in the field of real-time embedded systems; allowing for short real-time messages to be transmitted and received at speeds of up to 1 Mbit/sec.  &lt;br /&gt;&lt;br /&gt;The nature of CAN permits messages to be transmitted to multiple nodes simultaneously as CAN passes messages with a specific identifier, not messages with a specific destination.  Each node chooses whether or not it will act upon a specific message by filtering the message's identifier.  This can be done using either hardware or software.  Although this technology was originally developed several decades ago, it is still widely used today in control applications for aircrafts, factories and automobiles.&lt;br /&gt;&lt;br /&gt;This project aims at investigating, designing and implementing such a network and a software library + API to complement the previous SPUTNIC [Single-chip Processor Unit Together with Network Interface Chips] Projects which were based on the Motorola HCS12 single-chip processor and undertaken in 2002/03 and 2003/04.  The creation of software libraries and an API will allow future SPUTNIC projects to utilise the capabilities of the Controller Area Network .&lt;br /&gt;&lt;br /&gt;Furthermore,  this project will also investigate the use of UDP/IP and/or TCP/IP as a gateway to the Controller Area Network (CAN) as well as the possible limitations introduced by using such protocols.&lt;br /&gt;&lt;br /&gt;[1] CAN Specification Version 2.0, Parts A and B, by Robert Bosch GmbH</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/statement-of-intent.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113063413522412390'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113063413522412390'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113040571149697546</id><published>2005-10-27T10:30:00.000+01:00</published><updated>2005-10-27T10:35:11.510+01:00</updated><title type='text'>UDP/IP and/or TCP/IP (optional)</title><content type='html'>Been looking more into the original idea of using TCP/IP as a bridge, however, not sure if it's the best idea, so will also look at UDP/IP ;-)</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/udpip-andor-tcpip-optional.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113040571149697546'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113040571149697546'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113015625793041650</id><published>2005-10-24T13:10:00.000+01:00</published><updated>2005-10-24T13:17:37.930+01:00</updated><title type='text'>Further Notes on Demos</title><content type='html'>Since part of the project is to help other students understand how to use the CAN interface more easily, as well as giving them some form of API to use, I feel that giving a collection of demos that show all the different uses of the CAN (and explained) would be a lot more useful than implementing one massive demo which could cloud the understanding of the CAN API.  Obviously, there is room for larger demos, however, initially I will not focus on them.</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/further-notes-on-demos.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113015625793041650'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113015625793041650'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113015571618286203</id><published>2005-10-24T13:02:00.000+01:00</published><updated>2005-10-24T13:08:36.186+01:00</updated><title type='text'>Simple Demo</title><content type='html'>Since it popped into my head, might as well note it.&lt;br /&gt;A very quick and simple demo could be done by having 2 or more chips linked with the CAN network along with using the onboard LEDs and buttons.  A simple master node could be created that counts the number of times a button is pressed on ANY of the chips (i.e. the number of times messages are passed to it) that are connected to the CAN bus.  Could be further expanded by telling the other chips that the master node had recieved the message, or could broadcast the new total count on the master node etc...</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/simple-demo.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113015571618286203'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113015571618286203'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-113014750163714098</id><published>2005-10-24T10:44:00.000+01:00</published><updated>2005-10-24T10:51:41.643+01:00</updated><title type='text'>Bosch specification. V2.0 
Standard CAN (V2.0A) 11...</title><content type='html'>Bosch specification. V2.0 &lt;br /&gt;Standard CAN (V2.0A) 11 bit identifiers.&lt;br /&gt;Extended CAN (V2.0B) 29 bit identifiers.</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/bosch-specification.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113014750163714098'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/113014750163714098'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112958698949485162</id><published>2005-10-17T23:08:00.000+01:00</published><updated>2005-10-17T23:09:49.500+01:00</updated><title type='text'>Bit Timing</title><content type='html'>&lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN1798.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/app_note/AN1798.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/bit-timing.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112958698949485162'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112958698949485162'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112958346128956326</id><published>2005-10-17T22:00:00.000+01:00</published><updated>2005-10-17T22:15:39.830+01:00</updated><title type='text'>33388 FAULT TOLERANT CAN INTERFACE</title><content type='html'>Yipee, as I already know the development board has CAN, however, the CAN physical layer was not obvious at all.&lt;br /&gt;&lt;br /&gt;Using the schematics and following some copper, I can confirm that the development board has one physical interface. Another physical interfaces can be added, however, that will involve some soldering ;-)&lt;br /&gt;&lt;br /&gt;CAN Physical layer details:&lt;br /&gt;- Low-speed&lt;br /&gt;- Fault tolerant CAN physical interface device&lt;br /&gt;- Compatible with CAN 2.0 A and B protocals. (Very important)&lt;br /&gt;- Very low sleep/standby current (15mA typical)&lt;br /&gt;- Supports communication speeds up to 125 kB/s (Min: 10 kB/s)&lt;br /&gt;- -40°C ≤ TA ≤ 125°C&lt;br /&gt;&lt;br /&gt;Some Features:&lt;br /&gt;- Automatic switching to single wire mode in the event of bus failures with&lt;br /&gt;return to differential mode if bus failures disappear&lt;br /&gt;- Supports unshielded twisted pair bus&lt;br /&gt;&lt;br /&gt;PDFs&lt;br /&gt;&lt;a href="http://www.freescale.com/files/analog/doc/data_sheet/MC33388.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;analog/doc/data_sheet/MC33388.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;NOTE: High Speed 1.0Mbps CAN Interfaces are available too &lt;a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC33742&amp;nodeId=01435974401684"&gt;MC33742&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/33388-fault-tolerant-can-interface.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112958346128956326'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112958346128956326'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112947696661184256</id><published>2005-10-16T16:33:00.000+01:00</published><updated>2005-10-16T16:37:07.156+01:00</updated><title type='text'>Health &amp; Safety (Risk Assessment)</title><content type='html'>Need to do a risk assessment for project.&lt;br /&gt;Only real possible danger is from electrical devices, like, non-covered chips etc...&lt;br /&gt;I've just got to make sure they are powered off when I'm connecting devices to them or playing about with them.&lt;br /&gt;&lt;br /&gt;Furthermore, keep cups of coffee away from them too ;-)&lt;br /&gt;&lt;br /&gt;Need to fill out this form&lt;br /&gt;&lt;a href="http://www.eee.strath.ac.uk/safety/risk-assessment-form.pdf"&gt;http://www.eee.strath.ac.uk/safety/risk-assessment-form.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/health-safety-risk-assessment.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112947696661184256'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112947696661184256'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940692047722794</id><published>2005-10-15T21:07:00.000+01:00</published><updated>2005-10-15T21:08:40.476+01:00</updated><title type='text'>MSCAN Block Guide v02.15</title><content type='html'>Essential read&lt;br /&gt;&lt;a href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/S12MSCANV2.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/ref_manual/S12MSCANV2.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/mscan-block-guide-v0215.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940692047722794'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940692047722794'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940683299013071</id><published>2005-10-15T21:06:00.000+01:00</published><updated>2005-10-15T21:07:12.990+01:00</updated><title type='text'>MSCAN on the MC9S12DP256 compared with HC12 family</title><content type='html'>&lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2011.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/app_note/AN2011.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/mscan-on-mc9s12dp256-compared-with.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940683299013071'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940683299013071'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940646916459217</id><published>2005-10-15T20:54:00.000+01:00</published><updated>2005-10-15T21:04:45.543+01:00</updated><title type='text'>Error Detection</title><content type='html'>The MSCAN is able to detect five types of errors. They are:&lt;br /&gt;1. &lt;span style="font-weight: bold;"&gt;Bit Error&lt;/span&gt; — detected by the MSCAN’s transmit state machine&lt;br /&gt;2. &lt;span style="font-weight: bold;"&gt;Stuff Error&lt;/span&gt; — detected by the MSCAN’s receiver state machine&lt;br /&gt;3. &lt;span style="font-weight: bold;"&gt;CRC Error&lt;/span&gt; — detected by the MSCAN’s receiver state machine&lt;br /&gt;4. &lt;span style="font-weight: bold;"&gt;Form Error&lt;/span&gt; — detected by the MSCAN’s receiver state machine&lt;br /&gt;5. &lt;span style="font-weight: bold;"&gt;Acknowledgement Error&lt;/span&gt; — detected by the MSCAN’s transmitter state machine&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Bit Error&lt;/span&gt;&lt;br /&gt;A node’s transmitter detects a bit error if the bit value monitored is different from the bit value transmitted. An exception to this is when sending a recessive [1] bit and receiving a dominant [0] bit during the arbitration field or the ACK slot. Also, a node transmitting a PASSIVE Error Flag and receiving a dominant [0] bit doesn’t interpret this as a Bit Error.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Stuff Error&lt;/span&gt;&lt;br /&gt;Whenever five consecutive bits of equal value are transmitted, an extra bit of complementary value is automatically inserted into the bit stream. This provides edges for clock resynchronization. The receivers automatically destuff the extra bit of complementary value. So, when a receiver detects a 6th consecutive equal level value (six dominant [0] bits or six recessive [1] bits) during a message field that should be encoded by bit stuffing a stuff error is detected.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CRC Error&lt;/span&gt;&lt;br /&gt;A CRC (Cyclic Redundancy Check) error is detected by the node’s receiver if the CRC calculated by the receiver is different from the CRC received in the message.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Form Error&lt;/span&gt;&lt;br /&gt;The node’s receiver detects a Form Error if a fixed form bit field contains one or more illegal bits. For example, a fixed form bit field would be the arbitration field which can be 12 (standard mode) / 32 (extended mode) bits in length; or the control field which has two reserved bits (r1 and r0) that need to be sent out as two dominants [0] in a row; or the CRC field which has the CRC Delimiter and needs to be a recessive [1] bit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Acknowledgement Error&lt;/span&gt;&lt;br /&gt;A node’s transmitter detects an Acknowledge Error if it doesn’t receive a dominant [0] bit during the ACK Slot. A dominant [0] bit in the ACK Slot indicates an acknowledgment occurred. The ACK Slot is in the Acknowledge field of the data frame. &lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2283.pdf"&gt;*Figure 19&lt;/a&gt; provides a reminder of what the data frame consists of and shows what is inside the Acknowledge field.&lt;br /&gt;&lt;br /&gt;*Figure 19 on page 2 of &lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2283.pdf"&gt;pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/error-detection.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940646916459217'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940646916459217'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940653932042251</id><published>2005-10-15T21:01:00.000+01:00</published><updated>2005-10-15T21:03:13.423+01:00</updated><title type='text'>MSCAN Wake-up</title><content type='html'>MSCAN Wake-up (Low Power Consumption)&lt;br /&gt;&lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2255.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/app_note/AN2255.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/mscan-wake-up.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940653932042251'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940653932042251'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940549530943864</id><published>2005-10-15T20:42:00.000+01:00</published><updated>2005-10-15T20:44:55.310+01:00</updated><title type='text'>Resets and Interrupts</title><content type='html'>Vector Table - lists interrupt sources and vectors in default order of priority.&lt;br /&gt;V. Add. | Interrupt Src| CCR Mask | Local Enable | HPRIO Value to Elevate&lt;br /&gt;&lt;br /&gt;$FFB6, $FFB7 | CAN0 |  wake-up | I-Bit | CAN0RIER (WUPIE) | $B6&lt;br /&gt;$FFB4, $FFB5 | CAN0 | errors | I-Bit | CAN0RIER (CSCIE, OVRIE) | $B4&lt;br /&gt;$FFB2, $FFB3 | CAN0 | receive | I-Bit | CAN0RIER (RXFIE) | $B2&lt;br /&gt;$FFB0, $FFB1 | CAN0 | transmit | I-Bit | CAN0TIER (TXEIE2-TXEIE0) | $B0&lt;br /&gt;$FFAE, $FFAF CAN1 wake-up I-Bit CAN1RIER (WUPIE) $AE&lt;br /&gt;$FFAC, $FFAD CAN1 errors I-Bit CAN1RIER (CSCIE, OVRIE) $AC&lt;br /&gt;$FFAA, $FFAB CAN1 receive I-Bit CAN1RIER (RXFIE) $AA&lt;br /&gt;$FFA8, $FFA9 CAN1 transmit I-Bit CAN1TIER (TXEIE2-TXEIE0) $A8&lt;br /&gt;$FFA6, $FFA7 CAN2 wake-up I-Bit CAN2RIER (WUPIE) $A6&lt;br /&gt;$FFA4, $FFA5 CAN2 errors I-Bit CAN2RIER (CSCIE, OVRIE) $A4&lt;br /&gt;$FFA2, $FFA3 CAN2 receive I-Bit CAN2RIER (RXFIE) $A2&lt;br /&gt;$FFA0, $FFA1 CAN2 transmit I-Bit CAN2TIER (TXEIE2-TXEIE0) $A0&lt;br /&gt;$FF9E, $FF9F CAN3 wake-up I-Bit CAN3RIER (WUPIE) $9E&lt;br /&gt;$FF9C, $FF9D CAN3 errors I-Bit CAN3RIER (TXEIE2-TXEIE0) $9C&lt;br /&gt;$FF9A, $FF9B CAN3 receive I-Bit CAN3RIER (RXFIE) $9A&lt;br /&gt;$FF98, $FF99 CAN3 transmit I-Bit CAN3TIER (TXEIE2-TXEIE0) $98&lt;br /&gt;$FF96, $FF97 CAN4 wake-up I-Bit CAN4RIER (WUPIE) $96&lt;br /&gt;$FF94, $FF95 CAN4 errors I-Bit CAN4RIER (CSCIE, OVRIE) $94&lt;br /&gt;$FF92, $FF93 CAN4 receive I-Bit CAN4RIER (RXFIE) $92&lt;br /&gt;$FF90, $FF91 CAN4 transmit I-Bit CAN4TIER (TXEIE2-TXEIE0) $90</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/resets-and-interrupts.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940549530943864'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940549530943864'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940532813108000</id><published>2005-10-15T20:40:00.000+01:00</published><updated>2005-10-15T20:42:08.136+01:00</updated><title type='text'>System Clock Description</title><content type='html'>Page 69 onwards&lt;br /&gt;&lt;a href="http://www.ece.unh.edu/courses/ece612/9S12DP256BDGV2.pdf"&gt;http://www.ece.unh.edu/courses/ece612/9S12DP256BDGV2.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Need to use the oscillator clock to set different Bit Rates etc...</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/system-clock-description.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940532813108000'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940532813108000'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940274717302402</id><published>2005-10-15T19:58:00.000+01:00</published><updated>2005-10-15T19:59:07.173+01:00</updated><title type='text'>Detailed MSCAN Foreground Receive and Transmit Buffer Layout</title><content type='html'>Page 40 onwards...&lt;br /&gt;&lt;a href="http://www.ece.unh.edu/courses/ece612/9S12DP256BDGV2.pdf"&gt;http://www.ece.unh.edu/courses/ece612/9S12DP256BDGV2.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/detailed-mscan-foreground-receive-and.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940274717302402'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940274717302402'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940267114976456</id><published>2005-10-15T19:56:00.000+01:00</published><updated>2005-10-15T19:58:26.560+01:00</updated><title type='text'>Memory Map</title><content type='html'>$0000 - $0017 CORE (Ports A, B, E, Modes, Inits, Test) 24&lt;br /&gt;$0018 - $0019 Reserved 2&lt;br /&gt;$001A - $001B Device ID register (PARTID) 2&lt;br /&gt;$001C - $001F CORE (MEMSIZ, IRQ, HPRIO) 4&lt;br /&gt;$0020 - $0027 Reserved 8&lt;br /&gt;$0028 - $002F CORE (Background Debug Mode) 8&lt;br /&gt;$0030 - $0033 CORE (PPAGE, Port K) 4&lt;br /&gt;$0034 - $003F Clock and Reset Generator (PLL, RTI, COP) 12&lt;br /&gt;$0040 - $007F Enhanced Capture Timer 16-bit 8 channels 64&lt;br /&gt;$0080 - $009F Analog to Digital Converter 10-bit 8 channels (ATD0) 32&lt;br /&gt;$00A0 - $00C7 Pulse Width Modulator 8-bit 8 channels (PWM) 40&lt;br /&gt;$00C8 - $00CF Serial Communications Interface 0 (SCI0) 8&lt;br /&gt;$00D0 - $00D7 Serial Communications Interface 0 (SCI1) 8&lt;br /&gt;$00D8 - $00DF Serial Peripheral Interface (SPI0) 8&lt;br /&gt;$00E0 - $00E7 Inter IC Bus 8&lt;br /&gt;$00E8 - $00EF Byte Data Link Controller (BDLC) 8&lt;br /&gt;$00F0 - $00F7 Serial Peripheral Interface (SPI1) 8&lt;br /&gt;$00F8 - $00FF Serial Peripheral Interface (SPI2) 8&lt;br /&gt;$0100- $010F Flash Control Register 16&lt;br /&gt;$0110 - $011B EEPROM Control Register 12&lt;br /&gt;$011C - $011F Reserved 4&lt;br /&gt;$0120 - $013F Analog to Digital Converter 10-bit 8 channels (ATD1) 32&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$0140 - $017F Motorola Scalable Can (CAN0) 64&lt;br /&gt;$0180 - $01BF Motorola Scalable Can (CAN1) 64&lt;br /&gt;$01C0 - $01FF Motorola Scalable Can (CAN2) 64&lt;br /&gt;$0200 - $023F Motorola Scalable Can (CAN3) 64&lt;/span&gt;&lt;br /&gt;$0240 - $027F Port Integration Module (PIM) 64&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$0280 - $02BF Motorola Scalable Can (CAN4) 64&lt;/span&gt;&lt;br /&gt;$02C0 - $03FF Reserved 320&lt;br /&gt;$0000 - $0FFF EEPROM array 4096&lt;br /&gt;$1000 - $3FFF RAM array 12288&lt;br /&gt;$4000 - $7FFF Fixed Flash EEPROM array incl. 0.5K, 1K, 2K or 4K Protected Sector at start 16384&lt;br /&gt;$8000 - $BFFF Flash EEPROM Page Window 16384&lt;br /&gt;$C000 - $FFFF incl. 0.5K, 1K, 2K or 4K Protected Sector at end and 256 bytes of Vector Space at $FF80 - $FFFF 16384</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/memory-map.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940267114976456'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940267114976456'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112940155154483346</id><published>2005-10-15T19:38:00.000+01:00</published><updated>2005-10-15T19:39:11.546+01:00</updated><title type='text'>CAN on Boards</title><content type='html'>Five 1M bit per second, CAN 2.0 A, B software compatible modules&lt;br /&gt;– Five receive and three transmit buffers&lt;br /&gt;– Flexible identifier filter programmable as 2 x 32 bit, 4 x 16 bit or 8 x 8 bit&lt;br /&gt;– Four separate interrupt channels for Rx, Tx, error and wake-up&lt;br /&gt;– Low-pass filter wake-up function&lt;br /&gt;– Loop-back for self test operation</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/can-on-boards.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940155154483346'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112940155154483346'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112928066464703513</id><published>2005-10-14T11:01:00.000+01:00</published><updated>2005-10-14T10:04:24.650+01:00</updated><title type='text'>Hopefully Objectives</title><content type='html'>Original Spec described the cluster to have a 'Master':&lt;br /&gt;A master node is possible (by design) at the application layer, however, the nature of the CAN network allows multiple masters, no node is specifically used to control the flow of the traffic. Every node can choose to act on a message or ignore it (again either done at the application layer, or can be done at the data link layer &lt;span style="color: rgb(255, 102, 102);"&gt;(check that is the right layer :-S )&lt;/span&gt; by hardware (msCAN)), thus, if we wanted to have 2 or more 'gateways' to either ethernet, serial etc... it is very possible, however, this is more an application/use of the CAN network, something which the CRICHTON project might be able to use.&lt;br /&gt;&lt;br /&gt;Possible Basic Outcomes&lt;br /&gt;Investigate CAN methods etc...., design and implement a simple local clustering/interconnection mechanism allowing basic communication between a number of SPUTNIC 'nodes'.&lt;br /&gt;Included, of course, would be an API allowing other students to use the CAN bus.&lt;br /&gt;Further developments...&lt;br /&gt;Introduction of filters (using msCAN), error handling etc...., support for multiple CAN Buses.&lt;br /&gt;I need to investiage more, but I'm pretty sure it is possible to support 2 or more different CAN buses using different bandwidths/Bit.&lt;br /&gt;&lt;br /&gt;A possible demo could be to use the webserver to show specific (simulated) sensor information, though I envisage using a demo like this, I don't see it being a part of the project deliverable.</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/hopefully-objectives.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112928066464703513'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112928066464703513'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112922977618574005</id><published>2005-10-13T20:47:00.000+01:00</published><updated>2005-10-13T19:56:16.190+01:00</updated><title type='text'>msCAN - Application Notes</title><content type='html'>&lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2283.pdf"&gt;http://www.freescale.com/files/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2283.pdf"&gt;microcontrollers/doc/app_note/AN2283.pdf&lt;/a&gt;&lt;br /&gt;Think this could be a great for the project, basically allows hardware filtering for messages using the message's identifier (similar to how a subnet mask works), thus, hopefully freeing up some of the CPU by not passing unwanted messages, as well as 'maybe' being able to reduce the amount of code actually used to do the software checking of the messages.&lt;br /&gt;&lt;br /&gt;NOTE: Would like to try and get the msCAN Filter Generator tool.&lt;br /&gt;This tool helps when deciding what message filters &amp;amp; message identifiers to use. CAN@metrowerks.com</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/mscan-application-notes.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112922977618574005'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112922977618574005'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112915741083539825</id><published>2005-10-12T23:49:00.000+01:00</published><updated>2005-10-13T00:08:10.146+01:00</updated><title type='text'>Interrupt Priority Scheme</title><content type='html'>PDF - &lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2617.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/app_note/AN2617.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/interrupt-priority-scheme.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915741083539825'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915741083539825'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112915640448762388</id><published>2005-10-12T23:32:00.000+01:00</published><updated>2005-10-13T00:07:31.210+01:00</updated><title type='text'>msCAN Filter Generator</title><content type='html'>The Motorola msCAN Filter Generator provides a powerful and flexible&lt;br /&gt;way of optimising the filter configuration on an msCAN module. This in&lt;br /&gt;turn can greatly reduce the CPU overhead for handling CAN messages&lt;br /&gt;not intended for a particular node.&lt;br /&gt;&lt;br /&gt;Article &lt;a href="http://www.freescale.com/files/microcontrollers/doc/app_note/AN2010.pdf"&gt;http://www.freescale.com/files/&lt;br /&gt;microcontrollers/doc/app_note/AN2010.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/mscan-filter-generator.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915640448762388'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915640448762388'></link><author><name>Mark McKenzie</name></author></entry><entry><id>tag:blogger.com,1999:blog-17554890.post-112915597072229548</id><published>2005-10-12T23:25:00.000+01:00</published><updated>2005-10-13T00:06:55.200+01:00</updated><title type='text'>Dev Board Schematics</title><content type='html'>&lt;a href="http://www.freescale.com/files/soft_dev_tools/hardware_tools/schematics/MC9S12DP256EVBSCHEM.pdf"&gt;http://www.freescale.com/files/soft_dev_tools/&lt;br /&gt;hardware_tools/schematics/MC9S12DP256EVBSCHEM.pdf&lt;/a&gt;</content><link rel='alternate' type='text/html' href='http://www.markmckenzie.co.uk/can/2005/10/dev-board-schematics.html'></link><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915597072229548'></link><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17554890/posts/default/112915597072229548'></link><author><name>Mark McKenzie</name></author></entry></feed>
