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

Search:

Type: Posts; User: PaulS

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. The demo device does decoding. Here is a screen...

    The demo device does decoding. Here is a screen shot of DSview in action. I set it to decode I2S on the top 3 signals.

    23438

    The demo data is bogus ofcourse so the I2S decode shows garbage.
    ...
  2. For what it's worth: I have been using the little...

    For what it's worth: I have been using the little brother DSLogic Plus now for over a year and it served me well. I especially liked the protocol-decoder built into the DSview program. The cables...
  3. When measuring the voltage on pin 13 with a DVM,...

    When measuring the voltage on pin 13 with a DVM, the LED very dimly lit... pin is floating I guess.
    This code definitely does not turn on the LED during boot:

    void setup() {
    ...
  4. With this (empty) code, the orange LED is not lit...

    With this (empty) code, the orange LED is not lit during boot:

    void setup() {
    // put your setup code here, to run once:
    }

    void loop() {
    // put your main code here, to run repeatedly:
    }
  5. Replies
    98
    Views
    2,591

    Here is the link...

    Here is the link.
  6. Replies
    23
    Views
    438

    Thanks Frank, corrected the link...

    Thanks Frank, corrected the link.

    Paul
  7. Replies
    23
    Views
    438

    In case anyone is interested, here...

    In case anyone is interested, here is a readable paper on the difference between PSD (power spectral density) and FFT, and why FFT is not suitable for noise floor measurements.

    Paul
  8. Opened up the PeakMeterMono sketch and uploaded...

    Opened up the PeakMeterMono sketch and uploaded it to a Teensy 4.0 and got the same "adc2_cfg = 00000637" message in the serial monitor.
    Mind you, I don't have a MAX9814 electret microphone so pin...
  9. This logic analyzer...

    This logic analyzer may (just) work for you.
    You need 14 channels for this flash chip: IO0-IO7, CLE, ALE, CE, WE, RE, WP.
    The U3Pro16 can sample 16 channels @ 500 MHz in Buffer mode or @ 125 MHz in...
  10. Replies
    23
    Views
    438

    And for completeness, here is the output of the...

    And for completeness, here is the output of the Adafruit UDA1334-based board:

    23404

    Almost as good as a PCM5102A-based board.

    Paul
  11. Replies
    23
    Views
    438

    Here you go: 23403 Yep. Paul

    Here you go:

    23403



    Yep.

    Paul
  12. Replies
    23
    Views
    438

    Yes, using a Scarlett 2i2 USB audio interface,...

    Yes, using a Scarlett 2i2 USB audio interface, sampling at 24 bit/96 kHz and the data fed into TrueRTA, shows more realistic values than the scope:

    23400

    Sure, not calibrated though...

    Paul
  13. Replies
    17
    Views
    351

    You indeed did so: link...

    You indeed did so: link.

    Paul
  14. Replies
    17
    Views
    351

    Hi Frank, thanks for making the list. I think...

    Hi Frank, thanks for making the list.
    I think the TDA1543A [..A for Japanese format] also works with output PT8211. Can't verify it though.

    Paul
  15. Finally, 5 months(?) after ordering on Ebay, 2pcs...

    Finally, 5 months(?) after ordering on Ebay, 2pcs Philips TDA1543 in DIP8 package showed up in the mailbox today. TDA1543, not the TDA1543A.
    The TDA1543 accepts regular I2S format, the TDA1543A...
  16. Replies
    23
    Views
    438

    Yes, my Siglent 1202X-E has issues in that area....

    Yes, my Siglent 1202X-E has issues in that area. That's what I emailed them about.
    I'm expecting that when I keep the signal within screen limits, I'm not overdriving it. But the pictures below tell...
  17. Replies
    4
    Views
    128

    Agree with PhilB. Here is a user manual...

    Agree with PhilB. Here is a user manual on this switch.
    Connect Teensy's 3V3 output to pin "+" on the rotary encoder board.

    Paul
  18. Replies
    24
    Views
    971

    Hi Deane, just thinking out loud here. How does...

    Hi Deane, just thinking out loud here. How does the analog signal that you want to sample, look like? I assume it's pulse-like because that is what the laser sends out. In that case, could you use a...
  19. Replies
    24
    Views
    971

    Attachment is fixed. I can see your scope screen....

    Attachment is fixed. I can see your scope screen.
    Here is what I see with the code of msg #8 and measured on pin 15 [fasterPin]:

    23360

    The long pulse measures 97.2 ns.

    Paul
  20. Replies
    24
    Views
    971

    Hi Frank, your attachment shows "Invalid...

    Hi Frank, your attachment shows "Invalid Attachment specified. If you followed a valid link, please notify the administrator"...
    Paul
  21. Replies
    23
    Views
    438

    For simplicity, I wouldn't mind standardizing on...

    For simplicity, I wouldn't mind standardizing on LRCK = 44.1 kHz, BCK = 1.4117 MHz [32.LRCK] and MCLK = 11.29 MHz for all I2S DAC's [but maybe this is too short-sighted].
    I checked on the scope...
  22. Replies
    23
    Views
    438

    Allright, thanks for the confirmation. Paul

    Allright, thanks for the confirmation.

    Paul
  23. Replies
    23
    Views
    438

    Audio library, I2S DAC oversampling?

    Just checking here if these measured numbers are as expected:



    Teensy 3.2, PCM5102A, LRCK = 44.1 kHz, BCK = 2.8224 MHz [64.LRCK], MCLK = 11.29 MHz, "AudioOutputI2S i2s1;"
    Teensy...
  24. Replies
    9
    Views
    195

    Are you sure you need to feed 3V3 to the breakout...

    Are you sure you need to feed 3V3 to the breakout board?
    From what I can tell from the photo is that you connect Teensy's 3V3 output to a V+ pin on the breakout board. Is the V+ on the breakout...
  25. Thanks very much, it's pretty clear! Paul

    Thanks very much, it's pretty clear!
    Paul
  26. Hi Frank, from the Wiki: SCB_AIRCR =...

    Hi Frank, from the Wiki:

    SCB_AIRCR = 0x05FA0004;
    asm volatile ("dsb");
    Do I need the 2nd line as well? If so, what does it mean/do?

    Thanks,
    Paul
  27. Replies
    9
    Views
    195

    Took your exact code, ran it on a Teensy LC and...

    Took your exact code, ran it on a Teensy LC and checked with the logic analyzer.
    Here is the setup:

    23318

    And here is the logic analyzer output:

    23319

    I watched the output for a few...
  28. Replies
    40
    Views
    561

    Well, that seems like the issue we see, but I...

    Well, that seems like the issue we see, but I assume usbser.sys is updated by now. Paul's video is quite convincing.

    Paul
  29. Replies
    40
    Views
    561

    @PaulStoffregen: not a boring video at all, very...

    @PaulStoffregen: not a boring video at all, very clear and informative!
    My guess is that the other mentioned terminal programs indeed talk to the FTDI driver instead of the WIN32 API.
    I recall...
  30. Replies
    40
    Views
    561

    Wrote a short VB.NET program that can set the DTR...

    Wrote a short VB.NET program that can set the DTR & RTS lines individually and that worked also expected with a Teensy.
    Case closed I guess.

    Paul
  31. Replies
    40
    Views
    561

    Gave it a quick try, modified usb_serial.h on my...

    Gave it a quick try, modified usb_serial.h on my PC, compiled and uploaded it.
    Even tried the || (double pipe) operator USB_SERIAL_DTR || USB_SERIAL_RTS .
    Unfortunately no change...Termite can not...
  32. Replies
    40
    Views
    561

    Yeah, I tend to think so too. Powershell is also...

    Yeah, I tend to think so too. Powershell is also working as expected with Teensy and FTDI dongle.
  33. Replies
    40
    Views
    561

    After the perils with Powershell and rebooting my...

    After the perils with Powershell and rebooting my PC, back to the original issue this thread started with: I verified my initial tests again and the messages #4 and #5 are still valid.

    I'm not...
  34. Replies
    40
    Views
    561

    After rebooting my PC, no strange behaviour...

    After rebooting my PC, no strange behaviour anymore with Powershell and/or Arduino and/or Teensy Loader...
    Powershell can't open COM1 when the Arduino Terminal is open [as expected] and is able to...
  35. Replies
    40
    Views
    561

    Correction/addition: it seems that the Teensy...

    Correction/addition: it seems that the Teensy Loader [or is it teensy_ports?] is 'screwing' up the Powershell serial port behaviour, not the Arduino IDE.
    When Teensy Loader is open but idling, it...
  36. Replies
    40
    Views
    561

    Solved, I had to close the complete Arduino IDE...

    Solved, I had to close the complete Arduino IDE [although I did not have the Terminal open].

    23299

    And also DTRenable and RTSenable work OK now measuring the DTR & RTS lines.

    Paul
  37. Replies
    40
    Views
    561

    Yes, Arduino terminal is closed. The PS shell...

    Yes, Arduino terminal is closed.
    The PS shell must have remembered that I assigned COM1 to 'port'.
    Here is a new screenshot:

    23298

    Yes, Windows allows you to reassign the COMport number in...
  38. Replies
    40
    Views
    561

    Yes, it is on COM1. FTDI dongle also. Oh, I was...

    Yes, it is on COM1. FTDI dongle also.
    Oh, I was not clear. First I plugged in the FTDI dongle, ran the PS commands, then removed the FTDI dongle and inserted the Teensy, then ran the PS commands...
  39. Replies
    40
    Views
    561

    Further searching on this forum on DTR & RTS, I...

    Further searching on this forum on DTR & RTS, I found this thread, so I tried with PowerShell.
    Here is the screendump:

    23297

    The first 7 lines shown are with the FTDI dongle plugged in. Then I...
  40. Replies
    40
    Views
    561

    Did a quick test with a genuine FTDI US232R-10...

    Did a quick test with a genuine FTDI US232R-10 USB serial converter.

    23295

    This time, both CoolTerm and Thermite were able to correctly set the DTR and RTS lines when clicking on the DTR and...
  41. Replies
    40
    Views
    561

    Interesting. I modified your sketch a bit to show...

    Interesting. I modified your sketch a bit to show the status of DTR and RTS in the serial monitor screen.

    void setup() {
    Serial.begin(9600);
    pinMode(LED_BUILTIN, OUTPUT);
    ...
  42. Replies
    9
    Views
    253

    You're welcome. No need to update Teensyduino...

    You're welcome.
    No need to update Teensyduino 1.53, that is the latest.
    Yes, please delete any FlexCAN_T4 libraries under Documents\Arduino\Libraries\ to make sure you're using the one that came...
  43. Replies
    9
    Views
    253

    Hi Rafal, Saw from the photo's that you copied...

    Hi Rafal,

    Saw from the photo's that you copied my setup, good, than we have the same setup hardware-wise. Your wiring seems to be OK.
    Ran your code from message #7 and everything seems to be...
  44. Replies
    64
    Views
    1,120

    Hallo Frank, That worked! 10 kHz sine, LRCK...

    Hallo Frank,

    That worked! 10 kHz sine, LRCK 44.118 kHz, BCK 1.41178 MHz.

    Danke,
    Paul
  45. Replies
    64
    Views
    1,120

    Yes, that worked fine when I modified your...

    Yes, that worked fine when I modified your output_pt8211.cpp to support the PCM5102. The DAC will do 8x interpolation anyway, so the analog signal is looking OK.

    Danke,
    Paul

    edit: I will be...
  46. Replies
    64
    Views
    1,120

    Just did. Output freq is now 5 kHz, LRCK is...

    Just did.
    Output freq is now 5 kHz, LRCK is 22.059 kHz, BCK is 1.411 MHz.

    Paul
  47. Replies
    64
    Views
    1,120

    Found the LRCK to be 7.353kHz: 23245 And...

    Found the LRCK to be 7.353kHz:

    23245

    And the BCK to be 470.59kHz:

    23246

    Paul
  48. Replies
    64
    Views
    1,120

    Hi Frank, just tested this a few minutes ago....

    Hi Frank, just tested this a few minutes ago. Copied both output_is2.cpp & output_is2.h from PR #377 to C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio\.
    Using this sketch...
    ...
  49. Replies
    64
    Views
    1,120

    Ah, I didn't know that you were planning to...

    Ah, I didn't know that you were planning to modify output_i2s.cpp as well. Great!

    Thanks,
    Paul
  50. Replies
    64
    Views
    1,120

    If you want to connect a PCM5102 DAC board...

    If you want to connect a PCM5102 DAC board to a Teensy LC, you have to change output_pt8211.cpp, line 606, from:

    I2S0_TCR4 = I2S_TCR4_FRSZ(1) | I2S_TCR4_SYWD(15) | I2S_TCR4_MF /*| I2S_TCR4_FSE*/...
Results 1 to 50 of 421
Page 1 of 9 1 2 3 4