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.

  1. Replies
    326
    Views
    4,612

    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...
  2. Replies
    326
    Views
    4,612

    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.
  3. Replies
    326
    Views
    4,612

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

    Running the DMA version now. Wow, frame rate is so smooth. Seeing some tearing & artifacts.
  4. 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.
  5. Replies
    326
    Views
    4,612

    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 &...
  6. Replies
    326
    Views
    4,612

    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...
  7. 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...
  8. Replies
    326
    Views
    4,612

    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


    ...
  9. 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.

    ...
  10. 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...
  11. 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...
  12. @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...
  13. Replies
    1
    Views
    66

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

    You can use Serial.availableForWrite() to check how much space is remaining in Teensy's transmit buffer.
  14. Replies
    23
    Views
    980

    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();
  15. Replies
    3
    Views
    85

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

    Sure, just connect the button to the Program pin and GND.
  16. Replies
    326
    Views
    4,612

    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.
  17. Replies
    8
    Views
    140

    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...
  18. 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. ...
  19. 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.
  20. Oh, I know that mistake well too!

    Oh, I know that mistake well too!
  21. Replies
    326
    Views
    4,612

    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...
  22. 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...
  23. Replies
    326
    Views
    4,612

    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...
  24. Replies
    326
    Views
    4,612

    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...
  25. 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...
  26. 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.
  27. Replies
    23
    Views
    980

    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...
  28. 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...
  29. Replies
    326
    Views
    4,612

    Use INPUT_DISABLE

    Use INPUT_DISABLE
  30. Replies
    2
    Views
    62

    The thread is #4-40.

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

    Here is layer 2 from that part of the PCB.

    24312
  32. Replies
    16
    Views
    277

    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.
  33. Replies
    16
    Views
    277

    Have you tried the 15 second button press to...

    Have you tried the 15 second button press to fully wipe the flash memory?
  34. Replies
    10
    Views
    2,855

    If you run the code from msg #6 and change the...

    If you run the code from msg #6 and change the number of bytes in the line with malloc(), you should see the reported memory usage change.
  35. If you do the 15 sec button press, then wait...

    If you do the 15 sec button press, then wait about 1 min while it wipes all the flash, please know the LED blink program you get after that process is complete implements RawHID, not Serial. So it...
  36. Very unlikely. If uploading still works, the...

    Very unlikely. If uploading still works, the hardware is almost certainly still good.

    First step is to check Tools > USB Type in Arduino. If that got changed to any of the settings withing...
  37. Replies
    10
    Views
    2,855

    With the audio library, you can use...

    With the audio library, you can use AudioMemoryUsage() to see how much of the AudioMemory you reserved is actually in use. Details here:

    https://www.pjrc.com/teensy/td_libs_AudioConnection.html
    ...
  38. Replies
    326
    Views
    4,612

    Yeah, saw that. The code is in so many files...

    Yeah, saw that. The code is in so many files with so much extraneous abstraction layer stuff that it was simpler just to write minimal code from scratch. Maybe we'll use that library eventually,...
  39. Replies
    326
    Views
    4,612

    Ok, I've played with the HM01B0 camera a bit...

    Ok, I've played with the HM01B0 camera a bit more. It seems to be 3.3V tolerant, even though Sparkfun's is powering it with 1.8V.

    It's definitely transmitting 1.8V signals which is pretty...
  40. Replies
    326
    Views
    4,612

    The USB-C is on the carrier board. ...

    The USB-C is on the carrier board.

    https://www.sparkfun.com/products/16400

    24282
  41. Replies
    326
    Views
    4,612

    I got the camera to start answering I2C with the...

    I got the camera to start answering I2C with the Wire scanner example. This is needed to turn make the camera respond.



    // turn on power to camera (1.8V - might be an issue?)
    pinMode(2,...
  42. Replies
    326
    Views
    4,612

    I'm pretty sure it's too late for Sparkfun to...

    I'm pretty sure it's too late for Sparkfun to bring out those 2 unused pins.
  43. Replies
    326
    Views
    4,612

    Looks like the camera needs 1.8V signals with the...

    Looks like the camera needs 1.8V signals with the way Sparkfun wired ML carrier board. But they have 2.2K pullup resistors on SDA & SCL to 3.3V, so I don't really understand how they intended this...
  44. Replies
    326
    Views
    4,612

    It is unfortunate the way Sparkfun connected the...

    It is unfortunate the way Sparkfun connected the microphones.

    When(if) the camera is working in 4 bit mode, perhaps we can convince them to make another base board with the camera using only pins...
  45. Replies
    326
    Views
    4,612

    The tentative plan for Himax HM01B0 camera...

    The tentative plan for Himax HM01B0 camera support is to use FlexIO2, similar to AN12686. I'll attach the PDF to this message.



    HM01B0 pin pin# NXP Usage
    ---------- ---- ...
  46. Replies
    326
    Views
    4,612

    I will send you one soon.

    I will send you one soon.
  47. Maybe subscribe to this other thread about...

    Maybe subscribe to this other thread about attempts to go to 8 channels.

    https://forum.pjrc.com/threads/60557-48kHz-8i80-USB-Audio
  48. Ok, here's a fix. Find w5100.h. It should be in...

    Ok, here's a fix. Find w5100.h. It should be in {Arduino}/hardware/teensy/avr/libraries/Ethernet/src/utility. Search in the file for "__IMXRT1062__" and edit the resetSS function like this:


    ...
  49. Looks like we may be doing something too fast for...

    Looks like we may be doing something too fast for that old W5100 chip.

    I did get W5100 to work with Teensy 4.0 by setting Tools > CPU Speed to 150 MHz.


    And to answer your question:


    ...
  50. Looks like W5100 may be not working with Teensy...

    Looks like W5100 may be not working with Teensy 4.0.

    I tested just now. W5200 & W5500 definitely do work with Teensy 4.0, but W5100 doesn't seem to initialize.

    All 3 work work with Teensy LC &...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4