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

    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
  2. Replies
    16
    Views
    341

    Here you go: 23403 Yep. Paul

    Here you go:

    23403



    Yep.

    Paul
  3. Replies
    16
    Views
    341

    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
  4. Replies
    17
    Views
    294

    You indeed did so: link...

    You indeed did so: link.

    Paul
  5. Replies
    17
    Views
    294

    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
  6. 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...
  7. Replies
    16
    Views
    341

    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...
  8. Replies
    4
    Views
    120

    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
  9. Replies
    24
    Views
    933

    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...
  10. Replies
    24
    Views
    933

    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
  11. Replies
    24
    Views
    933

    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
  12. Replies
    16
    Views
    341

    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...
  13. Replies
    16
    Views
    341

    Allright, thanks for the confirmation. Paul

    Allright, thanks for the confirmation.

    Paul
  14. Replies
    16
    Views
    341

    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...
  15. Replies
    9
    Views
    183

    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...
  16. Thanks very much, it's pretty clear! Paul

    Thanks very much, it's pretty clear!
    Paul
  17. 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
  18. Replies
    9
    Views
    183

    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...
  19. Replies
    40
    Views
    496

    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
  20. Replies
    40
    Views
    496

    @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...
  21. Replies
    40
    Views
    496

    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
  22. Replies
    40
    Views
    496

    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...
  23. Replies
    40
    Views
    496

    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.
  24. Replies
    40
    Views
    496

    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...
  25. Replies
    40
    Views
    496

    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...
  26. Replies
    40
    Views
    496

    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...
  27. Replies
    40
    Views
    496

    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
  28. Replies
    40
    Views
    496

    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...
  29. Replies
    40
    Views
    496

    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...
  30. Replies
    40
    Views
    496

    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...
  31. Replies
    40
    Views
    496

    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...
  32. Replies
    40
    Views
    496

    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);
    ...
  33. Replies
    9
    Views
    241

    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...
  34. Replies
    9
    Views
    241

    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...
  35. Replies
    64
    Views
    1,078

    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
  36. Replies
    64
    Views
    1,078

    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...
  37. Replies
    64
    Views
    1,078

    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
  38. Replies
    64
    Views
    1,078

    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
  39. Replies
    64
    Views
    1,078

    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...
    ...
  40. Replies
    64
    Views
    1,078

    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
  41. Replies
    64
    Views
    1,078

    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*/...
  42. You may want to have a look at this library:...

    You may want to have a look at this library: TeensyStep.
    Forum member Luni will definitely step in if you have further questions.

    Paul

    [edit] sorry for missuggesting: TeensyStep is not yet...
  43. Replies
    14
    Views
    293

    If your *only* goal is to create an inverted...

    If your *only* goal is to create an inverted audio signal [and no other processing], then I would go for opamps.
    See here for basic circuits. One inverting opamp and one non-inverting opamp and feed...
  44. Replies
    64
    Views
    1,078

    Yeah, it's the DAC that causes the 1 BLCK period...

    Yeah, it's the DAC that causes the 1 BLCK period shift of the left channel.
    Here is what the logic analyzer shows:

    23175

    Identical data for right & left 16 bit sample, 0x00008540.
    Timing of...
  45. Replies
    64
    Views
    1,078

    Thanks for your reply. By the way, there is...

    Thanks for your reply.
    By the way, there is newer datasheet on the PJRC website.
    I may hookup the logic analyzer and check the I2S frames [I'm not sure what I'm exactly doing when I start modifying...
  46. Replies
    64
    Views
    1,078

    While checking the output signals on the...

    While checking the output signals on the oscilloscope I noticed that the left channel [yellow] is trailing behind by 1 BCLK period when sending out a mono 10kHz sine on both channels:

    23171

    By...
  47. Replies
    64
    Views
    1,078

    Apparently it still works with AudioMemory(1);...

    Apparently it still works with AudioMemory(1); Does that make sense?
  48. Replies
    64
    Views
    1,078

    That solved it! 23158 And still some memory...

    That solved it!

    23158

    And still some memory left:

    Sketch uses 18284 bytes (28%) of program storage space. Maximum is 63488 bytes.
    Global variables use 5296 bytes (64%) of dynamic memory,...
  49. Replies
    64
    Views
    1,078

    Sure, no hurry!

    Sure, no hurry!
  50. Replies
    64
    Views
    1,078

    Thanks Frank. When I copy the new files and...

    Thanks Frank.
    When I copy the new files and compile the sketch on top of this thread, I see this on the scope [measured at the output connector of the PT8211]:

    Left channel
    23154

    Right...
Results 1 to 50 of 412
Page 1 of 9 1 2 3 4