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

Search:

Type: Posts; User: dpharris

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    358
    Views
    182,507

    Can someone update me?

    Hi --

    I have been absent this discussion over the last 6-10 months.

    Is the included FlexCAN library with Teensyduino the latest version, or should I be accessing a different library?
    ...
  2. Replies
    59
    Views
    59,409

    CAN Bus Library for Teensy 3.1

    This is original lib that seems to work, last time I tried it:
    https://github.com/teachop/FlexCAN_Library

    Newer lib which was written to be more general, does not seem to work:
    ...
  3. Replies
    59
    Views
    59,409

    Yes, something was broken. I have had no luck...

    Yes, something was broken. I have had no luck determinig why the newer code doesn't work on Teensies. Any help appreciated.
  4. Thread: Interrupts

    by dpharris
    Replies
    4
    Views
    1,329

    Paul -- Thank you for the complete answer, and...

    Paul --
    Thank you for the complete answer, and this should cover my questions, I think. The CAN peripheral is very complicated. I am trying to adapt the library to be compatible with SocketCAN...
  5. Thread: Interrupts

    by dpharris
    Replies
    4
    Views
    1,329

    Thanks, I am aware of that library ... it is very...

    Thanks, I am aware of that library ... it is very good, but does not use interrupts ... hence my question.
    David
  6. Thread: Interrupts

    by dpharris
    Replies
    4
    Views
    1,329

    Interrupts

    I am trying to use interrupts in a CAN library. How does one specify interrupt routines for these chips? There are several CAN interrupt vectors, including for rx, tx, and error reporting. I...
  7. Replies
    501
    Views
    188,885

    I have ordered a loaded and an unloaded Prop...

    I have ordered a loaded and an unloaded Prop shield and they are winging their way to me. Looking foward to them.
  8. Replies
    358
    Views
    182,507

    Using just the diodes works, I have tried it. ...

    Using just the diodes works, I have tried it. However it is not a very robust system, but would be ok for a small (both in number of nodes and length of bus) system.
  9. Replies
    18
    Views
    5,151

    Very cool. So the Export function will also set...

    Very cool. So the Export function will also set up the .begin() functions for each node?
    David
  10. Very nicely done! It sounds good, too! ...

    Very nicely done! It sounds good, too! Congrats.
  11. Replies
    45
    Views
    6,998

    Thanks guys, I downloaded fms1961's branch and...

    Thanks guys, I downloaded fms1961's branch and had trouble, but I got it to work! Nice.
  12. Replies
    45
    Views
    6,998

    Thanks, let us know and I will try it out. ...

    Thanks, let us know and I will try it out.
    David
  13. Replies
    45
    Views
    6,998

    How do I run your version to try it out? Thanks...

    How do I run your version to try it out?
    Thanks
    David
  14. Replies
    358
    Views
    182,507

    Yes, looking at the code, one would use, eg: ...

    Yes, looking at the code, one would use, eg:

    CAN_message_t msg;
    msg.ext = 1; // set message-type to extended.


    Further, I think we should change to .ext to boolean type, or at least...
  15. Replies
    673
    Views
    368,813

    Can this library handle multimaster --- by that I...

    Can this library handle multimaster --- by that I mean handle multiple masters on a single bus, and allow the masters to address one another? I have done this previously with Wire by initializing...
  16. Replies
    68
    Views
    34,278

    Which exactly? Thx David

    Which exactly?
    Thx
    David
  17. Replies
    68
    Views
    34,278

    Is this what this is for? ...

    Is this what this is for? https://www.adafruit.com/products/1590
    David
  18. Start at Audio Lib...

    Start at Audio Lib
    Use the Audio Design Tool to create the basis of a program.
    Look at the various examples in the github or in the Arduino IDE.

    David
  19. Replies
    10
    Views
    3,864

    Vapor phase oven ... can you give more details. ...

    Vapor phase oven ... can you give more details. (sorry, that was in your link: https://hackaday.io/project/7495-vapsy/log/26556-works-well) Looks like great little board! Please tell us when they...
  20. Replies
    358
    Views
    182,507

    To have a functionibg CAN bus, you do need at...

    To have a functionibg CAN bus, you do need at least two nodes ... the transmitter needs an Ack from the receivers. It is not clear to me thst you have that. Some examples use loop back or two...
  21. Replies
    3
    Views
    1,334

    Can only agree ... Teensy 3.2 is my favourite...

    Can only agree ... Teensy 3.2 is my favourite ARM!

    David
  22. Replies
    3
    Views
    1,334

    C'est moi :-)

    C'est moi :-)
  23. Replies
    559
    Views
    198,630

    Did this announcement ever appear, I couldn't...

    Did this announcement ever appear, I couldn't find it on their website.

    David
  24. Replies
    382
    Views
    107,874

    AFAIK APA102 are the LED and controller combined...

    AFAIK APA102 are the LED and controller combined .. has anyone seen just the controller chips?
    David
  25. Replies
    673
    Views
    368,813

    You can use Mosfet level shifters ... snazzy...

    You can use Mosfet level shifters ... snazzy solution, see: http://www.nxp.com/documents/application_note/AN10441.pdf
    David
  26. Thread: Teensy 3.2

    by dpharris
    Replies
    114
    Views
    78,236

    Is there an Eagle library for the 3.1 and 3.2? ...

    Is there an Eagle library for the 3.1 and 3.2?
    Thanks
    David
    PS -- my 3.2s are ordered from Oshpark ... the day after your announcement!
  27. Replies
    549
    Views
    225,397

    Nice addition to the line-up. I will buy some...

    Nice addition to the line-up. I will buy some for sure, but do not have time for beta testing, sorry.
  28. Replies
    175
    Views
    30,318

    Surely update gets called multiple times during...

    Surely update gets called multiple times during the processing of a buffer??


    It was not me, I just asked a question :-)
    David
  29. Replies
    175
    Views
    30,318

    Just asking: I see that this code allocates a...

    Just asking: I see that this code allocates a new block every time it is called, whether or not new data is available, and releases it before exiting. Would it not be better only to allocate the...
  30. Replies
    88
    Views
    147,593

    Sticky: Both Canadian suppliers charge $8 OR $10 for...

    Both Canadian suppliers charge $8 OR $10 for shipping on a $22.80 Teensy 3.1. Getting them from OshPark is cheaper !? WTF?
  31. Replies
    4
    Views
    2,636

    Flip it over?

    Flip it over?
  32. Replies
    2
    Views
    1,315

    There are already some 'synth' routines in...

    There are already some 'synth' routines in Teensyduino: http://www.pjrc.com/teensy/gui/?info=AudioSynthWaveform
  33. Thread: Chorus

    by dpharris
    Replies
    0
    Views
    1,191

    Chorus

    I got my Teensy and Audio shield up and running ... great stuff.

    I tried out chorusing by adding code from the Chorus example to the WavFilePlayer example, see below. It works ok, but I am...
  34. Replies
    18
    Views
    4,391

    You code looks superficially right ... is the...

    You code looks superficially right ... is the endianness right? http://en.wikipedia.org/wiki/Endianness has a section on float and says endianness is not specified in the standard(!)
  35. Replies
    18
    Views
    4,391

    There is also a 16b float:...

    There is also a 16b float: http://en.wikipedia.org/wiki/Half-precision_floating-point_format
  36. Replies
    3
    Views
    1,625

    I think it is worth a try ... most float...

    I think it is worth a try ... most float constants look like powers of two, such as 0.5. These may translate easily to fixed point.
    David
  37. Signed up.

    Signed up.
  38. That sounds nice ... possibly a link to this...

    That sounds nice ... possibly a link to this inexpensive pod?

    Thanks,
    David
  39. Thread: Audio Library

    by dpharris
    Replies
    1,286
    Views
    477,050

    I may have missed this .. is there a way to take...

    I may have missed this .. is there a way to take the Audio description in the source file and input it to the Audio System Design Tool, to see the design?

    Thanks
    David
  40. Replies
    358
    Views
    182,507

    I am interested in a CAN shield ... where might I...

    I am interested in a CAN shield ... where might I get some of these? One concern with Manuel's is that his termination is 100 ohms, rather than the usual 120 ohms. Also, an isolated solution might...
  41. Thread: Audio Library

    by dpharris
    Replies
    1,286
    Views
    477,050

    What mic are you using? I would like to get a...

    What mic are you using? I would like to get a couple.
  42. Thread: Audio Library

    by dpharris
    Replies
    1,286
    Views
    477,050

    Paul -- I see you are playing with Javascript ......

    Paul -- I see you are playing with Javascript ... what package are you using for the UI / linked widgets - that I saw on your Tweet ......
  43. Replies
    45
    Views
    20,348

    Wow, that ST Microelectronics' VL6180X proximity...

    Wow, that ST Microelectronics' VL6180X proximity sensor looks great! Thanks for the tip.

    David
  44. Thanks! David

    Thanks!
    David
  45. Replies
    26
    Views
    14,806

    I agree with comments above, I have a DS1052, but...

    I agree with comments above, I have a DS1052, but would go for the DS1074Z if I was buying today.
    David
  46. Replies
    0
    Views
    767

    OctoWS2811 and CAN, simultaneously?

    Paul ---

    I want to use Teensy 3.1 and CAN ... is this incompatible with the OctoWS2811 LED Library? The header says not to use pins 3 and 4.

    Thanks,
    David
  47. Replies
    59
    Views
    59,409

    Teachop's code looks like a good start :-). ...

    Teachop's code looks like a good start :-). Thanks for coalescing the various CAN threads.
  48. Replies
    358
    Views
    182,507

    Yes, agreed. In our case, our use of the CAN...

    Yes, agreed. In our case, our use of the CAN header is such that filters are not that helpful. But you and I agree that it usefulness is very dependant on the application, so being able to set...
  49. Replies
    358
    Views
    182,507

    Hey, you are defining the lowest level stuff, and...

    Hey, you are defining the lowest level stuff, and tat is very helpful. Most people will just want to get two nodes talking, so much easier requirement. FIFOs etc can be added above this layer. ...
  50. Replies
    358
    Views
    182,507

    Yes, will do as I have time. We do use...

    Yes, will do as I have time. We do use fragmentation and protocols which are order sensitive, see below for a brief description. We have been somewhat disappointed in the CAN controllers, and have...
Results 1 to 50 of 63
Page 1 of 2 1 2