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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. @CRC Just hooked up my Adafruit RA8875 to a T3.6...

    @CRC
    Just hooked up my Adafruit RA8875 to a T3.6 and saw the same problem. Resolved it though by going into RA8875UserSettings.h and changed the MAXSPISPEED from 22000000 to 12000000 and that...
  2. Replies
    128
    Views
    1,456

    @KurtE Just looked myself and concur, didn't...

    @KurtE

    Just looked myself and concur, didn't see XBAR for GPT. Didn't see anything in the manual either, at least that I could find.
  3. Replies
    128
    Views
    1,456

    Up to about 5 times on ADC_ETC but now have...

    Up to about 5 times on ADC_ETC but now have decided to go back to reading the ADC chapter as well now that I looked at ADC_ETC and @manitou's code at the same time - now you know why I have a...
  4. Replies
    44
    Views
    1,095

    Changing DSE to 4 seems to work better, I would...

    Changing DSE to 4 seems to work better, I would go with this minor update to what you have.:


    #define PINCONFIG (IOMUXC_PAD_ODE | IOMUXC_PAD_SRE | IOMUXC_PAD_DSE(4) | IOMUXC_PAD_SPEED(1) |...
  5. Replies
    44
    Views
    1,095

    @PaulStoffregen The issue seems to resolve...

    @PaulStoffregen

    The issue seems to resolve itself with using the pin configs in the BNO080 Wire PR. It also seems to be working properly with the original pin config in the Wire library before...
  6. Replies
    44
    Views
    1,095

    Just posted on the Beta3 thread. It does work...

    Just posted on the Beta3 thread. It does work but having issues. Initially sketch starts at 400mhz. It wouldn't work. So I changed it to 100Mhz and it would run the sketches tested. I then...
  7. Replies
    8
    Views
    176

    Tested changes to the Wire library with three...

    Tested changes to the Wire library with three devices:

    LidarLite V4LED: worked no issues
    BNO055: worked out of the box no issues
    BNO080: kind of worked. Tested with three example...
  8. Replies
    8
    Views
    176

    Downloaded and installed TD1.49 Beta 3 on Windows...

    Downloaded and installed TD1.49 Beta 3 on Windows 10x64 Home (all updates installed to date) with out any issue.

    As an initial test ran @defragster version of the ClocksT4.ino sketch to test the...
  9. Replies
    44
    Views
    1,095

    Thanks - looking forward to the changes. Then...

    Thanks - looking forward to the changes. Then you better get some sleep.
  10. Replies
    44
    Views
    1,095

    @PaulStoffregen - @KurtE The only other thing...

    @PaulStoffregen - @KurtE

    The only other thing that was part of @KurtE's changes that had nothing to do with the I2C speed changes was also a change for the pad configs for SDA and SCL:

    Is:
    ...
  11. @defragster - @PaulStoffregen Incorporated the...

    @defragster - @PaulStoffregen
    Incorporated the fix and re-ran the ClocksT4 sketch, now getting


    System Clock: 24000000
    IPG Clock: 24000000
    Semc Clock: 32000000
    RTC Clock: 32768
    USB1pll...
  12. Probably easier if I just post it here. Its...

    Probably easier if I just post it here. Its pretty just an extract of code taken from the 1060 SDK. So its a mess if you dig into it.
  13. @PaulStoffregen Way back when we first started...

    @PaulStoffregen

    Way back when we first started I wrote an app that displayed all clocks (one of my first endeavors with the T4). I decided to dust it off and run it to see what it dumped out:
    ...
  14. You are right about the 600Mhz. Even if we...

    You are right about the 600Mhz. Even if we changed the clock speed in startup we never went down to 24 mhz.

    The funny thing about 24mhz is isn't that considered the clock for low-power mode. ...
  15. Replies
    333
    Views
    19,730

    @longlow Probably good idea to fix the PCB. I...

    @longlow
    Probably good idea to fix the PCB. I haven't started assembling the board yet so would only need replacement PCBs.
  16. Know you asked @defragster this but think it goes...

    Know you asked @defragster this but think it goes back further. Found a couple of posts in the beta thread that might be of interest:...
  17. Replies
    128
    Views
    1,456

    Yeah. The analogbufferdma works no issue. The...

    Yeah. The analogbufferdma works no issue. The RingbufferDMA is the one that I can’t seem to get to work. Probably something simple .
  18. Well lets start with this. The MahonyIMU.ino...

    Well lets start with this. The MahonyIMU.ino sketch uses the PRJC MahonyAHRS library. Do not believe this is the same as the one you download with library manager, just a guess here.

    However,...
  19. Replies
    128
    Views
    1,456

    I agree - all compare stuff is in there from what...

    I agree - all compare stuff is in there from what I can except for the example: T4_ADC_Compare:

    this line:

    value = adc->analogReadCmp(pin_cmp, 0); needs to change to

    value =...
  20. Replies
    128
    Views
    1,456

    @KurtE Download and ran updated sketch - no...

    @KurtE
    Download and ran updated sketch - no issues. Compiled out of the box. Used ",datalog.csv" to create a csv.

    Configure ADC 1 and 2Press any key to run test

    If line starts with , ->...
  21. Replies
    128
    Views
    1,456

    Probably need to hack it up to write it as a CSV...

    Probably need to hack it up to write it as a CSV file, would be easier to the read the data from the file. The other possibility is that I started hacking up Bill G's code to read a binary file and...
  22. Replies
    128
    Views
    1,456

    @KurtE - @defragster I copied the sketch in...

    @KurtE - @defragster

    I copied the sketch in post #106 and downloaded the latest core files as well as the latest SDFat lib. Compiled with out issue I did have to make one change;

    } else if...
  23. I have one of these displays as well. Just a...

    I have one of these displays as well. Just a quick thought did you remember to use "Adafruit_800x480" instead of "RA8875_800x480"? Had to ask.

    The Sumotoy library is a bit out dated and i don't...
  24. Replies
    128
    Views
    1,456

    @KurtE Been playing with the updated lib. Tried...

    @KurtE
    Been playing with the updated lib. Tried everything but the logger sketch:
    1. Compare sketch works but there is an error I had to fix. Looks like you have the outdated sketch:...
  25. Replies
    128
    Views
    1,456

    @KurtE Gave it test spin. Having a problem with...

    @KurtE
    Gave it test spin. Having a problem with the SD card believe it or not. Card gets initialized but comes back that it can't create the file. So I ran the datalogger example from the SD card...
  26. Replies
    333
    Views
    19,730

    Morning all Mine arrived yesterday late in the...

    Morning all
    Mine arrived yesterday late in the day. As @KurtE said - think going to wait on the assembly until the issue is resolved.
  27. Replies
    44
    Views
    1,095

    Thanks Paul. Glad the list helped. As for SPI...

    Thanks Paul. Glad the list helped. As for SPI #55 (was just going through the major pieces to check what was still open for you on the T4 that maybe should get into 1.49), doesn't seem to be...
  28. Replies
    44
    Views
    1,095

    Just off the top of the head think there were a...

    Just off the top of the head think there were a few open PRs in the Core for T4: #385, 395 and 397.
    For Wire: PR #18 still open

    See you merged in the ST7735_t3 PR - Thank you :)

    For SPI: ...
  29. Replies
    44
    Views
    1,095

    Just downloaded and copied the changed files and...

    Just downloaded and copied the changed files and gave the "simple.ino" keyboard sketch a try on my Windows10x64 desktop. Looks like the solved the issue with all "hell" breaks loose. Did confirm...
  30. Replies
    128
    Views
    1,456

    Morning @KurtE This cold is kicking my you know...

    Morning @KurtE
    This cold is kicking my you know what. Had to crash for a while. But before more coffee.


    Think you should - it would make life easier to use DMA with ADC. As for using a...
  31. Replies
    128
    Views
    1,456

    Was looking at "I could get ADC and PIT/XBAR to...

    Was looking at "I could get ADC and PIT/XBAR to work together https://github.com/manitou48/teensy4...pitxbaradc.ino" and what it is doing is chaining A0 and A1 and then the PIT triggers using XBARA...
  32. Replies
    128
    Views
    1,456

    Yep. Didn't pick up the bug fix in adcl_t4.cpp. ...

    Yep. Didn't pick up the bug fix in adcl_t4.cpp. When i copied the example forgot to copy the updates to the lib. Oh I already changed the && to ||. Like you said other wise nothing prints.

    Now...
  33. Replies
    128
    Views
    1,456

    @manitou Thanks for the references. Was poking...

    @manitou
    Thanks for the references. Was poking around your repository yesterday looking what to get ADC and PIT/XBAR to work together. Kept going back to the beta thread to get your links :)
  34. You can try: filter.update(gx, gy, gz, ay,...

    You can try:

    filter.update(gx, gy, gz, ay, -ax, -az, my, -mx, -mz); to be honest not sure about magnetometer may have to change the sign on that as well to maintain a right hand rule. changing...
  35. Replies
    128
    Views
    1,456

    @KurtE I gave your new DMA sketch a test last...

    @KurtE

    I gave your new DMA sketch a test last night and this morning. Looks like only adc fires if 2 adc's are used. In other words if I use adc_0 for pin 15 and adc_1 for pin 14 only adc_0 DMA...
  36. The axes are match because of the orientation of...

    The axes are match because of the orientation of the of FXOS8700CQ. In otherwords it rotated on the prop shield so that the axes are aligned. In your picture the 8700CQ would have to be rotated...
  37. Replies
    128
    Views
    1,456

    @KurtE Dug out a pot and hooked into the T3.6...

    @KurtE

    Dug out a pot and hooked into the T3.6 and then ran you updated DMA example. Bottom line up front it works great. Also works no problem with compare. Haven't tried playing with other...
  38. Replies
    44
    Views
    1,095

    Morning again. Anyway, ran the Simple USB...

    Morning again.

    Anyway, ran the Simple USB Keyboard Example, simple.ino, under keyboard examples. Nothing else was hooked up to the T4. Was using a the Ultimate T4 breakout board I got off...
  39. Replies
    44
    Views
    1,095

    @Paul Downloaded and installed Beta2 with no...

    @Paul

    Downloaded and installed Beta2 with no issues whatsoever. Did see all the new USB stuff in the IDE dropdowns.

    Out of curiosity I tried to run the keyboard simple example but my PC is...
  40. Replies
    30
    Views
    1,140

    Thanks not a problem should have mentioned it...

    Thanks not a problem should have mentioned it sooner. That's what I get for taking a nap. :)
  41. Replies
    30
    Views
    1,140

    @PaulStoffregen PR has already been issued for...

    @PaulStoffregen
    PR has already been issued for the updated ST7735_t3 lib.

    Do you think you can get the PR incorporated for Wire library in the 1.49-beta2 release or is it too late?
  42. Replies
    30
    Views
    1,140

    Paul I think you are referring to the PR I did...

    Paul I think you are referring to the PR I did for the Encoder registers. Based on your preference I will redo the structure and ensure it retains the original register names. May have to do a...
  43. Replies
    128
    Views
    1,456

    @KurtE Library taking shape. Instead of the...

    @KurtE
    Library taking shape. Instead of the ringbuffer @tonton81 has his circular buffer library not sure which is better. Will look at ring buffer tomorrow but wanted to let you know that I did...
  44. Replies
    2
    Views
    64

    As a quick suggestion try adding...

    As a quick suggestion try adding Wire.setClock(100000); after temp.begin(). The other possibility is that the pullups should be reduced to 2.2K's
  45. Replies
    128
    Views
    1,456

    @KurtE Just as a FYI I pushed some addition...

    @KurtE
    Just as a FYI I pushed some addition changes to the Compare WIP branch. I did test out the compare and compare range and they seem to be working. The only other change is that I made the...
  46. Replies
    128
    Views
    1,456

    @KurtE Figured out what was happening with...

    @KurtE

    Figured out what was happening with analogRead when doing implementing compare with the T4. The current analogRead gets stuck in in infinite loop on:

    while (!(_padc.HS & ADC_HS_COCO0))...
  47. Replies
    128
    Views
    1,456

    @KurtE Sorry for the delay. I downloaded the...

    @KurtE

    Sorry for the delay. I downloaded the latest and greatest and going to have to change the enabling of the compare function. Decided to add this to the code as a test:

    ...
  48. Replies
    128
    Views
    1,456

    @KurtE Interesting thing I just found out during...

    @KurtE
    Interesting thing I just found out during testing using on the CMP function.

    Since ACMP is on pins 26 and 27 you have to change the resolution on the adc1 (ADC4) to match the what...
  49. Replies
    128
    Views
    1,456

    @KurtE Just added the last of the basic ADC...

    @KurtE

    Just added the last of the basic ADC functions, setOffset, to the base class.

    Started looking at using the ADC_test sketch for some of this. But lost on checking errors. Not sure this...
  50. Replies
    128
    Views
    1,456

    @KurtE Though I had a problem with the compare...

    @KurtE
    Though I had a problem with the compare code the after an hour or so realized I forgot to make a change in to use ACMP4 for the results. So code seems to be working.

    As for the branches I...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4