Go Down

Topic: BUS Shield ARCAN Problems (Read 419 times) previous topic - next topic

knip

Hi everyone, I have some problems with Arcan Shield library (http://forja.rediris.es/frs/download.php/1222/ArCan_v1.00.tar.gz).
I'm trying the examples of TX/RX transmission that I found on the website (www.arcan.es).

I made a test this morning.

File ArCan.cpp
boolean tArCan::init(void)
{
    // Hacemos un reset por soft al mcp2515
    // Despues del reset entra en modo de configuracion
    digitalWrite(ArCan_CS,LOW);
    spi_putc(SPI_RESET);
    digitalWrite(ArCan_CS,HIGH);

    // Esperamos un poco para que se estabilize el mcp2515 despues del reset
    delay(20);
   
    // load CNF1..3 Register
    digitalWrite(ArCan_CS,LOW);
    Serial.write("TRY1");
    spi_putc(SPI_WRITE);
    Serial.write("TRY2");

Arduino Serial Console printed string "TRY1", but didn't print string "TRY2".

I hope someone can help me.
Bye.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview