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

Search:

Type: Posts; User: KurtE

Page 1 of 9 1 2 3 4

Search: Search took 0.03 seconds; generated 36 minute(s) ago.

  1. Quick update: I updated the DMA code for the T3.6...

    Quick update: I updated the DMA code for the T3.6 in the same branch to allow the callback as well.

    As part of this I reworked part of the DMA code, which I think makes it a bit cleaner.
    ...
  2. Thanks guys. I probably should then integrate...

    Thanks guys. I probably should then integrate the new members with the T3.5/6 code.

    I am still wondering about my sub-frame method. Right now the callback gets no information, Which if you...
  3. Replies
    2
    Views
    33

    It is an object of the type: AnalogBufferDMA ......

    It is an object of the type: AnalogBufferDMA ...

    It was an object that I created when a few of us were trying to get the ADC library to work on the Teensy T4. I found the previous existing dma...
  4. Replies
    3
    Views
    43

    By version - I meant that if you are using...

    By version - I meant that if you are using Teensyduino version that is reasonably up to date (like within the last year or two...)

    And that T3.x or T4 is preferable. T3.2 should be fine. T3.5...
  5. Replies
    3
    Views
    43

    In many of these cases it would help to know...

    In many of these cases it would help to know which teensy? If I can assume 3.x, 4 and maybe LC, there are a variety of ways. Also helps to know if your transfer is a TX, or RX or both...

    Some...
  6. While experimenting with some other display...

    While experimenting with some other display libraries on T4.x boards I have been wondering about seeing if I could have a workable version of the library that does the DMA updates without the need to...
  7. Replies
    62
    Views
    20,108

    I don't see anything yet up on his github project...

    I don't see anything yet up on his github project for any progress on the T4, but the readme does show:

    The comment was added about 2 months ago, so hopefully he has made progress on it!
  8. I think we are all going at this the wrong way. ...

    I think we are all going at this the wrong way. We should instead find out what that device is that kills off all of the Coronavirus, like they use in that church: :rolleyes: :confused:...
  9. I can agree or disagree... But in many cases...

    I can agree or disagree...

    But in many cases like this, it is what it is... That is even if one could come up with a good argument on changing things like this. They have been this way for...
  10. Replies
    20
    Views
    1,160

    Found bug in setCS - Pushed a change up as my...

    Found bug in setCS - Pushed a change up as my current SPI Pull request:
    https://github.com/PaulStoffregen/SPI/pull/57

    Not sure how long it will be before @Paul will be free to pull stuff in for...
  11. Replies
    2
    Views
    41

    First question is what do you mean by STM32? The...

    First question is what do you mean by STM32? The Adafruit code runs on most Arduinos including STM32. But again you say no Arduino, so no idea of what underlying software you might be using.
    ...
  12. Replies
    20
    Views
    1,160

    Quick update: I have made a version of the sketch...

    Quick update: I have made a version of the sketch that should be able to be configured for either of the two as master and other as slave, and I am seeing your issue.

    Debugging!
  13. Replies
    9
    Views
    153

    These are compiler options to the GCC compiler. ...

    These are compiler options to the GCC compiler. You might want to take a look at the GCC compiler documentation about LTO:
    Maybe look at: https://gcc.gnu.org/onlinedocs/gccint/LTO.html
  14. Yes there are multiple ways to name these pins,...

    Yes there are multiple ways to name these pins, which can be confusing.

    But a lot of things here are setup to make it easy for people to go from one Arduino processor to another. So for example...
  15. Replies
    14
    Views
    241

    A potential other option in much of this would be...

    A potential other option in much of this would be to see if you could do some of this using the FlexIO subsystem.

    So far I have played with some of their examples like SPI and Serial and tried to...
  16. Replies
    20
    Views
    1,160

    I don't see anything obvious yet. Other than an...

    I don't see anything obvious yet. Other than an issue with my earlier one as well.

    There are two different received_data variables, which may cause things to screw up.
    Notice Loop:

    void...
  17. Replies
    13
    Views
    106

    Again as suggested, you might want to do it more...

    Again as suggested, you might want to do it more like:


    #include "TFMini.h"
    TFMini tfmini;

    void setup() {
    // wait up to 4 seconds for serial monitor to be valid
    while (!Serial &&...
  18. There have been several threads recently...

    There have been several threads recently including: https://forum.pjrc.com/threads/59874-Teensyduino-1-51-errors-on-compile-1-48-does-not-ADC-class-implicated

    about the changes to the interface...
  19. There have been a few threads on some of this. ...

    There have been a few threads on some of this.

    I have a Pull request: https://github.com/PaulStoffregen/cores/pull/425
    That allows the user to change to use the higher speed bus. To get higher...
  20. As mentioned it is sort of hard to help here when...

    As mentioned it is sort of hard to help here when there is nothing to check.

    That is are you using the library: https://github.com/LAtimes2/InternalTemperature ?

    How are you calling it? How...
  21. Replies
    9
    Views
    261

    With my boards, I simply solder a whole T4 to the...

    With my boards, I simply solder a whole T4 to the board (usually socketed)... But I am assuming you are not wanting to do that.

    Note: I don't believe that there is currently a bootloader chip by...
  22. Sorry, my guess is that you may need to ask some...

    Sorry, my guess is that you may need to ask some PS4 forum or the like about this. You might also ask on Arduino forum as Pro Micro is an Arduino thing and maybe someone there has a solution.
    ...
  23. Replies
    6
    Views
    89

    Again would suggest updating to lastest release. ...

    Again would suggest updating to lastest release. There were issues with availableForWrite that may only return 1 when anything was available in some cases.
  24. Replies
    13
    Views
    106

    As mentioned, if you are free to use other pins. ...

    As mentioned, if you are free to use other pins.
    Example pin 0, 1 than you should use the hardware serial port. As @mjs513 mentioned would be Serial1

    If you have fixed pins like pins 10 and...
  25. Replies
    6
    Views
    89

    I guess the real question is, what happens if you...

    I guess the real question is, what happens if you don't bother to put in all of the calls to availableForWrite?


    unsigned char const * bfdac = reinterpret_cast<unsigned char const *>(&fdac);
    ...
  26. Replies
    13
    Views
    311

    I don't see anything obvious, maybe others will....

    I don't see anything obvious, maybe others will.

    Again I am assuming Windows. Version 10? What version of Arduino do you have installed? What version of Teensyduino do you have installed?
    ...
  27. I can not say for sure with any new orders, but...

    I can not say for sure with any new orders, but just got notification from OSHPark, that the boards I ordered on March 12th were received and shipped today.
    And I believe that at least the ones I...
  28. I am not much of a user of Python, but there are...

    I am not much of a user of Python, but there are some things that make me want to learn more... Like Saleae is in beta builds with the ability to write python High Level Analyzers, which looks...
  29. It will be interesting, but also yesterday heard...

    It will be interesting, but also yesterday heard some one ask an expert in critical care... about using CPAP or the like for COVID-19, and he stated that using a CPAP would risk putting secretions...
  30. I am not sure yet where their real interactive...

    I am not sure yet where their real interactive map is, but I believe it is called the "kinsa us health weather map"
    You can find it talked about in several places on the web including:...
  31. Replies
    14
    Views
    182

    @luni - was also wondering if it would make sense...

    @luni - was also wondering if it would make sense in one or more of your classes to have a method which returns the IRQ number associated with that object?
    And/Or have a method like IntervalTImer...
  32. Yes - I saw a portion of a show yesterday where...

    Yes - I saw a portion of a show yesterday where they interviewed someone (don't remember if owner or ??? of the company), where they showed a us map where they recorded the counts/locations of those...
  33. Replies
    2
    Views
    217

    I am not a one who uses Ubuntu often. Do have a...

    I am not a one who uses Ubuntu often. Do have a machine or two with it, but ...

    Things I would check, include:
    a) can you open a terminal window and cd to /tmp? Is stuff there? If so I would...
  34. Replies
    13
    Views
    311

    Do you have everything but USB disconnected? Did...

    Do you have everything but USB disconnected? Did you solder anything onto the board? Did you check for shorts. Do you have a multi-meter? if so might check while unpluged resistance from VIN to...
  35. @kdharbert, Might help if included some...

    @kdharbert, Might help if included some additional information, like which teensy? Also simple example sketch which is not working now...

    I assume in your above your code has this uncommented:...
  36. I am not sure how well that library works with...

    I am not sure how well that library works with stuff created on the heap... But the first thing I would do is:


    Display::Display(int w, int h)
    {
    width = w;
    height = h; //Must be multiple...
  37. Replies
    7
    Views
    110

    The question is when did you do a memcpy? Will...

    The question is when did you do a memcpy? Will it catch all of the places that currently setup their own ISR handler.

    Example if somewhere in your code after this does something like:...
  38. Replies
    14
    Views
    182

    I believe they all start out at priority 128. ...

    I believe they all start out at priority 128. You can use priority method on your interrupt handler to set them to something else.

    You might also be able to use @luni's TeensyTimerTool stuff, to...
  39. Replies
    7
    Views
    110

    I guess it may depend on how hard do you want to...

    I guess it may depend on how hard do you want to work at it?

    That is there are places in code that are hard coded to write to _vectorsRam as a known array. Simply do a global search in the...
  40. Replies
    16
    Views
    282

    My guess, is this is something you will need to...

    My guess, is this is something you will need to experiment with and see what works and what does not...

    My assumption, is that the main entry point is the ResetHandler, as set in the bootdata.c...
  41. Replies
    7
    Views
    110

    I can imagine you could be running into a whole...

    I can imagine you could be running into a whole lot of problems or questions, like:
    You are in an interrupt, and then you try to call Serial.print...

    Suppose: you have interrupts before the...
  42. Replies
    14
    Views
    182

    I believe that is the longest period you can...

    I believe that is the longest period you can specify at 600Mhz, which is reflected in your output.

    Of course you do have other alternatives, like use the Interval Timer library.
  43. Codewise I personally almost never use the string...

    Codewise I personally almost never use the string class.

    String notes[12] = { "C", "C#", "D", "D#", "E", "F", "F#" ,"G", "G#", "A", "Bb", "B" };

    Also don't know where you are adding these? ...
  44. Sometimes when I see things like this, I start to...

    Sometimes when I see things like this, I start to look at some generic things like:
    a) Are you trying to use more memory than you have. Example has your data gotten large enough where your stack...
  45. Replies
    2
    Views
    76

    Looks like you are ysing the wrong library? ...

    Looks like you are ysing the wrong library?

    #include "Adafruit_HX8357.h"

    Should be:

    #include "Adafruit_ILI9341.h"
    The HX8357 is a larger display with more pixels...
  46. On your linux machine, did you download and...

    On your linux machine, did you download and install the udev.rules? As mentioned in the
    download page?
    https://www.pjrc.com/teensy/td_download.html

    That is usually the first thing that I...
  47. Replies
    14
    Views
    182

    @Frank - I think what he is noticing is if you...

    @Frank - I think what he is noticing is if you run at 150 MHz, the serial Output shows:

    100001
    100001
    100001
    100001
    100001
    Or a 10th of a second
    But at 600 MHz you see
  48. Replies
    14
    Views
    182

    Yep it looks like, at 600mhz the slowest the code...

    Yep it looks like, at 600mhz the slowest the code shows, the timer one code shows:

    void initialize(unsigned long microseconds=1000000) __attribute__((always_inline)) {
    setPeriod(microseconds);
    ...
  49. And it appears that there were lots of changes to...

    And it appears that there were lots of changes to the flightsim code for T3.x on Feb 2nd by @jbliesener

    I am not sure of all of the reasons for the changes and/or are there other requirements of...
  50. Feels like this is a duplicate of your thread:...

    Feels like this is a duplicate of your thread: https://forum.pjrc.com/threads/60025-Is-FlightsimControls-working-with-TeensyControls-1-51

    And as I suggested in previous thread, it really helps...
Results 1 to 50 of 416
Page 1 of 9 1 2 3 4