Search results

  1. R

    Memory add-on options for Audio Board ...

    Here's the utility and the Teensy code to play audio from the Audio Board SD card. The code for the utility is a little clunky but it tries to be robust. I've noticed that the headers generated by wav2sketch can vary a little bit, so the header validation may need to be adjusted (or deleted)...
  2. R

    Memory add-on options for Audio Board ...

    I've come up with an approach to use AudioPlayMemory to play audio from the Audio Board's microSD card. I wrote a utility that reads cpp files generated by wav2sketch and saves them as binary files that are essentially the same as the audio data arrays used by AudioPlayMemory. It's pretty...
  3. R

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    That is a huge help. Your 2nd example that allows me to clear or set only the bits I'm using, without touching anything else, is absolutely perfect. Since I only send brief signals and already zero out the bits afterwards, it's actually more of a one step process for me to use GPIOx_PSOR to...
  4. R

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    Thanks Leray, I had my doubts about applying the mask to GPIOB_PDOR. So the following should work? GPIOB_PDOR = (GPIOB_PDIR & ~b_mask) | (send_value & b_mask); // Modify only 6 bits in Port B I was thinking that if the syntax above will safely modify the value on the port, it wouldn't...
  5. R

    Tutorial on digital I/O, ATMega PIN/PORT/DDR D/B registers vs. ARM GPIO_PDIR / _PDOR

    I will be using a Teensy 3.5 that sends small integer values to the parallel port of a receiving device. I would really prefer to send the values using GPIOx_PDOR rather than multiple calls to digitalWriteFast(). Because I'm also using the Audio Adaptor Board, there won't be any ports that...
  6. R

    24 pin header for Teensy 3.5/3.6 plus audio board?

    whannah, I've already used the headers I described and they do work well. If you line up the ground on the Audio Adapter (Signals to Teensy: https://www.pjrc.com/store/teensy3_audio.html) with the ground on the Teensy near the USB connector (Teensy 3.5 Pins...
  7. R

    24 pin header for Teensy 3.5/3.6 plus audio board?

    I found that the 3M 929 series of headers come in a variety of dimensions that are well documented in their data sheet. For headers with a 0.235" (5.97mm) contact length, there are 7 different "height" dimensions available, ranging from 0.110" (2.79mm) to 0.910" (23.11mm). These are available...
  8. R

    24 pin header for Teensy 3.5/3.6 plus audio board?

    Does anyone have ordering info for a 24 pin header with long pins? I want to permanently join a Teensy 3.5 with an audio board, and would like the header to have longer pins so they are not crowded. I'm hoping to locate something like the 14 pin double insulator header in the PJRC...
  9. R

    Memory add-on options for Audio Board ...

    Thanks for clarifying that. I didn't realize that the external RAM had that constraint. I need to investigate how the internal flash performs. I did not know about the 3.5 and 3.6. Their specs are so good, they pretty much moot my previous question. Do you know if they will work with the...
  10. R

    Memory add-on options for Audio Board ...

    I'm using the Teensy as a stimulus generation module as part of an auditory ERP system. In auditory ERP you measure a subject's time locked EEG (brainwave) response to an auditory stimulus. Ideally, you want the sound play back latency to be consistent and less than a millisecond. Currently...
  11. R

    Memory add-on options for Audio Board ...

    Can the AudioPlayMemory object utilize external RAM? It's unclear to me if any objects other than AudioEffectDelayExternal are able to use external memory. AudioPlayMemory is perfect for my application because its playback latency is so quick. Thanks.
Back
Top