Search results

  1. H

    Teensy 4.0 and SPI chip select sadness

    I've just checked two chips (so, four CS pins) with new T4 arrived. And it seems to work. So something was definitely wrong in my setup. And thanks for the SCK speed tip. I'll be gradually adding chips to test the whole thing once 74HC154 arrives.
  2. H

    CS42448 Audio Board BOM Replacements

    I was fearing SMD for quite some time. It's turned out to be pretty easy with the right tools. I've got a simple hot air soldering station and an SMD soldering paste. But what makes it really easy — having a stencil to apply the paste. Instead of ordering the boards from OSHPark, you can try to...
  3. H

    Teensy 4.0 and SPI chip select sadness

    Thanks for the response. I am now thinking the problem is in my setup... I use pins 2, 3, 4, 5, 6, 9, 10, 24, 25, 28, 29, 30, 31, 32 for CS. Seven S70FL01GSAGMFI013 chips (each chip has two parts with two CS pins). The code is modified SerialFlash library code, I've changed a bunch of props...
  4. H

    Teensy 4.0 and SPI chip select sadness

    Hi, I've made a board under assumption that any digital pin can be used as chip select pin (my board uses 14 digital pins for 14 NOR flash modules). Unfortunately, it doesn't work at all. I've tried setting all 14 HIGH before SPI.begin(). But they refuse to work together. In the SPI library...
  5. H

    CS42448 Audio Board BOM Replacements

    Just FYI, I've finally soldered that CS42448-DQZ and it seems to be working.
  6. H

    Teensy 4.0 MIDI circuit

    Wow, 4.1? Pretty cool :).
  7. H

    Teensy 4.0 MIDI circuit

    Thanks! Two things have made me wondering: 5V on pin 8 of 6N138 and the lack of T4 mention on that page. Makes sense to update that page and add T4 to the table. So that people like me don't increase the entropy :).
  8. H

    Teensy 4.0 MIDI circuit

    Hi, It's probably asked and answered multiple times, but I can't create a search query to find it. Is the circuit from https://www.pjrc.com/teensy/td_libs_MIDI.html (the first one with 6N138) still the recommended one to use with Teensy 4.0? Thanks.
  9. H

    The state of SPI Flash support

    After several WTF moments, I've managed to get this chip working. That chip is actually mentioned here https://github.com/PaulStoffregen/SerialFlash/blob/2b86eb1e43457044ced436a401092076218de2a4/tests.txt#L22 as «Pass1/2». And with the SerialFlash library that was exactly my experience, only...
  10. H

    The state of SPI Flash support

    Thanks. I will have that in mind. I've ordered a couple of S70FL01GSAGMFI013 to try. If I will manage to get them working, I'll order more, otherwise will be trying other approaches. Theoretically, they seem pretty simple, regardless of the SOIC-16 package just a few of those 16 pins are really...
  11. H

    The state of SPI Flash support

    And if I read the datasheet correctly, this chip consists of two parts and requires two chip select pins. I probably could reduce the number of samples to 500MB, which will require 4 chips and 8 chip select pins...
  12. H

    The state of SPI Flash support

    Why is it always falling down to the insanity... :) As far as I can find, Cypress S70FL01GSAGMFI013 seems to be the only 1Gb option available to order in Europe. Not cheap enough to order it blindly though... There is also similar Micron MT25QL01GBBB8ESF from DigiKey, but with the customs it...
  13. H

    The state of SPI Flash support

    I've learned about Mbits some time ago, yeah, it was disappointing. But given it's SPI, I suppose I would be ok to have an array of, say, up to 4 chips, I can spare 4 pins for the chip select purposes in this project... The Memoryboard project (https://github.com/FrankBoesing/memoryboard) seems...
  14. H

    The state of SPI Flash support

    Hi, What is the biggest (storage-wise) SPI flash chip known to be properly working with Teensy as of today? Which is available and not obsolete. I have found a number of Paul's mentions of NAND and that he lacks the time to check them out. I need about 1GB (1 Gigabyte) of fast readonly...
  15. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    @DD4WH, thanks, I think arm_rfft_f32() is the droid I was looking for! :). I connect one instrument to one channel and another instrument to the second channel. And I want to have different IRs for the connected instruments (say, one for the guitar and the second one for the ukulele). I realize...
  16. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    @DD4WH, I'm wondering if you could help me clarifying a few things. It's about arm_cfft_f32() function. The docs for it seem require much more of a context comparing to what I have. I'm looking to modify the code to work with a single channel (so that I can apply two different IRs to both...
  17. H

    Teensy 4.0 I2S slave problem

    To chime more in. The problem is indeed Teensy 4.0 related. My wiring was correct. I'm just trying the same setup but with Teensy 4.0 as master and Teensy 3.6 as slave — and it works.
  18. H

    Teensy 4.0 I2S slave problem

    I don't have the audio shield. It has inconvenient form factor and connectivity options (two separate smaller boards for ADC and DAC without unnecessary components are more flexible), plus it has SD card slot which I don't need. In the initial message I thought it's only obvious that if I try...
  19. H

    Teensy 4.0 I2S slave problem

    Just in case you will try — be carefull, it's very loud. I was lucky to have it in the headphones which were not fully on me. Otherwise, I wouldn't care about the sounds anymore :).
  20. H

    Teensy 4.0 I2S slave problem

    The basic connections are the same as on these pictures: https://forum.pjrc.com/threads/57267-Fast-Convolution-Filtering-with-Teensy-4-0-and-audio-board?p=219550&viewfull=1#post219550. The same ADC/DAC boards. Just plus one Teensy. VIN together, ground between everything, BCK (pin 21, goes to...
  21. H

    Teensy 4.0 I2S slave problem

    Hi, I'm trying to connect two Teensys 4.0 together. One is I2S master, the second one is I2S slave, with a simple PassThroughStereo example in both (the second one uses the slave I2S classes). The signal goes from ADC to the master Teensy, then to the slave Teensy, then do DAC. Without the...
  22. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    DD4WH, I want to say huge thank you for publishing this work! I've tried guitar_cabinet_impulse (the default version with 22016 taps) yesterday and it sounds truly amazing! The only problem now is that I don't have enough memory for anything else :). There is a space for Freeverb for one...
  23. H

    CS42448 Audio Board BOM Replacements

    I've got the chip, but I haven't soldered it on the board yet. Because T4 has arrived and it fits my project better and it would make sense to have a T4-dedicated board instead of soldering a 3.6 board with a bunch of jumpers on top. That is why I was asking this question (which you either have...
  24. H

    Multichannel AudioInputUSB and AudioOutputUSB

    Thanks! Is there a prediction about when the audio USB type is coming to T4?
  25. H

    Multichannel AudioInputUSB and AudioOutputUSB

    By the way, I don't see other than Serial options in the USB type menu for T4 (for T3.6 there are all kinds of options).
  26. H

    Multichannel AudioInputUSB and AudioOutputUSB

    Hi, An idea has just crossed my mind. Can I use multiple AudioInputUSB/AudioOutputUSB objects at the same time? For example, if I will try to use four AudioInputUSB objects and three AudioOutputUSB objects (in an attempt to expose all 8 outputs and all 6 inputs of the CS42448 board to the...
  27. H

    Quad channel output on Teensy 3.6

    Thanks! Though if there is an option I would really prefer the «tested by multiple people» version :). And thank you for opensourcing your thing.
  28. H

    Quad channel output on Teensy 3.6

    Paul, I'm wondering what do you use to create gerber files? I mean which application (KiCad or something else). And if there is a chance that you could share the source file of the CS42448 board? I would want to readjust it for T4. And augment a little (I don't need the on-board jacks, just the...
  29. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    It seems to work. Thanks! Attaching a couple of photos. I've also used sockets for everything, so that I don't need to resolder if I nuke something.
  30. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    I was wondering if it's needed to duplicate the resistor for ADC and DAC. My current thinking is to try something like: __ ADC LRC / T4 LRCLK (20) --- 100 Ohm ---< \__ DAC LCK...
  31. H

    Impulse Responses for Dummies

    Thanks! The theoretical part makes more sense to me now! Now I need to figure out how to load that wav file into the filter... Sounds like Teensy 4.0 having more memory would help. Apart from the files from my link above (which are quite large), I have a Celestion speaker IR and it's only...
  32. H

    Impulse Responses for Dummies

    Hey, I'm trying to understand the impulse responses in order to use them, but it doesn't come easy :). All the impulse responses I've found are coming in a form of wav file (which sounds like a quick «phfshk»). The audio library filter takes an array of coefficients. The initial key question...
  33. H

    Fast Convolution Filtering with Teensy 4.0 and audio board

    I am wondering why did you use LRCLK and BCLK resistors for ADC only? I'm resetting up the same thing with T4 (had it with 3.6). Would it make sense to have the resistors on all three LRCLK, BCLK and MCLK for both ADC and DAC?
  34. H

    Teensy 4.0 microUSB speed and CS42448 support

    @KurtE, thanks. But the microUSB (the one I connect to program) is 480 Mbits as well? And the https://www.pjrc.com/teensy/usb_serial.html will utilize the whole bandwidth? It's very cool that the speedy drivers are in progress, for my application it would be even more convenient to use the same...
  35. H

    Teensy 4.0 microUSB speed and CS42448 support

    Hi, It's pretty exciting to see that Teensy 4.0 is out! I would want to clarify two things before ordering one: 1. Will Paul's CS42448 TDM board work with it? Will I need to readjust the wiring or will it just properly fit on top of the CS42448 board sockets? 2. The docs say two USB ports...
  36. H

    CDCACM serial at 480 Mbits

    I'll start a separate dedicated thread as I seem to have the problem narrowed down (that's the initial thread: https://forum.pjrc.com/threads/56595-USB-Host-Force-Detection). I try to connect a CDCACM serial device to Teensy's 3.6 USB host at 480 Mbits speed and it seems to lack the proper...
  37. H

    USB Host Force Detection

    More intermediate results. If I comment all the checks out (starting from «if (descriptors[9] != 7) return false; // length 7» till «if (descriptors[21] != 0) return false;», then hardcode txsize and rxsize to 512, then increase BUFFER_SIZE in USBHost_t36.h, I get a successful 480 Mbits...
  38. H

    USB Host Force Detection

    So, I've received the USB connector boards and soldered one directly on top of Teensy. It's definitely a progress, but seems to be not there yet :). It all works when I force it to 12 Mbits (in ehci.cpp), I use SerialTest from the examples. The output for 12 Mbits looks like this: new_Device...
  39. H

    USB Host Force Detection

    Thanks so much! I will let you know, but it might take some time. In order to not ruin the whole thing with my unskilled soldering I've ordered a bunch of these: https://www.ebay.com/itm/10Pcs-USB-2-0-To-DIP-4P-2-54MM-PCB-Board-Adapter-Converter-For-Arduino-DIY-TE/143259781474, going to solder...
  40. H

    USB Host Force Detection

    Doesn't seem to help. It is a long shot as well, but my current hypothesis is that there might be an interference preventing from 480 Mbits capability... I have pretty short wires between the USB socket and Teensy (about 10 cm), but they are just simple single Arduino wires with the dupont...
  41. H

    USB Host Force Detection

    My current finding: the async follow-up callbacks are not being called. And if I uncomment «USBHS_PORTSC1 |= USBHS_PORTSC_PFSC; // force 12 Mbit/sec» line in ehci.cpp, the device starts to be detected. But I need those 480Mbits and when I connect the device to Mac, it's detected as a 480Mbits...
  42. H

    USB Host Force Detection

    As far as I know, Raspberry Pi 3 uses microUSB port for power only and doesn't have the data wires connected anywhere. Raspberry Pi Zero has it connected, but I don't have one yet to see if it's the same there. The device I used called Core4418 (it's a Raspberry Pi-like device, with Linux...
  43. H

    USB Host Force Detection

    lsusb -v -d 525:a4a7 Bus 001 Device 003: ID 0525:a4a7 Netchip Technology, Inc. Linux-USB Serial Gadget (CDC ACM mode) Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass...
  44. H

    USB Host Force Detection

    @KurtE, thanks for the suggestions! Something is definitely happening under the hood. Also there seems to be a bug somewhere (likely in the USBHost_t36)... Teensy is off, the Pi device is started and plugged in to the Teensy's USB. Then I power Teensy up: USB Host Testing - Serial sizeof...
  45. H

    USB Host Force Detection

    Hi, I'm trying to get the second high speed USB port on Teensy 3.6 working for my scenario. To power the Pi-like device I have a separate 5v power supply, connected power and ground pins of the USB connector to that power supply, D+ and D- to the Teensy's USB pins... I've recompiled my Pi's...
  46. H

    High speed options for the data out from/in to Teensy 3.6

    Hi, I need to send the audio data from Teensy to a Raspberry Pi-like board and receive it back (ideally, I'm talking about realtime sending of all 6 channels from TDM input of CS42448 board to Pi and receiving of all 8 channels back to Teensy). I'm looking for the appropriate options. I've...
  47. H

    CS42448 Audio Board BOM Replacements

    The codec chip on OSH Park links to CS42448-CQZ. I've found CS42448-DQZ on AliExpress which seems to be exactly the same except for the wider working temperature range. Should DQZ match as well?
  48. H

    Quad channel output on Teensy 3.6

    Could you by any chance make two or three for me? If yes, what will the price look like?
  49. H

    Yet another SPI Flash question

    I think you have opened a Pandora's box for me... I was exploring more and that CS42448 is exactly what I need! Thanks. Am I correct that https://oshpark.com/shared_projects/2Yj6rFaW is the empty board only? Is there somebody who assembles the boards together?
  50. H

    Quad channel input problem

    Soldered a jack and tested the pass through with an audio player. It works but the level directly from the Audio Player -> Phones is significantly higher than the level from the Audio Player -> ADC -> Pass through -> DAC -> Phones. So the change above is likely cutting some 8 bits of the data...
Back
Top