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. Replies
    4
    Views
    88

    Hard to say. There should be more or less be no...

    Hard to say. There should be more or less be no difference between SPI and SPI1 and SPI2 on the Teensy 4 boards.

    That is they run off of the same clock settings in the CCM section. They setup...
  2. Here was one I took just now... 22246

    Here was one I took just now...
    22246
  3. Replies
    2
    Views
    50

    The simple answer is it should be there: We do...

    The simple answer is it should be there:
    We do have it defined in the header file:

    #define SERIAL_7E1 0x02
    #define SERIAL_7O1 0x03
    #define SERIAL_8N1 0x00
    #define SERIAL_8E1 0x06
    #define...
  4. @mjs513 - I think I may have found some of our...

    @mjs513 - I think I may have found some of our main issues with current sketch ;)

    The main sketch has a call: cameraSetResFormat(RGB565, QVGA_320x240);

    The actual function: bool...
  5. Replies
    8
    Views
    135

    Or you can try the QWIIC connector ;)

    Or you can try the QWIIC connector ;)
  6. Replies
    1
    Views
    34

    I have it and use it from time to time. Most of...

    I have it and use it from time to time. Most of the time I stay with Arduino and for more complex stuff I use SublimeText as my editor and have stuff setup to build within it.

    The only gotcha I...
  7. Thanks @mborgerson, Today just sort of...

    Thanks @mborgerson,

    Today just sort of screwing off, playing with updated version of Diptrace.

    I have a first pass at quick and dirty PCB, that is still same size as ILI9341... Note we can...
  8. Morning all, I ordered a second set the same...

    Morning all,

    I ordered a second set the same as mentioned in 157. Looks like same wiring.

    Note Wire library scanner did not see them, but I appear to be able to read/write registers as...
  9. Forgot to mention: The GPIO version is more...

    Forgot to mention: The GPIO version is more checked in: https://github.com/KurtE/Arduino_OV767X/tree/Teensy_t4_dma-hold

    And updates other sketch
  10. @mjs513 - I can not get either camera to register...

    @mjs513 - I can not get either camera to register with Wire scanner... I thought maybe at first that maybe we need to do the reset code or the like...

    But I moved all of the stuff off of one of...
  11. Right now it looks like my Wire(I2) connection is...

    Right now it looks like my Wire(I2) connection is actually not working to that one... So may need to rework... Scanner is not finding it. :o

    The read from other software on other camera

    I2C...
  12. Good Morning, Will take a look. I was playing...

    Good Morning,

    Will take a look. I was playing some later yesterday with the other library where I am reading in data using the reading of GPIO port...

    I hacked up their I2C write and read...
  13. Replies
    8
    Views
    135

    I tried to order one, but Digikey does not have...

    I tried to order one, but Digikey does not have them, nor some of the other places and Adafruit still will not ship to my address (PMB).
  14. One last thing/possibility... By chance did...

    One last thing/possibility...

    By chance did you cut the trace that connects VUSB to VIN... And forget to either add external power or to jumper those two pins...

    In either case, if you have a...
  15. Will have to take a look! Here is running the...

    Will have to take a look!

    Here is running the other (posted earlier up on github more or less)...

    Calling the init currently with: if (!Camera.begin(VGA, RGB565, 20)) {


    The I2C registers...
  16. Hi again, yep I am wondering about some of the...

    Hi again, yep I am wondering about some of the settings and the like.

    I included my current set of hacks. Where I did rename most of the .ino files to .cpp and add header file with externals.
    ...
  17. @mjs513 - I have that one installed through...

    @mjs513 - I have that one installed through library manager. Note: I believe it is based off of the Arduino library: https://github.com/arduino-libraries/Arduino_OV767X

    That is/was the one my...
  18. Yes is strange If I uncomment those two lines I...

    Yes is strange If I uncomment those two lines I then try running and f command I see:



    OV7670 Camera Test 3 Compiled on Oct 28 2020 08:02:01
    EXT Memory size: 16
    cam clock 12.00 with pll=1...
  19. Good morning all, I am playing with the code...

    Good morning all,

    I am playing with the code but so far I am seeing garbage on a display... Need to figure out what is going on.

    Current sketch included. Was not sure if bytes reversed or...
  20. Replies
    8
    Views
    135

    I would probably keep adding more debug messages...

    I would probably keep adding more debug messages in the library and see where it is failing. I have the Sparkfun BNO080, but not this one... At some point may try to pick up one.

    Not sure what...
  21. In many cases like this it helps to have...

    In many cases like this it helps to have additional information, like what type of PC (Windows, Linux, MAC) which version... Also T3.1 or my guess 3.2 unless it is an older teensy.
    Again in most...
  22. Note: I did not add any and so far have not...

    Note: I did not add any and so far have not appeared to run into issues. Maybe I will throw on a QWIIC device to have it's resistors added
  23. Thanks, Actually both sets were in comment...

    Thanks,

    Actually both sets were in comment blocks, but different. The one you used just happened to be the ones I had setup earlier so worked.

    Have not done anything since posting... Changing...
  24. Warning the files show two different hook ups. ...

    Warning the files show two different hook ups. The wrong one in OV7670_MB

    const int PinCamVsync = 34; //
    const int PinCamHref = 16; //
    const int PinCamPpclk = 35; //
    const int...
  25. Thanks, the sketch compiles and I am getting some...

    Thanks, the sketch compiles and I am getting some debug information :D
    Pin numbers matched I think the ones I used.



    OV7670 Camera Test 3 Compiled on Oct 27 2020 10:23:50
    cam clock 12.00...
  26. I hope people don't mind that I always take a few...

    I hope people don't mind that I always take a few diversions ;)

    I prefer not having to code like:

    CSI_CSICR3 = (1 << 15) | // clear the frame counter
    (1 << 12);// Enable...
  27. Yes - But for the most part it is geared toward...

    Yes - But for the most part it is geared toward VGA, QVGA... as shown in table 2-2.

    It sort of eludes toward other scaling. But the part that may be of interest may be the start/stop settings...
  28. Thanks, Will be taking look. Yep I did find...

    Thanks,

    Will be taking look. Yep I did find it does not build but should have all of the pieces to adapt some of the other code to.

    Should be fun! Assuming it works well, may have to make...
  29. Replies
    64
    Views
    1,257

    Sounds good. My guess is that DMA from EXTMEM...

    Sounds good. My guess is that DMA from EXTMEM should also be 32 byte aligned as well? Note: Currently I don't think malloc is 32 byte aligned either.

    Which is why in some of our display drivers...
  30. Replies
    64
    Views
    1,257

    Currently I find out how much PSRAM is installed...

    Currently I find out how much PSRAM is installed with:
    #ifdef ARDUINO_TEENSY41
    extern "C" {
    extern uint8_t external_psram_size;
    }
    #endif
    and now to retrieve how much was allocated by EXTMEM...
  31. Replies
    64
    Views
    1,257

    It is working now on T4.1 For simple Serial. I...

    It is working now on T4.1 For simple Serial.

    I also tried out my USBToSerialMulti sketch - Wonder if we should add something like this to examples:
    Serial -> Serial1
    SerialUSB1 -> Serial2...
  32. Replies
    64
    Views
    1,257

    I am now doing a comparison of the two...

    I am now doing a comparison of the two directories

    It sees these files are different:
    22205
  33. Replies
    64
    Views
    1,257

    I can confirm I see the same thing after sync. ...

    I can confirm I see the same thing after sync.

    I updated my install to use the cores

    C:\arduino-1.8.13\hardware\teensy\avr\cores>ren teensy4 teensy4_release
    ...
  34. Replies
    64
    Views
    1,257

    Hi Paul, Good news, will Sync up. Glad there...

    Hi Paul,

    Good news, will Sync up. Glad there is some memory allocate functions for external memory. I also wish we had one for the area of memory many may have on their machine in the ITCM,...
  35. Replies
    849
    Views
    33,329

    @defragster sounds like you are having some fun...

    @defragster sounds like you are having some fun with the different dongles...

    Now that we have some of the Bluetooth updates pulled in, I thought I would logically rebase the code that was in the...
  36. Replies
    3
    Views
    123

    Yep - if there is a line defined like: #define...

    Yep - if there is a line defined like:

    #define printf Serial.printf

    and later you yourself do something like: Serial.printf("a");

    And assuming simple case where it does not rescan, the line...
  37. @defragster and all, I pushed up an updated...

    @defragster and all,

    I pushed up an updated version of the not very robust imxrt_size code (https://github.com/KurtE/imxrt-size)

    That put a little bailing wire on the not overly robust...
  38. You might take a look at Chapter 55 of the T4...

    You might take a look at Chapter 55 of the T4 (IMXRT reference manual). Which if you have not already done so you can download from: https://www.pjrc.com/teensy/datasheets.html

    There is an encoder...
  39. Thread: Teensy MicroMod

    by KurtE
    Replies
    25
    Views
    827

    That would be my guess, but again this is a beta...

    That would be my guess, but again this is a beta build for a non-announced maybe will be released product which may or may not be final....

    The only other thing we know is looking at what the...
  40. Replies
    42
    Views
    1,213

    Yep that was sort of what I saw earlier on, which...

    Yep that was sort of what I saw earlier on, which is why at the time I punted on it at the time...

    But I did like the transfer16(buf, retbuf, cnt) like functions.

    as one could write pretty...
  41. Replies
    42
    Views
    1,213

    I will try to take a look through some of the...

    I will try to take a look through some of the code for the fun of it.

    Some of the more recent changes were sort of a hack to get around some interesting features of the TCR register.

    That...
  42. Replies
    42
    Views
    1,213

    Note: On T3.x code we have stuff that when you...

    Note: On T3.x code we have stuff that when you call transfer with buffers, we try packing the data into words and unpack as we push the stuff onto the FIFO and pull it off ... Don't think we ever did...
  43. Replies
    42
    Views
    1,213

    I am guessing byte ordering. For example...

    I am guessing byte ordering.

    For example earlier when I had transfer16 with buffers, I could use it do an easy faster display driver for 16 bit colors, which worked great and did not work...
  44. Replies
    42
    Views
    1,213

    Paul I commented in the PR, that I also wanted to...

    Paul I commented in the PR, that I also wanted to add these (16 bit versions) earlier and we removed it from the PR, back then. And as I commented on this PR, if we do add the 16 bit extensions we...
  45. Replies
    3
    Views
    168

    Also if that does not help, then please post more...

    Also if that does not help, then please post more information. Like source code, links to libraries used, what build system you are using (Arduino? which version) ...

    Obviously if your code or...
  46. Replies
    42
    Views
    1,213

    @luni - Thanks, Yep I think I will too stick with...

    @luni - Thanks, Yep I think I will too stick with the easy way... With the more typing version wonder if one an do things like:
    printf("Var: %08xl", my_var);

    Would it be something like:...
  47. That would be great. Today I hacked up my...

    That would be great.

    Today I hacked up my other version using GPIO input. Still having issues with continuous DMA

    But I do have a continuous output version using ILI9341 display using some...
  48. Replies
    42
    Views
    1,213

    Sorry I am old dog who has not learned the new...

    Sorry I am old dog who has not learned the new trick yet ;)

    What does that mean? Yes I can and will google it,
    but does this print Hex or Decimal? Not terribly clear. Or maybe an example...
  49. Sorry I may be confused here? But the OSC clock...

    Sorry I may be confused here? But the OSC clock Is the the one that we default to using (24mhz), which is set by the setting that @manitou mentioned about turning off in order to go to 150mhz.
    ...
  50. Replies
    42
    Views
    1,213

    Morning all, Installed Windows 10, and built...

    Morning all,

    Installed Windows 10, and built T4.1 code ;)

    Side notes: But with simple Camera test sketch I am now working through the new warnings for Serial.printf(...)

    Fixed the first...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4