Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mcp2515 interfacing with lpc2148
#1

Abstract

ARM7 LPC2148 Slicker Board

The ARM7 LPC2148 Slicker board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through serial port.

NXP s ARM7 (LPC2148), ARM Slicker Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 32-bit Microcontrollers.

SPI (Serial Peripheral Interface)

Serial Peripheral Interface (SPI) is a synchronous serial data protocol used by microcontrollers for communicating with one or more peripheral devices quickly over short distances. It can also be used for communication between two microcontrollers.

CAN (Controller Area Network)

CAN is a multi-master broadcast serial bus standard for connecting electronic control units (ECUs). Each node is able to send and receive messages, but not simultaneously. CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. The CAN communication protocol is a CSMA/CD protocol.

The MCP2510

The MCP2510 is a Full CAN protocol controller implementing CAN specification V2.0 A/B. It is capable of transmitting & receiving standard and extended messages. It is also capable of both acceptance filtering and message management. It includes three transmit buffers and two receive buffers that reduce the amount of microcontroller management required. The MCU communication is implemented via SPI with data rates up to 5 Mb/s.

Interfacing SPI-CAN

Fig. 1 shows how to interface the SPI-CAN to microcontroller. With an SPI connection there is always one master device which controls the peripheral devices. Typically there are three lines common to all the devices,

Master In Slave Out (MISO) - The Slave line for sending data to the master,Master Out Slave In (MOSI) - The Master line for sending data to the peripherals,Serial Clock (SCK) - The clock pulses which synchronize data transmission generated by the master&Slave Select pin - the pin on each device that the master can use to enable and disable specific devices. When a device's Slave Select pin is low, it communicates with the master. When it's high, it ignores the master.
Reply

#2
hi am santosh kumar i would like to get detail on interfacing of mcp2515 with lpc2148 .I studied the theoretical concepts but i am unable to write the coding for tx and rx ,so plz help me on this regard
Reply



[-]
Quick Reply

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.