Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • bvernham's Avatar
    12-06-2021, 01:34 AM
    I think what I have going is much more complicated that what you need to roll with. I am handling DBC files with up to 83 messages and 400 ish signals for each buss. I can share some ideas if you can give me some...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    12-05-2021, 03:47 PM
    That is why I developed both packages. Depends if you want resident Ethernet or not. Teensy 4.1 has 100 mbs ethernet on board also the SDIO micro SD card is a tiny more stable then having to put it on a separate...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    12-05-2021, 12:49 PM
    I have two sets right now. In on combination I do not get USB communication with one of them. If I swap the Micromod Teensy's around then everything works fine. This is definitely a connector tolerance issue. I...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    12-05-2021, 02:40 AM
    Yes at > 1000 frames per second (for a stress test of my code) to all 3 busses at the same time.
    886 replies | 124014 view(s)
  • bvernham's Avatar
    12-04-2021, 09:20 PM
    I developed a board which uses all 3 CAN controller for the Micromod Teensy with the ATP board. All three controllers work as expected.
    886 replies | 124014 view(s)
  • bvernham's Avatar
    11-25-2021, 03:08 AM
    "I don't know your layout but FIFO occupies by default the first 8 mailboxes" OK, that make a lot of sense now..... Did not understand that FIFO utilizes mailboxes....I thought they were seperate but equal so for me...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    11-24-2021, 07:34 PM
    Yes both MB and FIFO interrupts are enabled. Why would enabling FIFO stop MB from firing? As soon as enable the FIFO the MB stops responding? I also tried setting priority to MB but that seemed to do nothing. ...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    11-24-2021, 02:58 PM
    Also, do you always need "events"? I only added events with FIFO but when only using MB I never had "events" and only had interrupts. Does it matter in the order for calling "distribute"? Do you do this after you...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    11-24-2021, 12:51 PM
    Yes, I am using distribution() but that does not seem to stop both from firing. PS I do not care of both fire as I am using the FIFO for J1939 network messages only and I am using MB for the full filtering of the DBC...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    11-24-2021, 02:12 AM
    OK, I have a new one. So up to now I have been using MB filtering exclusively but for J1939 Network PGNs you need to mask them for that essentially only the PDU format and data page bits are used. This is because...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    10-13-2021, 04:02 PM
    You can set what ever you want in the call back function. I use the same call back function for CAN1 to 3 so I have a bit encoded uint8_t that I set and clear the bits based on the state of the frame received from...
    886 replies | 124014 view(s)
  • bvernham's Avatar
    10-13-2021, 02:29 AM
    I am using Arduino 1.8.16/TD1.55 release. SDFat from TD1.55 release. Time stamp is not the. I am using the Teensy3 call back with no issue. Data streaming with 4.1 works all the time....same code with Micromod...
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-13-2021, 01:40 AM
    OK so now I seem to be having another problem. Same scenario as above. Same SD card. Same code between the For the Teensy 4.1 I am always getting data stored. For the Micromod with the SDIO interface...
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-12-2021, 07:42 PM
    This is what the board lay out in case anyone is interested. I set up a circular buffer which seems to handle this better. Probably will move the 12v line in a new version. Presently there is nothing on the 12V...
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-12-2021, 03:47 AM
    How do I preallocate when I do not know how big the file is?
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-12-2021, 02:25 AM
    I ran both the bench and TeensySDIO Demo with both boards. You have to excuse my "duh" moment but I quote # off by 1000...20K KB/set.....is not 20 kb/sec. Anyways here are the numbers: Micromod with SDIO...
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-11-2021, 08:55 PM
    I am basing by "good" comment based on:https://forum.pjrc.com/threads/57669-SdFat-SDIO-for-Teensy-4-0 I ran the same sketch and got similar #'s to what was reported in the forum post above. I updated SdFat within...
    19 replies | 995 view(s)
  • bvernham's Avatar
    10-11-2021, 07:52 PM
    So I am running into what I think is a band width limit of streaming raw CAN data to an SD card. I am running TD 1.54 release and IDE 1.8.15. SDFat 2.1.0 (latest release) I am using micro SD card on the teensy...
    19 replies | 995 view(s)
No More Results
About bvernham

Basic Information

Statistics


Total Posts
Total Posts
156
Posts Per Day
0.06
Last Post
FlexCAN_T4 - FlexCAN for Teensy 4 12-06-2021 01:34 AM
General Information
Last Activity
12-06-2021 07:02 PM
Join Date
02-16-2015