Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Fox95's Avatar
    07-22-2020, 01:56 PM
    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 package. I am new to...
    1 replies | 114 view(s)
  • Fox95's Avatar
    07-06-2020, 06:54 AM
    Yes. I saw that. Any ideas as to why its slower than the 400 requested?
    4 replies | 137 view(s)
  • Fox95's Avatar
    07-06-2020, 12:17 AM
    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: ...
    1 replies | 123 view(s)
  • Fox95's Avatar
    07-06-2020, 12:10 AM
    here's the logic analyzer capture file if that helps. thanks
    4 replies | 137 view(s)
  • Fox95's Avatar
    07-06-2020, 12:07 AM
    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, I2C_PULLUP_EXT, 400000); //...
    4 replies | 137 view(s)
  • Fox95's Avatar
    07-02-2020, 12:26 AM
    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 at best, is there...
    0 replies | 106 view(s)
  • Fox95's Avatar
    07-01-2020, 10:33 PM
    i figured out the answer to my question, so i post it in case someone else searches this in the future. msg.buf = 0x0315 >> 8; is the answer if you want to only transmit the 03 portion. if shifts 8 bits. (i...
    1 replies | 67 view(s)
  • Fox95's Avatar
    07-01-2020, 07:39 PM
    question: is there a way to mask off a hex value? example of hex value i am transmitting over CAN: msg.buf = 0x0315; ---------------------------------------- lets say i only want to transmit the "03" in that...
    1 replies | 67 view(s)
  • Fox95's Avatar
    07-01-2020, 12:05 AM
    awesome, thanks!
    3 replies | 188 view(s)
  • Fox95's Avatar
    06-30-2020, 11:16 PM
    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 here. i was out of...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-30-2020, 11:13 PM
    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 version that's physically...
    3 replies | 188 view(s)
  • Fox95's Avatar
    06-18-2020, 04:27 AM
    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 I know what a CAN...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 10:32 PM
    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 on the teensy...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 09:43 PM
    i have a scope on pins 3, 4 on the teeensy board, this pic shows what they are putting out, does it look normal? the waveshare board was working earlier
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 09:32 PM
    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
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 09:06 PM
    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 correctly, but CAN values...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 09:01 PM
    yes, it currently prints out that values of roll pitch yaw etc...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 06:16 PM
    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 sending out any CAN data. ...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 02:32 PM
    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!
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 02:24 PM
    it errors when compiling: the line: CAN.write (msg); is the error line and says 'CAN' was not declared in this scope
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 01:58 PM
    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 values? the hex values i...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 12:56 PM
    I have ifct downloaded. Can you describe how to transmit the values in the right side of the pic using ifct?
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-17-2020, 02:41 AM
    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 from flexcan example,...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-16-2020, 05:48 PM
    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 i need to move over...
    24 replies | 410 view(s)
  • Fox95's Avatar
    06-15-2020, 07:04 PM
    thats what i need to do, I have a waveshare CAN board and I need to send roll, pitch, yaw, and accleration over CAN
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-15-2020, 06:43 PM
    it's fixed, im now getting IMU readings. on to the next set problems LOL..... what do you know about CAN messaging? haha
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-15-2020, 06:20 PM
    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....
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-15-2020, 06:12 PM
    yes, just like the pics above, 3.3 volt source on (3rd pin down right next to 23) GND and pin 19 and 18
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-15-2020, 05:38 PM
    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 wave pattern as...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-15-2020, 04:38 PM
    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 will not show up on...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 10:37 PM
    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 moved to pins 17 and...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 10:11 PM
    no, it has always been 0x4A still does not work tried without the brackets but now says error BNO not found at "default" address. so it must not be changing the address the 0x4A?
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 09:44 PM
    look above at the code i posted i already changed it to 4A
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 09:10 PM
    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 can see where they...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 07:55 PM
    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 to work on a adafruit board...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 05:52 PM
    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 teensy board from here out ...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-13-2020, 05:38 PM
    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 #include...
    24 replies | 395 view(s)
  • Fox95's Avatar
    06-12-2020, 11:49 PM
    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 converting it to be used on...
    1 replies | 110 view(s)
No More Results
About Fox95

Basic Information

Statistics


Total Posts
Total Posts
38
Posts Per Day
0.67
Last Post
custom board layout for teensy 07-22-2020 01:56 PM
General Information
Last Activity
07-22-2020 01:56 PM
Join Date
06-12-2020