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

Search:

Type: Posts; User: Fox95

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    112

    custom board layout for teensy

    I have a project that incorporates a teensy 4.0 along with 2 other very small boards, one is a CAN transceiver, another is a accelerometer. I'd like to get them all onto one board in a condensed...
  2. Replies
    4
    Views
    135

    Yes. I saw that. Any ideas as to why its slower...

    Yes. I saw that. Any ideas as to why its slower than the 400 requested?
  3. 20874 i just had the same issue today...

    20874


    i just had the same issue today converting from wire ti i2c_t3.

    in the pic are the commands that fixed it for me. the wire begin had to be like them.

    if you havent seen this page:...
  4. Replies
    4
    Views
    135

    here's the logic analyzer capture file if that...

    here's the logic analyzer capture file if that helps.

    thanks
  5. Replies
    4
    Views
    135

    teensy 3.2 scl speed

    i am using a logic analyze to measure speed of the i2c bus, but need some help. its supposed be operating at 400khz


    this is in the code:
    Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19,...
  6. Replies
    0
    Views
    104

    CAN bus transmit speed for 3.2 teensy

    I have a device that generates a value and is being transimtted over pins 3 and 4 on the teensy through a waveshare CAN board to a data logging device, the transmit rate looks like its maybe 100hz...
  7. Replies
    1
    Views
    65

    i figured out the answer to my question, so i...

    i figured out the answer to my question, so i post it in case someone else searches this in the future.

    msg.buf[0] = 0x0315 >> 8; is the answer if you want to only transmit the 03 portion.
    ...
  8. Replies
    1
    Views
    65

    CAN msg buffer mask

    question: is there a way to mask off a hex value?

    example of hex value i am transmitting over CAN:

    msg.buf[0] = 0x0315;
    ----------------------------------------
    lets say i only want to...
  9. Replies
    3
    Views
    179

    awesome, thanks!

    awesome, thanks!
  10. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    as an update for anyone who may read this in the...

    as an update for anyone who may read this in the future, as unlikely as it sounds, i had two bad waveshare CAN boards. ordering new ones solved the above issues. thanks to everyone who responded...
  11. Replies
    3
    Views
    179

    life expectancy of 3.6

    how long will the 3.6 be around?

    is there a board that replaces it?

    Im deciding if i should develop a project on the 3.6 board if its going to be phased out anytime soon.

    also is there...
  12. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    the wiring is good, it was working yesterday...

    the wiring is good, it was working yesterday sending CAN messages just fine.

    the issue arose when i tried to merge the two sets of code where the imu was connected the same time as the wave share...
  13. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    there's a bigger problem here. is there anyone...

    there's a bigger problem here. is there anyone here that works for teensy?

    when i upload one program it will work fine, but when i upload another program its like it wont initiliaze the CAN pins...
  14. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    i have a scope on pins 3, 4 on the teeensy board,...

    i have a scope on pins 3, 4 on the teeensy board, this pic shows what they are putting out, does it look normal?20628 the waveshare board was working earlier
  15. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    its a waveshare sn65hvd230 i didnt think they...

    its a waveshare sn65hvd230

    i didnt think they had enable pins?

    but it worked fine in before when it was just runing that very simply code of transmit only, it transmitted properly
  16. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    20627 i moved the CAN transmit block of code...

    20627

    i moved the CAN transmit block of code up into the area right under where it prints the values for the imu and this does not work either

    as you can see it prints the values of the imu out...
  17. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    yes, it currently prints out that values of roll...

    yes, it currently prints out that values of roll pitch yaw etc...
  18. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    i need to ask one more question, i need to apply...

    i need to ask one more question, i need to apply the above can transmit to a code file that runs a IMU but i am unsure where to put it in the file, i pasted it into the main loop but its not...
  19. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    i figured it out it needs to be this: ...

    i figured it out it needs to be this:

    Can0.write(msg);

    and now it works correctly! thank you for the help this is just what i needed, perfect!
  20. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    it errors when compiling: the line: ...

    it errors when compiling:

    the line: CAN.write (msg); is the error line and says 'CAN' was not declared in this scope
  21. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    20621 the values circled in the pic taken from...

    20621

    the values circled in the pic taken from your examples are not hex. I do not know what they are or where they come from.

    so can you tell me how to modify that code to simply transmit hex...
  22. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    I have ifct downloaded. Can you describe how to...

    I have ifct downloaded. Can you describe how to transmit the values in the right side of the pic using ifct?
  23. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    maybe if i ask like this, I'd like to be able to...

    maybe if i ask like this, I'd like to be able to send messages in hex like the code on the right. does anyone know the line command to be able to do this with flexcan? the code on the left is...
  24. Thread: CAN bus write

    by Fox95
    Replies
    24
    Views
    407

    CAN bus write

    Is there a very basic example of a CAN bus write program somewhere for the teensy 3.6

    I found this on the sparkfun examples and i have made it work with the sparkfun can bus shield and uno.

    but...
  25. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    thats what i need to do, I have a waveshare CAN...

    thats what i need to do, I have a waveshare CAN board and I need to send roll, pitch, yaw, and accleration over CAN
  26. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    it's fixed, im now getting IMU readings. on to...

    it's fixed, im now getting IMU readings.

    on to the next set problems LOL..... what do you know about CAN messaging? haha
  27. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    I have found the source of problem. thanks for...

    I have found the source of problem. thanks for your help. it is working correctly now. there was a issue with the breadboard. so frustrating....
  28. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    yes, just like the pics above, 3.3 volt source...

    yes, just like the pics above, 3.3 volt source on (3rd pin down right next to 23) GND and pin 19 and 18
  29. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    thanks for that, tried it just now, still...

    thanks for that, tried it just now, still nothing. runs through the whole list of addresses and finds nothing.

    I checked the i2c board with a scope and it works on a adafruit board out outputs a...
  30. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    i cannot get the 3.6 to find any i2c devices at...

    i cannot get the 3.6 to find any i2c devices at all, i have moved several i2c devices to the 3.6 that are known to work on other boards and that have internal pull up resistors(adafruit) and they...
  31. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    so i am finding that when i hook any i2c device...

    so i am finding that when i hook any i2c device to the teensy 3.6 and use the i2c scanner its not finding anything. what am i missing with the 3.6 board that it wont find anything?

    EDIT.... I...
  32. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    no, it has always been 0x4A still does not work...

    no, it has always been 0x4A still does not work

    tried without the brackets20596

    but now says error BNO not found at "default" address. so it must not be changing the address the 0x4A?
  33. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    look above at the code i posted i already changed...

    look above at the code i posted i already changed it to 4A
  34. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    no there's nothing else attached, the wires go...

    no there's nothing else attached, the wires go from male to female and whatever is out of the pic just loops back around to where its supposed to go.

    i re wired with all consistent colors so you...
  35. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    20595 i have PS0 and PS1 conected to ground, ...

    20595

    i have PS0 and PS1 conected to ground, and i commented out the lines you suggested and changes. still does prints no values. I commented out the NRST lines but they were necessary for it...
  36. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    20592 this is all i get im using the i2c...

    20592

    this is all i get

    im using the i2c wiring with 2.2k pu resistors on the sda and scl wires. ive had it working and printing imu values from a adafruit board, but i really need to use the...
  37. Thread: IMU teensy 3.6

    by Fox95
    Replies
    24
    Views
    377

    IMU teensy 3.6

    I cannot get any reading from the imu using this code below. I can get reading from it from other boards but when i switched to the teensy 3.6 it now will not work any help is much appreciated

    ...
  38. Replies
    1
    Views
    106

    BNO080 IMU code on teensy 3.6

    Hello, thanks for any help here. I have a IMU that I need to use and would like to run it on a Teensy 3.6.

    I have a example that I found on GitHub. would someone be able to help me with...
Results 1 to 38 of 38