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

Search:

Type: Posts; User: mborgerson

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Converting my T4.1 photo transfer app required...

    Converting my T4.1 photo transfer app required changing two lines of code and adding another to open SerialUSB1. It took a lot more lines to open a second serial port on the PC and to separate out...
  2. DOH! (Forehead Slap). I should have seen that...

    DOH! (Forehead Slap). I should have seen that when I was adding MTP to the USB descriptions file. I'll try it out on my C++ Builder host. After that, I hope to get a processing sketch with the...
  3. Two Serial Links on one USB Serial cable

    I would like to know if there is a way to have the Teensy USB cable support two separate serial communications links. At present, my host program handles text I/O and high-speed binary transfers on...
  4. Replies
    2
    Views
    142

    After a bit more research on JPEG encoders, I...

    After a bit more research on JPEG encoders, I found tooJpeg by Stephan Brumme. This encoder offered some significant advantages over the earlier version:

    1. No requirement for 256KB of...
  5. I have used the PXP for several functions to...

    I have used the PXP for several functions to support the ILI9341:

    1. Convert YUV422 data from an OV7670 camera to RGB565 for the ILI9341.
    2. Rotate the camera data to match the ILI9341 rotation...
  6. Replies
    2
    Views
    142

    JPEG Compression for OV7670 images

    I've downloaded a JPEG compression program and adapted it to run on the T4.1 to which I've connected my OV7670 camera. The original code used malloc() to allocate 256KB of buffers that hold...
  7. Replies
    0
    Views
    85

    Library Error and Status

    I am cleaning up my library code for the CSI camera interface and the Pixel pipeline. One thing that I want to do is to have the ability to notify users of status and errors. Presently, that is...
  8. Replies
    16
    Views
    770

    Nice to see you have things working for your...

    Nice to see you have things working for your application. I didn't run into the glitch with CSCOEFn restoration as my scheme for saving and restoring a Next_PXP array pulls all the data from the PXP...
  9. Replies
    615
    Views
    56,653

    Using MTP to fetch files written by a data logger...

    Using MTP to fetch files written by a data logger seems to fit within the MTP usage scheme. The data logger firmware is responsible for handling the file system and the Storage portion of the MTP...
  10. I would go even further and move those I and Q...

    I would go even further and move those I and Q arrays into DTCM to avoid any possibility of cache interference with the collection. As defragster points out, it is only 33K of memory, but that is...
  11. Replies
    615
    Views
    56,653

    I agree that sending a command via serial to...

    I agree that sending a command via serial to cause the MTP responder to update its database seems weird. There are some cases where it can be useful:

    1. If the Teensy is in the middle of a data...
  12. Also make sure that your software doesn't rely on...

    Also make sure that your software doesn't rely on comparisons with millis() for timing. The millis() count will overflow in 49.7 days. Of course, micros() overflows even more quickly.
  13. Replies
    1
    Views
    93

    You are correct that the external and USB5V are...

    You are correct that the external and USB5V are in parallel in that they both connect to the input of the Teensy regulator that provides 3.3V. You need to disconnect the USB5V by cutting the jumper...
  14. Replies
    615
    Views
    56,653

    Note that it is not necessary to physically...

    Note that it is not necessary to physically unplug the USB or use the Windows device manager to get the PC to update the MTP status. A call to usb_init() will reset the usb link and windows will...
  15. Not only plausible, but likely. The T4.x USB...

    Not only plausible, but likely. The T4.x USB serial interface is capable of transmitting about 18-20MBytes/second, while the T3.X interfaces are limited to about 1MByte/second. I was able to...
  16. I agree with rcarr that having NUMLAMPS = 7 and...

    I agree with rcarr that having NUMLAMPS = 7 and incomplete initialization of the pwmPins array is a problem waiting to happen.

    I wrote a short sketch to check out the values in the pwmPins array...
  17. Replies
    16
    Views
    770

    A follow up note with some PXP conversion...

    A follow up note with some PXP conversion timings:

    VGA YUV422 to QVGA RGB565 70.43mSec
    QVGA YUV422 to QVGA RGB565 22.15mSec
    QQVGA YUV422 to QVGA RGB565 10.13mSec
    ...
  18. Replies
    16
    Views
    770

    I've made good progress on one of my goals:...

    I've made good progress on one of my goals: having the PXP convert incoming YUV422 image buffers from the OV7670 camera to QVGA RGB565 buffers for display on an ILI9341 board. I have a test program...
  19. After a couple of days of programming that seemed...

    After a couple of days of programming that seemed way too close to working for a living, I have the OV7670 sending YUV data to my PC host program. A lot of the programming was in the addition YUV...
  20. I faced similar issues about 5 years ago when I...

    I faced similar issues about 5 years ago when I built a Robo-Boat to do depth surveys of lakes with an onboard depth sounder. I eventually developed software to have the boat do a raster scan with...
  21. Replies
    16
    Views
    770

    Here are two demo programs that set up the pixel...

    Here are two demo programs that set up the pixel pipeline to do rotations.

    The first program does the actual PXP setup, with OV7670 Camera output rotated and displayed on an ILI9341 TFT module. ...
  22. My first guess would be that the second ILI9488...

    My first guess would be that the second ILI9488 board isn't properly tri-stating the MISO line. Looks like a problem needing an oscilloscope.
  23. The first thing to realize is that a GPS doesn't...

    The first thing to realize is that a GPS doesn't do direction of motion well unless it is moving at a significant speed. If your system is an aircraft, that is usually not a problem because if it...
  24. Replies
    16
    Views
    770

    I also have a couple of projects that will...

    I also have a couple of projects that will benefit from dynamic changes in the PXP operation with the NEXT_PXP capabilities. For example:

    1. Set up the OV7670 camera to produce a VGA image in...
  25. Replies
    16
    Views
    770

    There seems to be a bunch of mental overhead in...

    There seems to be a bunch of mental overhead in the updating of the next_PXP structure for what I see to be slight gain. I see it as necessary only if you are going to do two different things in...
  26. Replies
    16
    Views
    770

    I did a simple test to measure the time needed to...

    I did a simple test to measure the time needed to rotate a QVGA image by 90 degrees using either a programmed rotation or a PXP rotation. Here are the results:


    Rotation times as a function of...
  27. The ability to capture and store a full VGA...

    The ability to capture and store a full VGA image, while displaying a QVGA or similar smaller image on an LCD display is one of the reasons that I'm looking at the Pixel Pipeline. If I could set up...
  28. Replies
    16
    Views
    770

    I just started putting together some pixel...

    I just started putting together some pixel pipeline code today--aimed at comparing its rotate function with a software version in terms of speed and complexity. I haven't even started on the ...
  29. I changed the algorithm to step incrementally in...

    I changed the algorithm to step incrementally in destination addresses and got the following:


    DMAMEM EXTMEM 7919 to 8109
    DMAMEM DMAMEM 1062 to 1110


    here is the source for the modified...
  30. Replies
    7
    Views
    478

    KurtE: I see that you have avoided possible...

    KurtE:


    I see that you have avoided possible frame buffer overflows by putting all the buffers in EXTMEM where there is plenty of room for a VGA image. You have also avoided resolution changes...
  31. Since using some of Vindar's functionality...

    Since using some of Vindar's functionality prefers rotation 0 on the ILI9341, I tested the time to rotate an image 90 degrees to work with that screen rotation.
    Here are the results for rotating a...
  32. Replies
    7
    Views
    478

    I had a version early on that captured images by...

    I had a version early on that captured images by switching the CSI buffer address for one cycle. It worked fine until I forgot and changed from QVGA to VGA and switched in a QVGA-sized buffer....
  33. Unfortunately, screen rotation 0 does not play...

    Unfortunately, screen rotation 0 does not play well with the OV7670. You need to use rotation 3 to get the long axis of the display to align with the long axis of the camera window. Does the...
  34. I look forward to trying this library. I will...

    I look forward to trying this library. I will have to do a bit of rewiring to use it. I am currently running ILI9341_t3N with pin 9 wired as the D/C control. Since pin 9 is not an SPI CS pin, I...
  35. My OV7670 camera library, which just got a new...

    My OV7670 camera library, which just got a new version posted in the Project Guidance forum, is guilty of the brute force reinitialization of all camera registers on a resolution change. I need to...
  36. Replies
    7
    Views
    478

    I've posted a new version of the OV7670 library. ...

    I've posted a new version of the OV7670 library. Here are a few of the changes:

    * Fixed a bug where the .bmp file header was not properly updated when changing the camera window size.
    * Added...
  37. I suspect that it is tied to the orientation of...

    I suspect that it is tied to the orientation of the camera module to the ILI9341. My camera is mounted so that the horizontal axis (320 pixels) is aligned with the long axis of the ILI9341. If...
  38. Here's a simple piece of code that does 15FPS...

    Here's a simple piece of code that does 15FPS video with the OV7670 library (posted in Project Guidance here: https://forum.pjrc.com/threads/64132-CSI-Camera-Library) and the ILI9341_T3n library from...
  39. I extracted the setup and send_tft function from...

    I extracted the setup and send_tft function from the 201112a version of CSI_41_main and plugged it into my library test program. It worked right out of the zip file! The only change I had to make...
  40. Replies
    65
    Views
    4,251

    I think I just answered my own question. ...

    I think I just answered my own question. Recalling the difficulties with double-spaced cut and pasted Serial Monitor output that disappeared when you choose the port from "serial ports" instead of...
  41. Replies
    65
    Views
    4,251

    Is there any chance of making the text entry box...

    Is there any chance of making the text entry box and "Send" button at the bottom of the Serial Plotter actually send data to the Teensy? The plotter is occasionally useful when I want to view an...
  42. I just noticed that in your ADC initialization...

    I just noticed that in your ADC initialization code you are using

    adc->adc0->setReference(ADC_REFERENCE::REF_EXT);
    What is the source of your external reference? Any glitches in that reference...
  43. I should add that I've seen lots of glitches in...

    I should add that I've seen lots of glitches in data collection on both Naval and oceanographic research vessels. During one cruise we found a lot of glitches associated with starting and stopping a...
  44. I finally got around to taking a closer look at...

    I finally got around to taking a closer look at the code that you provided in Post #1 and a few things caught my notice:

    1. You have been very liberal in sprinkling __disable_irq() and...
  45. My new OV7670 library includes a SetCSIClock()...

    My new OV7670 library includes a SetCSIClock() function with an enum csispeed{CIS12, CSI24} input parameter.

    I ran into the same weird color issue with CSI clock at 24MHz. At this speed, the CSI...
  46. Replies
    7
    Views
    478

    OV7670 library

    Here is a first attempt at an OV7670 library. It has a very simple API and I am looking for suggestions on additions. I will look at the Arduino_OV7670_Master code for possible additions.

    There...
  47. Replies
    90
    Views
    4,584

    The instrument involved is called a Chi-Pod. ...

    The instrument involved is called a Chi-Pod. You can find a description here: http://mixing.coas.oregonstate.edu/research/moored_mixing/

    The first of these instruments were deployed in about...
  48. It's even more complex on the T4.x. Many of the...

    It's even more complex on the T4.x. Many of the pin interrupts use a single vector in the default fast mode. That means that the interrupt handler has to cycle through all the pin flags to find...
  49. Replies
    5
    Views
    284

    I've seen RF interference synchronized to SD...

    I've seen RF interference synchronized to SD writes on systems with sensitive high-impedance sensors such as peizoelectric shear sensors. There are two possible sources for this interference: the...
  50. Are your T4, the laptop, and signal generator...

    Are your T4, the laptop, and signal generator connected continuously while you collect data? If so, I suppose your laptop is connected to its charger while collecting. If that is the case, make...
Results 1 to 50 of 277
Page 1 of 6 1 2 3 4