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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds; generated 59 minute(s) ago.

  1. Replies
    82
    Views
    918

    @mjs513 - Hopefully next up figure out what we...

    @mjs513 - Hopefully next up figure out what we should do with the DMA cod with ADC..

    Currently there is code in ADC library called class RingBufferDMA which I am sure started from his RingBuffer...
  2. Replies
    23
    Views
    818

    Ok I edited it like you mentioned... You...

    Ok I edited it like you mentioned...

    You might want to take a look, to make sure I did not screw up something.
    https://github.com/PaulStoffregen/cores/pull/406
  3. Replies
    23
    Views
    818

    Will do. I for sure would not delete the old...

    Will do.

    I for sure would not delete the old defines. Have two choices, both ways are in imxrt.h.

    That is could redefine all them as reflecting the new structure: like with I2C...



    }...
  4. Replies
    23
    Views
    818

    @Paul was wondering about possible additions to...

    @Paul was wondering about possible additions to IMXRT.h. That I have run into as part of the ADC port to T4 Things like:

    ADC structure definition:
    Which I currently have in the ADCL_t4 library:...
  5. Replies
    23
    Views
    818

    @PaulStoffregen... :D Sounds great. There were...

    @PaulStoffregen... :D Sounds great.

    There were a few other PR's out in special thread, like fixing some issues for Wire. @mjs513 has a nice version of the ST7735_t3 code base...

    Wondering...
  6. Replies
    10
    Views
    112

    Again others can answer better than I can... ...

    Again others can answer better than I can...

    I do very little Analog stuff, and rarely do I need to write stuff to SDCards...

    Usually just enough to help other fix problems or testing out new...
  7. Replies
    82
    Views
    918

    @mjs513... I hacked up my test program on...

    @mjs513...

    I hacked up my test program on T3.5 to generate the sine wave where I use one pot to change the amplitude...
    Again not the cleanest setup, but:

    #include <Audio.h>
    #define...
  8. Replies
    10
    Views
    112

    You can use the ADC library on T3.x (and LC), and...

    You can use the ADC library on T3.x (and LC), and use DMA operations to collect.

    As how fast you can write out to SD Cards... There are several threads and other places on web to find...
  9. Replies
    5
    Views
    57

    Assuming you are using the Teensy version of the...

    Assuming you are using the Teensy version of the Wire library.
    Wire.h and Wire.cpp I believe are only used for AVR boards like Teensy 2.

    WireKinetis.h/.cpp - Are used for Teeny 3.x and LC...
  10. Replies
    82
    Views
    918

    @defragster - Will have to remember that later. ...

    @defragster - Will have to remember that later. Luckily not building too much with it here...

    @mjs513 - Pushed up a few more changes/fixes - Playing with the continuous update example. Having...
  11. Replies
    82
    Views
    918

    I know there are probably easier ways and maybe I...

    I know there are probably easier ways and maybe I will play around some more with it, but as for test sketch, can always use Audio library. Example one I just setup to run on T3.5 (or 6)...

    ...
  12. In this case they are uint8_t... As if you...

    In this case they are uint8_t...

    As if you look at the start of the T3.2 manual 47.3 it says: Only byte accesses are supported.
  13. Simple question is why not just uses the values...

    Simple question is why not just uses the values in kinetis.h ...

    But Lets look at S1...
    #define UART2_S1 (KINETISK_UART2.S1) // UART Status Register 1

    It is based off of the address of...
  14. Replies
    82
    Views
    918

    @mjs513 - fixed (I hope) the problems I mentioned...

    @mjs513 - fixed (I hope) the problems I mentioned in the last message, like adc->analogRead(pin);
    Will now check to see if valid pin on any ADC if so it will use the first valid one (i.e. if in my...
  15. Replies
    82
    Views
    918

    @mjs513 - Hopefully I did not screw up...

    @mjs513 - Hopefully I did not screw up everything, but I merged in the DMA branch...

    Still not totally functional yet, but it also has a lot changes for housecleaning.

    That is I moved most of...
  16. Replies
    82
    Views
    918

    @mjs513 - I will merge in some of my stuff soon,...

    @mjs513 - I will merge in some of my stuff soon, to master. It has some of the stuff for adc->adc0 (or 1) but so far I have not added in all of the error stuff.

    Made some progress on the DMA...
  17. Replies
    82
    Views
    918

    @mjs513 - Hope you are doing well. As for...

    @mjs513 - Hope you are doing well.

    As for new branch/master/DMA.. hard to say, I started new branch as there are at least the two of us, and did not want to break everything yet.

    I am trying...
  18. Replies
    82
    Views
    918

    @mjs513 - I see that you added some stuff... ...

    @mjs513 - I see that you added some stuff...

    Note: I just pushed up a new branch DMA_SUPPORT -
    Where I am trying get some of the examples to be able to build and then hopefully work like the...
  19. Replies
    82
    Views
    918

    @mjs513 - Still totally distracted :D Hopefully...

    @mjs513 - Still totally distracted :D Hopefully later today I will maybe have the opportunity to concentrate a little.

    I probably should start off hacking something up, but I find myself wanting...
  20. From what I have seen, I think the USB Serial is...

    From what I have seen, I think the USB Serial is working well, and it makes sense to start including some of the non-serial USB types.
  21. Again hard to say what all you need or don't...

    Again hard to say what all you need or don't need. Or what your plans are.

    I personally just use the Arduino setup, which is fine for the things I wish to do.

    Understanding the board. I...
  22. Replies
    82
    Views
    918

    @mjs513 - Not a problem, I have been distracted...

    @mjs513 - Not a problem, I have been distracted with other stuff today... Did not get much more done yet. Right now busy with three dog circus
  23. Replies
    82
    Views
    918

    @mjs513 - will take a look.. Here is a...

    @mjs513 - will take a look..

    Here is a sublimetext mucked with table for XBar1...

    Wonder this would be valid/reasonable addition for imxrt.h? And if so do I need to do XBAR2...

    // XBAR1...
  24. Replies
    82
    Views
    918

    @mjs513, @PaulStoffregen @manitou, ... ...

    @mjs513, @PaulStoffregen @manitou, ...

    Thought I would see how hard it is to do ADC using DMA at some specific sampling rate, Example for trying to guess if an power is running to a well pump,...
  25. Replies
    82
    Views
    918

    Hi @mjs513 - Yep more coffee (Feel free to PR...

    Hi @mjs513 - Yep more coffee (Feel free to PR it)! You probably know more about all of this than I do!

    @jonr - DMA does not look too hard to add here... Again @manitou has example app, which I...
  26. Replies
    82
    Views
    918

    @mjs513 @manitou... Yep I did clone that project...

    @mjs513 @manitou... Yep I did clone that project down to my disk as well and I am curious about how one sets up to do DMA from the ADC at a specific input rate.

    That is with my always never...
  27. Replies
    82
    Views
    918

    @mjs513 - Me too, but when I did not find it in...

    @mjs513 - Me too, but when I did not find it in RM, decided to look.

    Just pushed up a quick and dirty ReadMe.md file which is a copy of pedvide's Readme with a warning at top that this is a WIP...
  28. Replies
    3
    Views
    91

    Others can maybe give you more exact answers to...

    Others can maybe give you more exact answers to this...

    But void* just means it is a pointer to something... So often times with functions like this, I will then cast it to something like...
  29. Replies
    82
    Views
    918

    I believe from the IMXRT1060CEC.. pdf Page 62...

    I believe from the IMXRT1060CEC.. pdf Page 62 (at least in the one I have)

    ADC Asynchronous
    Clock Source


    So 10 or 20 mhz
  30. Replies
    82
    Views
    918

    @mjs513... I have been playing around with a...

    @mjs513...

    I have been playing around with a semi stripped down version of ADC, which for now I put up on github... I am not sure if it will stay or not...

    But if you want a laugh...
    ...
  31. Replies
    62
    Views
    2,546

    Worked on my machine...

    Worked on my machine...
  32. Replies
    36
    Views
    358

    @someteen (@PaulSoffregen) - As has been...

    @someteen (@PaulSoffregen) -

    As has been mentioned several times before, I have absolutely no idea how they or who might try to encode the 9 logical bits of data if it is begin sent back and...
  33. Replies
    15
    Views
    478

    I believe the AVRC5S is simply another level of...

    I believe the AVRC5S is simply another level of protection. For EMI and ESD... I have not used them yet on my own boards... http://www.1688eric.com/upload/pdf/2012-9-11/AVRC5S05Q050100R.pdf

    My...
  34. Replies
    15
    Views
    478

    Hi and welcome @Fikri - Might help to know which...

    Hi and welcome @Fikri - Might help to know which Teensy... For now I will assume T3.x, TLC, or T4... (ie. not T2), and also which servos. i.e. some libraries only support Protocol 1, so if your...
  35. Replies
    62
    Views
    2,546

    I just updated my Early 2013(or 14) MacBook Pro...

    I just updated my Early 2013(or 14) MacBook Pro to Catalina.

    Then downloaded your package. I tried running, and it did not want to run... So Ctrl+click and run and then it appeared to work...
  36. Replies
    82
    Views
    918

    @mjs513 - Thanks, I thought I remembered seeing...

    @mjs513 - Thanks, I thought I remembered seeing something during beta..

    Wondering with our hacking if we should repackage the test stuff to be more like: ADC Light?

    That is to convert the...
  37. Replies
    82
    Views
    918

    @mjs513 Good Morning, Good question? ...

    @mjs513 Good Morning,

    Good question? Especially if the goal might be to get this functionality into core?

    Or should we aim to be semi-aligned with the ADC library? The only place that I...
  38. Quick update: Did you look at the FAQ page for...

    Quick update: Did you look at the FAQ page for the device? https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/faqs
  39. Since it does the same thing on an Arduino Uno,...

    Since it does the same thing on an Arduino Uno, if you have not already done so, you might try asking about this up on the Adafruit forum...

    You might also mention things like, what version of...
  40. Replies
    10
    Views
    247

    You might look at the thread...

    You might look at the thread https://forum.pjrc.com/threads/57280-RA8875-from-Buydisplay?p=215792&viewfull=1#post215792
  41. Thread: Teensy3.5

    by KurtE
    Replies
    7
    Views
    134

    Have you looked at the keypad library? Not...

    Have you looked at the keypad library?

    Not sure which is best example, but examples->keypad->EventKeypad is one...

    WHich takes care of rows and columns...

    More information up on google...
  42. Thread: Teensy3.5

    by KurtE
    Replies
    7
    Views
    134

    Not sure what you have tried or looked at? ...

    Not sure what you have tried or looked at?

    Have you looked at the PJRC pages like:
    https://www.pjrc.com/teensy/td_joystick.html

    as part of this, have you looked at the example sketches like:...
  43. Replies
    82
    Views
    918

    @mjs513 - Yep I just copied the 8 bit setup to a...

    @mjs513 - Yep I just copied the 8 bit setup to a special 8 bit setup..
    As I noticed that already the 8 bit mode did not turn on the ADLSMP bit, like 10 and 12 do...



    void...
  44. @jonr - we have a T4 that is small and...

    @jonr - we have a T4 that is small and inexpensive. But Paul asked what pins we might want in a T3.6 form factor as per post #1


    Edit: I meant to mention, that I am not in full disagreement,...
  45. Replies
    82
    Views
    918

    @mjs513 I hacked up my version of code to add in...

    @mjs513 I hacked up my version of code to add in a mode to set the resolution to 0x88 and if so it is 8 fast...


    Quick and dirty T4 Analog Read stuff
    8:2(000007a3 00000000)> 3 127 6 : 10 127 7 :...
  46. Replies
    82
    Views
    918

    @mjs513 - Quick update: If you look at my...

    @mjs513 - Quick update: If you look at my previous post, with the updated test sketch that sets both the resolution and averaging.

    And you look at the output line: 8:2(000007a3 00000000)> 0 127 7...
  47. Replies
    82
    Views
    918

    @mjs513 - Will probably leave init and the wait...

    @mjs513 - Will probably leave init and the wait for calibrating alone (if it aint broken... )

    In Your previous post, this line just feels wrong:

    mode = ADC_CFG_MODE(1) | ADC_CFG_ADSTS(0) |...
  48. @Paul - any updates? Some things I am very...

    @Paul - any updates?

    Some things I am very curious about, is how compatible will the T4.? be with the T3.6 layout?

    Example can I drop in one of these instead of a T4 and use the USB host...
  49. Replies
    1
    Views
    39

    My guess is that it by default in high powered...

    My guess is that it by default in high powered mode, as I don't see anywhere in the code base that sets: DAC_C0_LPEN

    You did not give any reference on how you are using it? Are you using external...
  50. Replies
    17
    Views
    184

    @meo - Maybe on buffer1 but for sure in your...

    @meo - Maybe on buffer1 but for sure in your original program, the global variable i. That is your code has(d):


    void setFlagandReadBuf() {

    i = 0; //to be repeated...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4