Latest activity

  • PaulStoffregen
    One other thing to double check is the flash chip. It's documented on the web page, but just to repeat, the Winbond parts ending with "Q" definitely do NOT work. You must get the Winbond flash chip with "M" at the end. With so many other...
  • S
    Thanks for the detailed answer. Got it, I'll proceed with the 1062 for my first trials and throw in the 1061 along the way. I promise to report back with results if any when I get them :)
  • PaulStoffregen
    RT1061 might work, or might not. I don't know. I haven't tested. As far as I know, so far nobody has tried RT1061 and reported success or failure. If I were to guess, I'd give it better than 50% chance. This isn't a situation like RT1064...
  • U
    Hi, Daniel, Impressive work on your standalone sequencer project. The integration of Teensy based functionality with the launchpad for matrix-based editing sounds like a fascinating concept. It's commendable how you've managed to implement...
  • PaulStoffregen
    Answer depends on the meaning of the word "ok". If ok means legal or ethical, yes, the code is open source. Legally, you have permission to change the code. If ok means it is possible to do so, given enough effort and skill, yes. The result...
  • L
    and I spoke to soon! It works fine as long as only 4 midi devices and the mouse are connected, as soon as I connect 5 midi devices and the mouse, it does not work anymore, the mouse does not send any values out... here is again the code (working...
  • M
    Hi, I've tested with version 1.58.2 and it works fine! Thanks for all your help!
  • B
    You and I still use teensy2.0, after all, it's cheap. Do you think it's okay for me to add the mouse code of usb_hid to usb_rawhid? This way, the mouse and RawHID can be used together.
  • N
    nikutsuki replied to the thread Teensy 4.1 USB Host issues.
    I swapped the white and green wires and sadly it did not work.
  • T
    ThomasPariset posted the thread ADC Teensy 4 in Audio Projects.
    Hello, I've created a program that uses the Teensy and an audio shield to recognize an alarm from a medical device. The sound signal goes through a microphone, then into the shield and the Teensy. However, I would like to remove the audio shield...
  • R
    I need some guidance on a sketch I want to put together. My goal is to be able to calculate true RMS voltage of a sine wave with a frequency range of 10Hz to 20Khz. Here are my requirements: 1. I only need to sample a half wave at a time 2. I...
  • N
    nikutsuki replied to the thread Teensy 4.1 USB Host issues.
    In the photo for the official usb host cable the white wire is connected to D-, all the photos I have seen for USB 2 wires online also say that white is D- and green is D+. Though it might not be a bad idea to swap them and check if it works, I...
  • C
    commi replied to the thread X100 inspired Guitar Processor.
    I made it compile by changing line 74 in: ...\libraries\BALibrary\src\common\ParameterAutomation.cpp from: m_scaleY = abs(endValue - startValue); to m_scaleY = abs(int(endValue - startValue));
  • defragster
    See post #9 in linked thread:
  • B
    Thank you, then I'll just buy Teeny 4.0 instead
  • PaulStoffregen
    Inside the main "teensy" folder, you'll see the files like usb.c are really just includes which reference 1 of those 7 folders. #if defined(USB_SERIAL) #include "../usb_serial/usb.c" #elif defined(USB_HID) #include "../usb_hid/usb.c" #elif...
  • N
    I thought that on T4.1 AGND and GND are identical?
  • PaulStoffregen
    To explain just a bit more, on Teensy 1.0 & 2.0, the main core library code is in the "teensy" folder and USB portion of the core library code is located in 7 different directories. Each corresponds to 1 of the USB types you see in the Arduino...
    • 1709521301160.png
  • N
    Nantonos replied to the thread Teensy 4.1 USB Host issues.
    White is D+, no?
  • PaulStoffregen
    Yes, that is the most common way. You also should connect the negative side of the pots directly to the AGND pin on Teensy. Do not connect those pots to GND on the rest of the PCB. Connect them only to 3.3V on Teensy, AGND on Teensy, and each...
  • R
    The SCSI READ_CAPACITY command returns the sector size (along with the total number of sectors - 1). There's also another catch with that; the basic version of that command is READ_CAPACITY_10 which returns 32-bit values, but some drives (larger...
  • T
    I'm about ready to redo the PCB, this time using the Teensy 4.1 as the source for the fader voltages, instead of relying on the external voltage regulator. But I don't know if this is a good idea, or if this will fix what's going on. Or if it...
  • PaulStoffregen
    On Teensy 2.0 creating custom USB types is quite difficult. The USB code was completely redesigned in Teensy 3.0 (and all later Teensy) to make creating custom USB relatively easy by just editing usb_desc.h. To accomplish this on Teensy 2.0...
  • M
    Finally got round to trying the multi-channel USB, in the hope you found something @mcginty and I missed. No such luck, I'm afraid, I still get glitches: My test code is this: #include <Audio.h> #define AUDIO_kHz ((int) AUDIO_SAMPLE_RATE /...
  • M
    Hi all I just submitted the following pull requests and wanted to get your take on them. https://github.com/PaulStoffregen/cores/pull/732 https://github.com/PaulStoffregen/Audio/pull/470 These two pull requests do the following: Allows for...
  • M
    Hi folks I've been playing around with the PCM3168, a near-alternative to the CS42448 which is now shown as discontinued on Cirrus Logic's website. From a functionality point of view, the PCM3168 doesn't have the ability to add another pair of...
  • M
    Here you go! The dangly bit at the right is the DC-DC converter, and the DuPont cabling is connecting two differential outputs back to inputs for testing. I have no idea on C50 and C52, I cribbed them straight from “Figure 60. Buffer and...
  • PaulS
    PaulS replied to the thread Teensy 4.0 / High Voltage Heater.
    Great result! Happy to be of help in reverse engineering in what was nearly a black box [but not any longer now]. Well, I hope you get the other heaters to communicate as well! I will check the wiki page every once in a while. Paul
  • jim lee
    WOW! Thanks! -jim lee
  • h4yn0nnym0u5e
    Finally got round to trying the multi-channel USB, in the hope you found something @mcginty and I missed. No such luck, I'm afraid, I still get glitches: My test code is this: #include <Audio.h> #define AUDIO_kHz ((int) AUDIO_SAMPLE_RATE /...
    • 2024-03-03 20_40_06-GoldWave.png
  • PaulStoffregen
    Excellent. Please start a new thread for each project. We're now publishing 1 article each day, after years of much slower pace.
  • MikeSound
    Dear Paul Thank you very much! I really appreciate. I`ll put the source and schematics to Github in the next days. You can use this Link: https://github.com/UTZbox There are few other projects for teensy as well :-) Kind Regards Michael
  • N
    Hi, I have recently bought a Teensy 4.1 and tried to use the USB Host capability of the board. I have not bought the official cable for the board and instead bought a normal female USB A to microUSB cable and stripped it to get the 4 wires...
  • flok
    flok replied to the thread SD card corruptions.
    True. Ok it now works. On the Teensy4.1 and when verified on the pc. Thanks for your help.
  • J
    jmarsh replied to the thread SD card corruptions.
    You'd want to flush before writing (push data out of the CPU cache into the memory) and delete before reading (discard whatever is in the cache, to ensure the memory is read). If it was up to me I would say yes, the SD library should be taking...
  • J
    I HAVE HOT WATER!!!!!! So I went to bed last night thinking about what I was missing and woke up with the thought that there might be info hidden in DATA[0] since DATA[1] was used to calculate temp and I recall Johan mentioning that the on...
  • flok
    flok replied to the thread SD card corruptions.
    Oh indeed. I now do not get an error. It's not clear to me though which one to use when arm_dcache_delete or arm_dcache_flush. For write I do now both before the file.write() call. I verified the contents of the sd card on my pc but the data is...
  • J
    jmarsh replied to the thread SD card corruptions.
    Did you add flush before writing too? Have you checked the contents of the file on a different device, to see what is actually being written?
  • flok
    flok replied to the thread SD card corruptions.
    Hi JMarsh! Something like? arm_dcache_delete(data, n_bytes_to_read); size_t bytes_read = file.read(data, n_bytes_to_read); rc = bytes_read == n_bytes_to_read; if (rc) {...
  • h4yn0nnym0u5e
    You might want to try increasing the number of buffers and their size in ResamplingSerialFlashReader.h: #define RESAMPLE_BUFFER_SAMPLE_SIZE 512 #define RESAMPLE_BUFFER_COUNT 7 This might help the "sound goes really bad", could help the...
  • J
    jmarsh replied to the thread SD card corruptions.
    If you use new or malloc to allocate the sector buffers they'll be in DMAMEM (aka RAM2) which is cached. The SD library probably doesn't handle flushing/invalidating the memory before it writes/reads it.
  • flok
    Hi, I think I'm doing something wrong but I can't figure out what. The situation is that if I write a block of data to the SD-card and then read it back again, then parts of the written data are missing (some parts are then all 0x00) or it is...
  • D
    dundakitty replied to the thread led-cube 15x.
    A simple animation is to pick one of the eight corners and draw a wire-frame cube at the corner, starting with a line of length one, then two, then three, and so on until the entire 15x15x15 cube is outlined. Start reducing the line length back...
  • D
    dundakitty replied to the thread led-cube 15x.
    I've attached a zip file of the perl code and the perl code output. For the 8x8x8 cube I'm only storing one bit per LED in flash. A random color is selected before the animation starts and every point has the same color. The...
  • L
    thanks for your answer. the solution was much more simple... I had the mouse1.mouseDataClear(); statement in my function before doing anything with the values, which resulted in no changing values of course... accidentally I had the DataClear...
  • S
    Thanks Pieter, works perfectly now.
  • BriComp
    That post was to show how to be able to (cheaply) remotely control mains (240V in UK 110V elsewhere) voltage from a Teensy. The project is still ongoing, which is intended to have whole house control of central heating down to individual...
  • P
    usbMIDI refers to the USB _device_ interface of the Teensy (the one that's connected to your computer through the micro USB connector), not USB Host. You should create a MIDIDevice instance that represents a MIDI device connected to the host...
  • B
    you can / must compose your own Can you tell me how to compose it? I only use RAW-HID+Mouse USB_mode, but I don't know how to compose it. If it's more complicated, I can only buy Arduino Leonardo hardware with my clients because they're not that...
  • J
    The SCSI READ_CAPACITY command returns the sector size (along with the total number of sectors - 1). There's also another catch with that; the basic version of that command is READ_CAPACITY_10 which returns 32-bit values, but some drives (larger...
Back
Top