Cypress Perform

Home > Documentation > Application Notes

AN52701 - PSoC® 3 and PSoC 5LP - Getting Started with CAN (Controller Area Network)

Last Updated: 01/09/2013
Version: *I

This application note introduces the basic concepts of CAN (Controller Area Network) and demonstrates how CAN bus communication is implemented using PSoC® 3 and PSoC 5LP.

Introduction

CAN (Controller Area Network) is a serial communication protocol developed by Robert Bosch GmbH in the early 1980s. This protocol was initially developed for automotive applications to communicate between subsystems without a central control. CAN is also being adopted in areas such as embedded systems (CANOpen) and factory automation (DeviceNet). CAN was standardized by ISO in 2003 (ISO 11898-1:2003).

This application note introduces the basic concepts of CAN protocol and demonstrates how CAN bus communication can be implemented using PSoC® 3 and PSoC 5LP (hereafter referred to as PSoC). Four code examples are included with this application note. Examples 1 and 2 together illustrate a simplex communication between two PSoCs. Examples 3 and 4 together demonstrate the Remote Transmission Request (RTR) feature of CAN.

The video talks about how to transmit and receive messages using CAN controller available in PSoC3.

 

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
 V2.1 SP1
V2.1/2.0
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN52701.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN52701_Archive.zip
ES3, Prod
NO
YES
YES
YES*
NO
YES
N/A
N/A
N/A

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050.

Notes:
  1. Click on AN84741 - PSoC® 5 to PSoC 5LP Migration Guide to learn differences between PSoC 5 and PSoC 5LP.
  2. Click on AN77835 - PSoC® 3 to PSoC 5LP Migration Guide to learn differences between PSoC 3 and PSoC 5LP.
  3. For PSoC 5 project and related document, please download file AN52701_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN52701.zip is used with PSoC Creator 2.1 SP1
  • AN52701_Archive.zip is used with PSoC Creator 2.1/2.0

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:


这些文档仅供参考。赛普拉斯、赛普拉斯管理层、雇员及分销商对翻译错误不承担任何责任。当您在设计开发过程中使用这些文档时,我们强烈建议您参照英文版本。

これらの文献はあくまでもご参考のためのみに日本語翻訳されています。誤訳によるトラブルが発生した場合、Cypress Semiconductor Corp. 全ての子会社、関連会社、役員、従業員、販売代理店は一切の責任を負いかねます。 最新の英語版オリジナル文献を必ずご参照いただくことをお勧め致します。




Related Files


Related Resources

Related Application Notes:
Domain Tags: Design Guideline, Communication, CAN/LIN

Related Knowledge Base: #pragma Directive
Spec No: 001-52701; Sunset Owner: RNJT; Secondary Owner: XKJ; Sunset Date: 08/22/11

Rate Application ..

Related Resources

Related Pages