1C COMPILERS • REAL-TIME OS • SIMULATORS • EDUCATION • EVALUATION BOARDSProgramming the Siemens C167CR CAN Interface: A Real Life Case:Constructing th
102) If I connected a resistor ( 2k or so) between P4.6 and P4.5, the appearance of a signal on theTransmit pin would be appear more consistently and
2µµVision IDEµVision is a Windows based front end for the C Compiler and Assembler. It was developed in the USAas was the printed manual set. Compil
3The CAN programsKeil provides C source code for the A and the B boards. A runs a counter that determines how long ithas been activated in seconds.
4FIGURE 1For Windows 95 you must install the two icons manually as follows. If the two icons are visible in asmall window drag them onto the desktop.
5Connecting it all together1) Connect the power supply to the two boards2) Complete the CAN physical layer connection between the two boards as approp
6Downloading the A Software to the MCB167You are now ready to start the dScope debugger to download and execute code to the Keil A board.1) Press the
7If using only one PC, move the serial COM cable to the second MCB167. The A board will continue tooperate without intervention of dScope. Start at
8COMMUNICATIONS SETUP - Help !You need to follow these instructions if proper communication was not established. After a series ofattempts, dScope wi
9Testing the MCB167 CAN InterfaceAt this point you will have two boards with the physical layer installed, the Keil Tool Set installed, andthe CAN sam
Kommentare zu diesen Handbüchern