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.

  1. 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...
  2. Replies
    61
    Views
    627

    @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
  3. Replies
    61
    Views
    627

    @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...
  4. Replies
    61
    Views
    627

    @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,...
  5. Replies
    61
    Views
    627

    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...
  6. Replies
    61
    Views
    627

    @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...
  7. Replies
    61
    Views
    627

    @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...
  8. Replies
    3
    Views
    77

    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...
  9. Replies
    61
    Views
    627

    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
  10. Replies
    61
    Views
    627

    @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...
    ...
  11. Replies
    47
    Views
    2,187

    Worked on my machine...

    Worked on my machine...
  12. Replies
    36
    Views
    340

    @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...
  13. Replies
    15
    Views
    458

    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...
  14. Replies
    15
    Views
    458

    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...
  15. Replies
    47
    Views
    2,187

    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...
  16. Replies
    61
    Views
    627

    @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...
  17. Replies
    61
    Views
    627

    @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...
  18. 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
  19. 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...
  20. Replies
    10
    Views
    226

    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
  21. Thread: Teensy3.5

    by KurtE
    Replies
    7
    Views
    123

    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...
  22. Thread: Teensy3.5

    by KurtE
    Replies
    7
    Views
    123

    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:...
  23. Replies
    61
    Views
    627

    @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...
  24. @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,...
  25. Replies
    61
    Views
    627

    @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 :...
  26. Replies
    61
    Views
    627

    @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...
  27. Replies
    61
    Views
    627

    @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) |...
  28. @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...
  29. Replies
    1
    Views
    38

    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...
  30. Replies
    17
    Views
    176

    @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...
  31. Replies
    61
    Views
    627

    @mjs513 - I think it, is either a hold over from...

    @mjs513 - I think it, is either a hold over from T3.x analog code or, we ran into some issue, added code to init and...

    That is I think we can either get rid of the line: if (calibrating)...
  32. Replies
    61
    Views
    627

    @mjs513 - Yep, my problem is, when is calibrating...

    @mjs513 - Yep, my problem is, when is calibrating ever not 0?

    The only places I see it ever set, is in the init function:

    ...
    //ADC1
    ADC1_CFG = mode | ADC_HC_AIEN | ADC_CFG_ADHSC;...
  33. Replies
    61
    Views
    627

    @mjs513, @PaulStoffregen - I updated my changes...

    @mjs513, @PaulStoffregen - I updated my changes that I pushed to include the above.

    Good catch on the init function looking at the wrong one.

    I did update the wait_for_cal, sort of like you...
  34. Replies
    61
    Views
    627

    Yes it is a bug in the analogReadAveraging ...

    Yes it is a bug in the analogReadAveraging


    1(000006b7 00000000)> 7 507 10 : 19 507 10 : 1 507 5 : 2 507 5
    2(000006b7 00000000)> 1 507 10 : 19 507 10 : 1 514 5 : 1 507 5
    4(000006b7 00000020)> 8...
  35. Replies
    61
    Views
    627

    Yep does sort of look like maybe a bug? Will...

    Yep does sort of look like maybe a bug? Will take a look later
  36. Replies
    61
    Views
    627

    @mjs513 I went ahead and hacked in the function I...

    @mjs513 I went ahead and hacked in the function I mentioned...
    Also put in loop calls to set the averaging... Although I just used the default one so far..
    18321

    usbHost - Something new and...
  37. Replies
    61
    Views
    627

    My quick look through the functions,...

    My quick look through the functions, analogResolution and analogReadAveraging, I thought they were both already handling both ADC1 and ADC2

    Example analogReadRes:

    void analogReadRes(unsigned...
  38. Replies
    61
    Views
    627

    @tasha @mjs513 - I hacked up a version of...

    @tasha @mjs513 - I hacked up a version of AnalogRead that allowed me to choose a channel 1 or 2 to do conversion.

    Also did a version where I broke it into two parts. First starts conversion,...
  39. Replies
    7
    Views
    111

    Works for me... I modified your code slightly...

    Works for me...
    I modified your code slightly as to remove the overhead of calling main:

    #define MCLK 9

    byte pulse = 0;

    void setup() {
    pinMode(MCLK, OUTPUT);
    }
  40. Replies
    15
    Views
    458

    Still playing with it... With my own board,...

    Still playing with it...

    With my own board, which I hopefully fixed some of the issues I was having running the Servos. Like wrong resistors, maybe cold solder...
    And what may be a bad AX...
  41. Replies
    61
    Views
    627

    @tsaha - As I have mentioned I do most things in...

    @tsaha - As I have mentioned I do most things in digital, so others maybe can help more.

    It would be great if the library ADC was ported over to the T4. But it looks like the owner (pedvide) of...
  42. Replies
    10
    Views
    226

    @wwatson - Wondering how much different is this...

    @wwatson - Wondering how much different is this than the RA8875 boards? i.e. wondering if it makes sense to add support for this board into the RA8875 library code that we forked from Sumotoy?
    ...
  43. Replies
    10
    Views
    541

    @Paul - great to see the USB stuff being updated!...

    @Paul - great to see the USB stuff being updated! Trying to decide if there are enough people beating up on this and wait...

    For now I may simple install fresh copy of Arduino 1.8.10 into new...
  44. Replies
    8
    Views
    125

    Thanks @KG5NII - understand. Compatibility is...

    Thanks @KG5NII - understand.

    Compatibility is an interesting thing.

    Yes - we did play around with the buttons, as to make them to be compatible with the more current Adafruit GFX code,...
  45. Replies
    18
    Views
    371

    Quick update, I am running your sketch, and I am...

    Quick update, I am running your sketch, and I am seeing CR and LF...

    That is: Some output:

    this loop(): 11 Ás
    dmaRXisr: dest=0x20000D3C
    prev loop(): 67391 Ás...
  46. Replies
    18
    Views
    371

    I will try to take a quick look. I did pull...

    I will try to take a quick look.

    I did pull out an Adafruit Ultimate GPS unit out of my displays and sensors box...

    I wired it up to T4 to Serial2. Did a quick and dirty sketch:

    void...
  47. Replies
    0
    Views
    50

    T3.x/T4 - Half Duplex support...

    I know there have been a few different conversations about this in different threads, but as I testing out some stuff on T4 again, and ran into the issues, I thought I would mention it again, and see...
  48. Replies
    8
    Views
    125

    Good luck. When you mention switching to...

    Good luck.

    When you mention switching to different library and causing more trouble than it is worth... Would be interesting to know what the issue may be.

    That is in theory the code base...
  49. Replies
    9
    Views
    671

    Works for me... However make you are editing...

    Works for me...

    However make you are editing the version of the library being used...

    That is when I edited it, I changed it in my <documents>/Arduino/libraries/wire directory as I have a...
  50. Replies
    15
    Views
    458

    Quick update: I thought I would try some of it...

    Quick update: I thought I would try some of it out with the recent T4 board I assembled...

    Found out I screwed up on the board and when I did a copy and paste of a couple of resistors, I forget...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4