
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for a lab assignment in the microcontroller applications course (ece 4510/5530) focusing on can bus applications. Students are required to create a cable hookup diagram and write a c program for task one. The program should set the baud rate to 500kbs, use the oscillator clock for the mscan clock source, and set up four 16-bit acceptance filters. Students should use both the mscan1 transmit and receive interrupts to synchronize the cpu and the can1 module. The memory locations for the transmit and receive buffer arrays are specified, and the message to be transmitted is given.
Typology: Lab Reports
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Fall 2008 Prelab Assignment for Lab Eleven
The designated CAN Module is CAN1. The CPU clock rate is 8MHz.
The memory locations for the transmit and receive buffer arrays should be 0x1020 and 0x1060 , respectively. The receive buffer area should be initialized to all zeroes. The message to be transmitted should be made up of 32 characters. It is to be terminated by a 0x00 ( EOS ) character ( not included in the count) that will not be transmitted. The program should keep on receiving and transmitting messages on the CAN Bus. You should use both the MSCAN1 Transmit and Receive Interrupts , respectively, to synchronize the CPU and the CAN1 Module.