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.10 seconds.

  1. Looks like pin 12 will get shorted to VBAT when...

    Looks like pin 12 will get shorted to VBAT when this plugs into a solderless breadboard.

    15638

    VBAT goes to a diode, but it's a large schottky diode (with high capacitance when reverse biased,...
  2. Well, I'm at a loss too, since I can't see what...

    Well, I'm at a loss too, since I can't see what you're doing. But I can tell you one thing that's admittedly expensive but I am absolutely sure will work: the audio tutorial. We do fully test those...
  3. Every SD card I've ever purchased between 128M to...

    Every SD card I've ever purchased between 128M to 32G has come pre-formatted as FAT16 or FAT32 with the correct partition table. All I've ever had to do is copy the files onto the card. I have...
  4. Maybe the partition table is some newer type the...

    Maybe the partition table is some newer type the SD library doesn't understand? (just a blind guess)

    The SD library only knows "MBR" partition type.
  5. Yes, you can add a OLED display. I2C is...

    Yes, you can add a OLED display.

    I2C is easier, uses fewer pins, and doesn't interfere with access to a SD card or serial flash chip if you want to play recorded sounds or samples. In fact, it...
  6. Replies
    6
    Views
    174

    Maybe some of the jitter reduction ideas here can...

    Maybe some of the jitter reduction ideas here can help?

    https://forum.pjrc.com/threads/27690-IntervalTimer-is-not-precise?p=64142&viewfull=1#post64142
  7. Replies
    2
    Views
    56

    Each integer is 4 bytes. But you're writing them...

    Each integer is 4 bytes. But you're writing them every 1 byte in the EEPROM, so 3 bytes overlap with others you're writing.
  8. With the modulated waveform, pulse width is...

    With the modulated waveform, pulse width is controlled by the input signal. That's why there's no function to control it.

    You could always do something like connect a DC synth object to the...
  9. Replies
    10
    Views
    98

    That looks like it ought to work, if you just...

    That looks like it ought to work, if you just power it from 5V.
  10. One more quick comment... that schematic from the...

    One more quick comment... that schematic from the Hackaday.io site would be correct for a PC900 optocoupler, which used to be the most commonly recommended part for MIDI (until Sharp discontinued it...
  11. Replies
    7
    Views
    101

    Well, open the image in your favorite image...

    Well, open the image in your favorite image editing software (personally, I use The GIMP) and shrink it to a smaller size, perhaps 720 or 1024 pixels. If you save a JPEG, usually quality 85% gives a...
  12. If you do want to try using that 4N35 (since you...

    If you do want to try using that 4N35 (since you already have it), connect it similar to that known-good circuit (pin 4 to GND, pin 5 as the output). But replace the 560 ohm resistor with 220 or 330...
  13. Maybe there's a hardware issue? Is this the...

    Maybe there's a hardware issue?

    Is this the schematic?

    15614

    This input circuit doesn't look right.

    4N35 optocouplers are marginal for MIDI. Normally much faster parts recommended, like...
  14. Replies
    10
    Views
    98

    I'd try setting both CS pins to OUTPUT mode and...

    I'd try setting both CS pins to OUTPUT mode and use digitalWrite to HIGH, as the very first lines in setup(), so the pins are at 3.3V before you do anything on the SPI pins. Or you could add real...
  15. Replies
    2
    Views
    112

    2 possible issues. 1: You're testing for >...

    2 possible issues.

    1: You're testing for > 500, but maybe you meant >= 500? Your code will execute every 501 ms.

    2: You're setting the timer to zero. For a very simple program like this,...
  16. Replies
    7
    Views
    101

    This very likely means the hardware is not...

    This very likely means the hardware is not connected properly, or perhaps damaged.

    Your description of the connections looks good. Maybe there's a simple wiring mistake or misunderstanding? We...
  17. So that all 7 have similar detection time.

    So that all 7 have similar detection time.
  18. That extreme joystick code became part of the...

    That extreme joystick code became part of the normal Teensyduino install, as mentioned in msg #124 on that thread. But it's disabled by default. The turn it on, you would edit usb_desc.h and change...
  19. Maybe you're seeing this problem? (just a guess,...

    Maybe you're seeing this problem? (just a guess, without knowing the actual errors or seeing your screen)

    https://forum.pjrc.com/threads/54608-Teensyduino-ide-installation-issue

    If that's...
  20. Replies
    64
    Views
    9,585

    I've sent another pull request to add the ping...

    I've sent another pull request to add the ping protocol.

    https://github.com/felis/UHS30/pull/42

    Need to return my attention to the T4 beta now. Hopefully this puts UHS3 in pretty good shape...
  21. Replies
    64
    Views
    9,585

    But if you do find a device that misbehaves...

    But if you do find a device that misbehaves (something other than NAK) when it's in the ping state you send another OUT, then you'll need to add a way to store whether each endpoint is in the ping...
  22. Replies
    64
    Views
    9,585

    I'd just make a point to test with more devices. ...

    I'd just make a point to test with more devices. Who knows, maybe most or all real USB devices will be able to handle getting another OUT when you should have used PING? Or maybe all the extra...
  23. Replies
    64
    Views
    9,585

    On NYET, my understanding it is means the same as...

    On NYET, my understanding it is means the same as ACK, but then on the next OUT transfer you're supposed to do the PING protocol until you get an ACK.

    But maybe treating NYET as ACK (as the code...
  24. Replies
    64
    Views
    9,585

    Glad it's starting to work now. :) On an...

    Glad it's starting to work now. :)

    On an unrelated matter... I hope at some point you'll consider adding library.properties files and migrate to a structure that can be used by Arduino's library...
  25. Replies
    64
    Views
    9,585

    On the zero length max packet size, maybe this in...

    On the zero length max packet size, maybe this in UHS_address.h could be an issue:


    struct UHS_EpInfo {
    uint8_t epAddr; // Endpoint address
    uint8_t bIface;
    uint8_t...
  26. Replies
    64
    Views
    9,585

    I've sent a pull request for OutTransfer(). ...

    I've sent a pull request for OutTransfer().

    https://github.com/felis/UHS30/pull/41

    It has ugly workarounds for both those issues, so at least OUT transfers can work.
  27. Replies
    64
    Views
    9,585

    I'm looking at this now. Seems there are 2...

    I'm looking at this now. Seems there are 2 issues.

    1: Somehow the endpoint's maxPktSize field is zero. Obviously we can't send an OUT packet if we're not allowed to have any bytes in the packet!...
  28. Replies
    64
    Views
    9,585

    So this would be my first guess... uint8_t...

    So this would be my first guess...



    uint8_t UHS_NI UHS_KINETIS_EHCI::OutTransfer(UHS_EpInfo *pep, uint16_t nak_limit, uint16_t nbytes, uint8_t *data) {
    HOST_DUBUG("OutTransfer %d\n",...
  29. Replies
    64
    Views
    9,585

    If you want to write OutTransfer, I believe the...

    If you want to write OutTransfer, I believe the code should look very similar to InTransfer, except you would use 0 instead of 1 in the 3rd input to init_qTD().

    in other words, change this:


    ...
  30. Replies
    64
    Views
    9,585

    Do you want me to try to write the OutTransfer()...

    Do you want me to try to write the OutTransfer() function?

    From "Class:08 Subclass:06 Protocol 06", I'm guessing you're testing with a USB flash drive or hard drive? I have several random ones...
  31. Replies
    984
    Views
    21,337

    Yup, it's faster. On many of these Adafruit...

    Yup, it's faster.

    On many of these Adafruit libs that do direct I/O, we're going to have to deal with the GPIO registers now being only 32 bits. Fortunately in the last few years many other...
  32. Replies
    984
    Views
    21,337

    Oh, that wasn't ever meant to be any sort of...

    Oh, that wasn't ever meant to be any sort of official decision. It was just something I did very quickly, so we could have a minimal-but-working SPI library to start testing.
  33. Replies
    984
    Views
    21,337

    On the breakout board, the other 3 pins have no...

    On the breakout board, the other 3 pins have no connection.

    I supposed I could have used only 3 pin headers and wires, but I used 6 pins with 3 unused so this FTDI cable with a 6 pin socket can...
  34. Yep, that's correct. Nope, it never was...

    Yep, that's correct.



    Nope, it never was drawn. After 3.6 was released, all the engineering hours went into various libraries, 4 bit SDIO in SD, then USBHost_t36, some brief work on Audio &...
  35. Replies
    984
    Views
    21,337

    Sorry for the delay on this and pretty much...

    Sorry for the delay on this and pretty much everything the last few days.

    Remember that thing I mentioned a couple days ago that was taking up all my time? Well, Robin & I had to fire one of our...
  36. It's perfectly fine to put the Teensy on top of...

    It's perfectly fine to put the Teensy on top of the audio shield. As long as the pins line up the same way, the electrons don't care which board is above or below the other.

    If your Teensy...
  37. Replies
    5
    Views
    208

    Oh, that would be awesome!

    Oh, that would be awesome!
  38. Replies
    984
    Views
    21,337

    Yes, confirmed, HW_OCOTP_MAC1 & HW_OCOTP_MAC0 are...

    Yes, confirmed, HW_OCOTP_MAC1 & HW_OCOTP_MAC0 are the ethernet mac address. In this chip it's conveniently memory mapped.

    FWIW, those registers are also writable. Writing to the registers is...
  39. Replies
    64
    Views
    9,585

    For bulk & control, I believe this should be...

    For bulk & control, I believe this should be possible. It's been about a year since I tried to contribute that code, which was also the early days of USBHost_t36.
    ...
  40. Replies
    64
    Views
    9,585

    EHCI is indeed complicated. Whether you consider...

    EHCI is indeed complicated. Whether you consider that good or bad is a matter of perspective. If you value high performance for multiple devices running simultaneously or you want to write software...
  41. Replies
    984
    Views
    21,337

    I've seen something like this a few times,...

    I've seen something like this a few times, usually after many hours of use (Linux, 64 bit). I believe there may be a bug lingering in teensy_ports, or perhaps in the Arduino IDE discovery manager...
  42. Replies
    984
    Views
    21,337

    Looks like you got the later beta boards, where...

    Looks like you got the later beta boards, where we were much closer with the capacitors. Earlier ones (number under 22) probably have much more error, since we were still learning which capacitors...
  43. I2C is a low speed protocol, typically 400 kbps...

    I2C is a low speed protocol, typically 400 kbps or 1 Mbit/sec max.
  44. Replies
    4
    Views
    90

    None of the I/O pins have 5V output. They're all...

    None of the I/O pins have 5V output. They're all 3.3V out.

    You'd need to use a buffer chip like 74HCT245 or 74AHCT125 to convert the 3.3V signal to 5V. If you need a true 5V output, these buffer...
  45. No, I would say this is probably outside of the...

    No, I would say this is probably outside of the capability of Teensy 3.6.

    First, USBHost_t36 currently supports only 3 of the 4 USB transfer types. There's no low-level support for isochronous.
    ...
  46. Replies
    4
    Views
    117

    This depends on what you mean by "possible". If...

    This depends on what you mean by "possible". If adapting the library which already fully supports CS42448 to support a pair of CS42448 chips is out of reach, how will you adapt it to support 3+ of...
  47. Replies
    4
    Views
    117

    I believe it should be possible, though I have...

    I believe it should be possible, though I have not tried.
  48. Digital I/O is an incomplete answer without...

    Digital I/O is an incomplete answer without addressing how clock domains are handled.
  49. Replies
    984
    Views
    21,337

    Yes. Used a laser to cut them and tap tool on my...

    Yes. Used a laser to cut them and tap tool on my drill press for those threaded standoffs.

    Erin soldered all the beta boards, but I hand soldered these 5 breakout boards.



    Just behind the...
  50. Nope, I just copy and paste the 2 sections for...

    Nope, I just copy and paste the 2 sections for one of the existing objects and then edit the fields in the JSON and the html in the description. Really, not that hard.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4