Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: slythy

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    78

    sending data over CAN from teensy

    I am using the improved flex can library and I have it reading Messages fine using



    FRWJCAN =msg.buf[2]*256 +msg.buf[3];
    if (FRWJCAN> 32768)
    {
    FRP = (FRWJCAN-...
  2. Hey I got my project working and can get it to...

    Hey I got my project working and can get it to read CAN messages all day! thanks for that.

    Now I have a question of how i can send a can message using that code.

    Is it like Can0.write(msg)?...
  3. reliability and current draw from 3.6 @240mhz?

    Hey, does anyone know the current draw from changing the clock speed from stock to 240? I need really fast calculations but there is a ton of stuff attached to the arduino so im trying to be a little...
  4. Ok progress! I have 8 CAN busses on my data...

    Ok progress! I have 8 CAN busses on my data system and I read the data sheet wrong. Now i get some messages. Is the buffer the start of each of the 8 messages? I notice when I shift it around that C...
  5. Here is my code as it sits, My Serial monitor is...

    Here is my code as it sits, My Serial monitor is still blank. I get 120ohms across the lines when i beep them out. I have a decent amount coming across that bus right now so I cant believe its not...
  6. I am looking at the IFCT Library and I am unsure...

    I am looking at the IFCT Library and I am unsure of where to actually change whats been declared. I dont see anything in the IFCT.h that mentions the pin and there is some in the IFCT.cpp that...
  7. Yea, the resistor is turned on in the data system...

    Yea, the resistor is turned on in the data system and then there is a 120 ohm resistor on the fusion pcb. I tried to turn off the data systems resistor and still nothing.

    Im wondering if there...
  8. Its attached to a data logging system. All wires...

    Its attached to a data logging system. All wires are connected correctly on the data system.

    I changed it to CAN0 but still get nothing. I know things are on that CAN bus so its strange I get...
  9. Cant get CAN to work on Teensy 3.6 with the dual can board

    I cant get any data from my system to the teensy. I currently have the CAN hooked up to my system (white HIGH, Blue Low, Orange is ground)

    I am using CAN 1 on the dual CAN board. any reason why...
  10. Delete please

    Posted in wrong section sorry, delete
  11. Replies
    1
    Views
    155

    Reading a specific set of CAN message

    I have a 3.6 and then the Dual CAN board from tindy.

    I am looking at reading specific CAN channels from a datalogging system. I have complete control over the messages sent out and recieved. I am...
  12. Replies
    190
    Views
    15,788

    void loop() { CAN_message_t msg; if (...

    void loop() {
    CAN_message_t msg;
    if ( Can0.read(msg) ) canSniff(msg);
    }

    void canSniff(const CAN_message_t &msg) {
    Serial.print("MB "); Serial.print(msg.mb);
    Serial.print(" LEN: ");...
  13. Replies
    190
    Views
    15,788

    Hey, I have a project that I am starting here...

    Hey, I have a project that I am starting here shortly and don't even really know where to start. I have 1 device that I can send data over with any address as any bit length from unsigned8bit to a...
  14. Replies
    2
    Views
    205

    Awesome, thanks for the response. Ok, that gives...

    Awesome, thanks for the response. Ok, that gives me a bit of confidence.

    Thanks!
  15. Replies
    2
    Views
    205

    5v CAN Bus on a Teensy 3.6

    I'm planning on running a SN65HVD230D for my CAN transceiver and it operates on a 3.3v system.

    Now with CAN since its differential and really should only see 2.5v max on the lines (correct?) it...
Results 1 to 15 of 15