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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds; generated 47 minute(s) ago.

  1. Replies
    424
    Views
    5,706

    Yes, I believe your library tries to do the...

    Yes, I believe your library tries to do the dynamic allocation of FlexIO resources, right?

    The camera interface is a bit special through, because only shifters 3 & 7 support receiving parallel...
  2. Replies
    424
    Views
    5,706

    Yup, that did the trick. I see where I went...

    Yup, that did the trick. I see where I went wrong. A silly mistake really. Sent a pull request to fix it.

    EDIT: with the latest updates I'm getting a really dark picture...
  3. Replies
    424
    Views
    5,706

    Can you point me to that DMA serial receive code?

    Can you point me to that DMA serial receive code?
  4. Replies
    424
    Views
    5,706

    Before trying to answer, I need to admit two...

    Before trying to answer, I need to admit two things.

    1: I've only read Kurt's code quickly, haven't actually worked with it or analyzed carefully
    2: Obviously I don't know everything about FlexIO...
  5. I believe all you need to do with Teensy 4.0 &...

    I believe all you need to do with Teensy 4.0 & 4.1 is edit the sample rate number in AudioStream.h.

    That file is located inside your Arduino folder. When you search for that file, you should find...
  6. Replies
    424
    Views
    5,706

    Hope you can find whatever I missed on the FlexIO...

    Hope you can find whatever I missed on the FlexIO hardware trigger. It's probably something "trivial" I overlooked.




    I wouldn't toss that code! It still could be really useful on Teensy 4.1...
  7. Replies
    424
    Views
    5,706

    Looks like my display woes might be from pulling...

    Looks like my display woes might be from pulling in the latest ILI9341_t3n. When I run graphicstest from ILI9341_t3, my display works. But graphicstest from ILI9341_t3n now gives a white screen. ...
  8. Replies
    424
    Views
    5,706

    The example seems to no longer work with my...

    The example seems to no longer work with my ILI9341. Not sure why... can't do more right now.
  9. Replies
    424
    Views
    5,706

    Sent a PR with the work-in-progress DMA code. ...

    Sent a PR with the work-in-progress DMA code.

    https://github.com/mjs513/TMM-HB01B0-Camera/pull/7/files

    When you run it, you'll probably see this in the serial monitor



    ERROR: 19764 manual...
  10. Replies
    424
    Views
    5,706

    I'm playing the FlexIO DMA. Can't seem to get...

    I'm playing the FlexIO DMA. Can't seem to get hardware triggering to work, but the DMA does transfer the image if I cheat and manually trigger the DMA channel each time the shifter status flag is...
  11. Replies
    424
    Views
    5,706

    Ok, I just sent a pull request with initial...

    Ok, I just sent a pull request with initial FlexIO. No DMA yet, but it should be fairly "easy" to just set up a DMA transfer which reads from that FlexIO register and writes to the buffer.
  12. Replies
    424
    Views
    5,706

    I updated to the latest TMM-HB01B0-Camera from...

    I updated to the latest TMM-HB01B0-Camera from github, in prep to clean up my flexio stuff, but it seems I no longer get a working image from either "s" or DMA. I'll admit, I fell behind on the...
  13. Replies
    424
    Views
    5,706

    Should I make the FlexIO code just read the whole...

    Should I make the FlexIO code just read the whole 324x244 data? That would be simpler...
  14. Replies
    424
    Views
    5,706

    Somehow I was under the impression we were...

    Somehow I was under the impression we were keeping the first 320 pixels and discarding the last 4.

    Just to confirm, on each line of 324 pixels, we're supposed to ignore the first 2 and last 2...
  15. Replies
    424
    Views
    5,706

    I just connected all 3 power pins to 3.3V. ...

    I just connected all 3 power pins to 3.3V.




    That test board doesn't connect the video signals at all. They just route to those pads in the middle of the PCB. Only power and I2C are actually...
  16. Replies
    424
    Views
    5,706

    Right now I'm using Sparkfun's ML carrier board...

    Right now I'm using Sparkfun's ML carrier board with ILI9341 connected to the left side pins. Nothing special on the HM01B0 camera.

    On the breakout board, which is still at least a week away, I...
  17. Replies
    424
    Views
    5,706

    More fiddling with FlexIO... and I finally have...

    More fiddling with FlexIO... and I finally have it somewhat working. For reasons I don't fully understand, it's capturing only 7 of every 8 pixels. So I added a bit of kludge code to add 4 white...
  18. Replies
    424
    Views
    5,706

    Another detail to keep in mind is the display...

    Another detail to keep in mind is the display redraws the screen from its own frame buffer at a speed probably less than 60 Hz. I recall seeing a register to adjust the internal refresh speed. But...
  19. Replies
    424
    Views
    5,706

    I'm working on FlexIO again today. Building test...

    I'm working on FlexIO again today. Building test code inside your lib and targeting 8 bit mode, mostly just overriding the readFrame() function while I struggle to get it just working in any way at...
  20. Replies
    424
    Views
    5,706

    I started playing with FlexIO for the camera. So...

    I started playing with FlexIO for the camera. So far it's unresponsive, but hope to have something soon...




    Pulled in the latest QuadEncoder.
  21. Replies
    424
    Views
    5,706

    Running the DMA version now. Wow, frame rate is...

    Running the DMA version now. Wow, frame rate is so smooth. Seeing some tearing & artifacts.
  22. Which Teensy are you using? The process is...

    Which Teensy are you using? The process is different on Teensy 4.x than the older boards.
  23. Replies
    424
    Views
    5,706

    I finally got the display wired up and have it...

    I finally got the display wired up and have it running here too, showing a super exciting view of my oscilloscope from the workbench.

    24406

    Send another pull request, just minor stuff &...
  24. Replies
    424
    Views
    5,706

    A little breakout board to play with the signals...

    A little breakout board to play with the signals on a Teensy 4.1 arrived last night from OSH Park. I build one this morning.

    24398

    I'm running the camera completely on 3.3V. Haven't looked at...
  25. I tested just now by adding...

    I tested just now by adding Serial.println("test"); to main.cpp. That original Makefile compiles it properly. I uploaded the hex file to a Teensy 4.0, and indeed it does print "test" every second...
  26. Replies
    424
    Views
    5,706

    I believe the Himax HM01B0 camera does support...

    I believe the Himax HM01B0 camera does support HSYNC gated PCLK. Try setting bit 5 (mask 0x20) in the OSC_CLK_DIV register (address 0x3060).

    Maybe change this line in HM01B0.cpp


    ...
  27. That crystal should be fine. From everything...

    That crystal should be fine. From everything you've said, especially that you do observe the crystal oscillating under some circumstance, I'd say the crystal is very unlikely to be your problem.

    ...
  28. The "queue" objects are meant to let your program...

    The "queue" objects are meant to let your program get access to the actual audio samples. See File > Examples > Audio > Recorder for sample code. Edit that code to delete the part which writes to a...
  29. I also want to know why it would do this, because...

    I also want to know why it would do this, because it should not normally blink 8 times if you have used the IMXRT1062 chip.

    But I can not see your PCB. I know nothing of its design details. Even...
  30. @mamdos - Can you tell me which hardware you're...

    @mamdos - Can you tell me which hardware you're using for passive PoE? If I wanted to experiment with various diodes and resistors, which gear should I buy to give me the PHY-destroying scenario you...
  31. Replies
    1
    Views
    77

    You can use Serial.availableForWrite() to check...

    You can use Serial.availableForWrite() to check how much space is remaining in Teensy's transmit buffer.
  32. Replies
    28
    Views
    1,094

    Looks like you changed Wire to Wire1 only in...

    Looks like you changed Wire to Wire1 only in setup().

    You also need to edit these lines in loop()



    Wire.beginTransmission(address);
    error = Wire.endTransmission();
  33. Replies
    3
    Views
    91

    Sure, just connect the button to the Program pin...

    Sure, just connect the button to the Program pin and GND.
  34. Replies
    424
    Views
    5,706

    That probably explains why the ML carrier board...

    That probably explains why the ML carrier board schematic has the wrong I2C address. The Himax camera is address 0x24. OV7670 uses 0x21, according to a couple pages I could find.
  35. Replies
    8
    Views
    144

    To try answering your question.... This...

    To try answering your question....



    This really depends on what you meant by "functional difference".

    The short answer is they use exactly the same communication. I have made every effort...
  36. By default, the timers used by IntervalTimer run...

    By default, the timers used by IntervalTimer run directly from the 24 MHz crystal clock.




    No. The 24 MHz clock they use is fixed at 24 MHz, regardless of how the rest of the chip runs. ...
  37. Reboot your PC. Then run the Teensyduino 1.53...

    Reboot your PC. Then run the Teensyduino 1.53 installer before you run the Arduino IDE.
  38. Oh, I know that mistake well too!

    Oh, I know that mistake well too!
  39. Replies
    424
    Views
    5,706

    Looks like Sparkfun's ATP carrier board lacks any...

    Looks like Sparkfun's ATP carrier board lacks any sort of USB host current limiting or even a 100 or 150 uF capacitor.

    As far as I can tell none of their other boards do USB host, so they're...
  40. Did you solder GND which is next to pin 0, or GND...

    Did you solder GND which is next to pin 0, or GND which is between VIN and 3.3V?

    The one next to pin 0 (on the audio shield) must be connected. It will not work if you used a wire only on the...
  41. Replies
    424
    Views
    5,706

    Ok, 7mm it is! Here's roughly what I have for...

    Ok, 7mm it is!

    Here's roughly what I have for a breakout board with alternate camera pins.

    24340

    As you can see, I also routed pins 0-23 to a Teensy 4 layout so we can plug in shields for...
  42. Replies
    424
    Views
    5,706

    I started a quick carrier board design which...

    I started a quick carrier board design which brings out the pins and attempts an alternate 4 bit camera connection which should leave all the audio pins available.

    Does anyone know the correct...
  43. The udev rules changed since 1.53 was released. ...

    The udev rules changed since 1.53 was released.

    Here are 3 possible solutions.

    1: Run "sudo cp /tmp/49-teensy.rules /etc/udev/rules.d/" as the installer suggests. That will put the 1.53...
  44. If you're running I2C at the default 100 kHz...

    If you're running I2C at the default 100 kHz clock rate, maybe try adding small capacitors between the signals and GND, located close to Teensy. Shielding the I2C wires might help too.
  45. Replies
    28
    Views
    1,094

    Yes, though "blind guess" would be a better...

    Yes, though "blind guess" would be a better phrase than "explanation" when we can't see your code or which library you're using or your wiring.

    So here's a few blind guesses

    1: The library...
  46. I can confirm 5.2V is perfectly fine for VIN &...

    I can confirm 5.2V is perfectly fine for VIN & VUSB, as long as there isn't a large spike above 6V during startup.



    I'm sad to say 0.65V is a pretty bad sign, likely hardware damage. When 3.3V...
  47. Replies
    424
    Views
    5,706

    Use INPUT_DISABLE

    Use INPUT_DISABLE
  48. Replies
    2
    Views
    68

    The thread is #4-40.

    The thread is #4-40.
  49. Here is layer 2 from that part of the PCB. ...

    Here is layer 2 from that part of the PCB.

    24312
  50. Replies
    16
    Views
    288

    Sounds like a defective or damaged board. I...

    Sounds like a defective or damaged board. I asked Robin to contact you directly. If you can, please try to find the 6 digit order number from your purchase.
Results 1 to 50 of 499
Page 1 of 10 1 2 3 4