Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8277651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:44:51+00:00 2026-06-08T08:44:51+00:00

I am working with an LPC1768 ARM Cortex M3 microcontroller by NXP ( datasheet

  • 0

I am working with an LPC1768 ARM Cortex M3 microcontroller by NXP (datasheet, user manual). I would like to test the CAN bus peripheral in the self test mode described in the user manual under the section ‘16.5.8 CAN controller self-tests’, but it doesn’t work.

I tried these NXP examples described on the NXP knowledgebase and used the NXP example code (can_self_test codes). All pin configurations run OK, and all CAN bus configuration and CAN bus message frames run OK too (controlled one by one). But inside the CAN1_Send func after this step:

CANx->CMR = 0x41;

the error flag is set. Nonetheless, CAN1_Send returns SUCCESS.

In fact, this error status means ‘bus off error’. ‘bus off error’ means there was a frame error and CAN controller error. I test Data frame and CAN controller. It works.

I use an RS-232 cable for connecting CAN1 and CAN2. For self testing, I use CAN1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:44:52+00:00Added an answer on June 8, 2026 at 8:44 am

    I’m not familiar with that CAN controller, but that behaviour doesn’t surprise me. If you are performing a standalone test, then although you correctly receive the message you sent, because there are no other nodes on the bus, the message will go unacknowledged. The controller will retry for a while before entering the error states described in sections 6 and 7 of the CAN spec

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some tutorial for working with cortex lpc1768.i think it doesn't have good
Working with an undisclosed API, I found a function that can set the number
Working : urlpatterns = patterns('', (r'^$', views.index), (r'^test/$|test/(\d+)/$', views.test_page), (r'^(name)/$', views.index), (r'^(username)/$', views.index), )
Working with Json, how can I NSlog only the title in this code: NSDictionary
Working with COM interop, I can call a managed function from within unmanaged code.
Working with an API that can handle multiple connections (i.e. sessions), each of these
Working on THIS Page: newsite.702wedding.com/live/ Can't find where to remove the arrows at the
Working live URL showing problem: http://69.24.73.172/demos/newDemo/test.html The HTML : <div class="small-vote"> <a href="#" class="s
Working with TCL and I'd like to implement something like the Strategy Pattern .
Working on various GNU Readline-based CLIs and it would dramatically speed me up if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.