Search results

  1. D

    Teensy 4.1 to Raspberry PI 5

    I'm already using the ethernet port on the PI5
  2. D

    Teensy 4.1 to Raspberry PI 5

    Hi all, I am looking for a solution to connect a Teensy 4.1 to a Raspberry PI5. I have used all the hardware UART on the Teensy 4.1. I would prefer not to use the USB connection on the Teensy because I want to use that to connect to the PC. I am looking at SPI but what would be much more...
  3. D

    8 x 8 button matrix help

    I've slowed the scan down and going to try adding caps and 4.7k pullups. Hopefully that will help, I based my scan library on the keypad library.
  4. D

    8 x 8 button matrix help

    Hi All, I have an 8 x 8 button matrix that works fine when a single button is pressed. It also works fine when about 15 buttons are pressed and held. However after that amount, it starts to become unstable and I get button triggers from adjacent rows on the same column. I have a diode on every...
  5. D

    Need help to change slew rate, speed, DSE

    Hi all. I have the following code but i don't know how to implement it. I want to assign all these pins as follows: < IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_04 |= IOMUXC_PAD_SPEED(1) | IOMUXC_PAD_DSE(7) | IOMUXC_PAD_SRE(0); IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_05 |= IOMUXC_PAD_SPEED(1) |...
  6. D

    GPIO Slew Rate Setting on Teensy 4.1

    Hi Chris and Tom, would you mind explaining in a bit more detail the syntax so that I can change the slew rate and drive strength on specific output pins and please point me to the information i need in the manual ie where the PAD gpio addresses are in the manual? Thanks in advance Damo
  7. D

    Teensy MIDI ports

    Hi Paul, Is it possible to change the descriptor of each port seperately?
  8. D

    bitbanging SPI using MCP23017 port expander

    Hi all, I'm using an MCP23017 port expander than connects to the teensy 4.1 using O2C bus. I want to emulate SPI by bitbaging code and clock and sending to the MCP23017 pins. I'd like to use a custom wire library in some way, if possible. Anyone able to give me a head start? TIA
  9. D

    Teensy MIDI ports

    Wow. Thanks!. Is it possible to change the name of each port separately?
  10. D

    Teensy MIDI ports

    lol. I just meant I hope its not too complicated. I'm used to modifying library files but cant seem to find the one that relates to the midi ports. TIA
  11. D

    Teensy MIDI ports

    Is it possible to limit the usb midi ports to only 2 instead of 4 when choosing Midi x 4? Can the library be modified simply? TIA
  12. D

    MIDI and sys ex reception

    HI all, I'm having an issue/need help coding sys ex messages. I am able to send sys ex without an issue. I need help to read and analyse sys ex messages being received. If a sys ex message is received and then I attempt to send a message, teensy restarts (crash). But I want to sort out the...
  13. D

    Teensy 4.1 USB connection

    Hi all, I want to integrate a teensy 4.1 into my project. I want to be able to solder the board direct to another pcb but I'm a bit stuck on how to get the usb connection to the pcb without using the usb connector. Any ideas? Should i try to use castelated holes on the underside? not sure. Any...
  14. D

    MIDI Thru

    Thanks. I'll check it out
  15. D

    MIDI Thru

    Thanks Paul. Is there some kind of debug feature for the MIDI in so i can see what's being received ?
  16. D

    MIDI Thru

    How do I turn off MIDI Thru? I'm using usbMIDI. Thanks
  17. D

    Web Client using Digest Access Authentication

    Correction: not solved. I'm using this library: AsyncHTTPRequest_Teensy41 Apparently its coded to only print out successful responses. Due to the way Digest Access Authentication works, the first response back is always a 401 - Unauthorized. Is there anyone that can help me modify this library...
  18. D

    Web Client using Digest Access Authentication

    Its all good. I found the issue. It was a crappy MD5 library I was using. When i changed the library the encoding worked. Was a tough job. Cheers
  19. D

    Web Client using Digest Access Authentication

    Hi All, I'm trying to build a web client that processes Digest Access Authentication. I am close and have been able to duplicate the example as shown in RFC 2617. I am struggling to make it work correctly with the device I am trying to connect to. I think it might be the MD5 library I am...
  20. D

    Teensy 4.1 strange ethernet behaviour

    Hi all. I have a strange issue I am unsure how to resolve. I have a custom UDP broadcast transmission and reception that works fine when the Teensy 4.1 is connected via USB. I am able to see the UDP broadcast reception and teensy response via the serial monitor and everything works fine...
  21. D

    need help with 12V 8 x 8 matrix

    Hi all, I need help designing an 8 x 8 12volt matrix. It will be driving 64 optoisolators. The optoisolators need 12v and 20mA. I've got a MAX7219 that I was going to use to drive transistors but i want to know if I can somehow use a matrix rather than use 64 transistors. Any help greatly...
  22. D

    Dead USB Host - Teensy 4.1

    Hi all. I have 3 brand new teensy 4.1 boards that are not responding to external usb connections. Is there any way to test the board to see if its fried? Damo
  23. D

    USB serial help needed

    Hi all, I have a project where I am using the teensy 4.1 to act as a bridge between ethernet data and usb data. I am struggling to find the cause of data corruption in the data path. I have a file that I can successfully transfer from pc to an FTDI device via usb. No corruption I then send...
  24. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    Thankyou Sir. It was that easy. Its all working fine although I had an issue with sending the '@' character. I had to force it by using value 64 as it would not send it from the serial window. Thanks again
  25. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    I've just managed to run SerialTest,ino and I got the following info after I enabled debug: USB Host Testing - Serial USB2 PLL running reset waited 6 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20004000 periodictable = 20004000 port change: 10001803 connect begin reset port change...
  26. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    I discovered the chip is FTDI FT2232H This is all the info I have: Device Descriptor: bcdUSB: 0x0200 bDeviceClass: 0x00 bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 (8) idVendor: 0x0403 (Future Technology Devices International...
  27. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    all your assumptions were correct thanks for that starting point. I'll also contact ftdi and see if they can assist. cheers
  28. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    It shows up as USB serial, but to make it work properly I nave to install the specific driver so.. not sure what to do
  29. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    That's the part I need assistance with Damo
  30. D

    Assistance required connecting Teeny 4.1 with 3rd party FTDI Module

    Hi Everyone, I'm looking for some assistance. I have a 3rd party audio module here from Danville Audio and it interfaces with the PC via USB. It has a FTDI chip onboard and I have the drivers for it. It appears as a com port on the PC. Everything in that regard works fine. What I am trying...
  31. D

    SGTL5000 volume(level);

    This is all the code that deals with it. #include <Encoder.h> #define ENCODER_OPTIMIZE_INTERRUPTS //Pins for rotary encoder (must be interrupt enabled int enc_pin1 = 16; // 3 on connector CN11 int enc_pin2 = 17; // 4 on connector CN11 // Encoder Variables int Enc; //...
  32. D

    SGTL5000 volume(level);

    its ok i did it.. please delete thread
  33. D

    SGTL5000 volume(level);

    I need to print the value of the volume(level) function as it is changed by a pot which is the headphone volume, out to a serial but I need to map it to 1 - 10 with .5 step increments.. Currently its a float that goes from 0 - 1 Any idea how to code this?
  34. D

    duplicate I2S out

    lol sorry guys.. Here's the specifics. I have 1 audio shield. I"m currently using it as an ADC.. into pin 8 of the teensy. Out of pin 7 of the teensy is going into another I2S device.. works fine. Now what i'd like to do is send that same data from pin 7, back into pin (7?) of the...
  35. D

    duplicate I2S out

    Is it possible to send the same I2S data out to multiple pins whilst still using the same clocks for everything?
  36. D

    I2S and I2C together

    Is it possible to use I2S and I2C together without the I2S stream being affected?
  37. D

    adjusting AUDIO_SAMPLE_RATE_EXACT

    ok so if I just leave the AUDIO_SAMPLE_RATE_EXACT as 48000 and then adjust CCM_ANALOG_PLL_AUDIO_NUM it will do the same thing?
  38. D

    adjusting AUDIO_SAMPLE_RATE_EXACT

    I have 2 teensy boards that are using the same code. I am telling the compiler which code to run based on the level of a specific pin which I have tied to ground. This saves me from having one project per board. I want to adjust the value if AUDIO_SAMPLE_RATE_EXACT in the file audiostream.h to...
  39. D

    asynchronous board synching

    FYI, (back to me lol), I got the clock speed thing working so ... thanks...
  40. D

    asynchronous board synching

    Please do not apologise. I'm learning a heap. If my issue can trigger a wider conversation about something. I'm all ears. also, approx 46900 - 48550 Hz , C0 does not change when C2=10000000 so there is a wide range there too.
  41. D

    asynchronous board synching

    correct, but i have gone in close on the scope and messed with the numbers till I cant see any more movements
  42. D

    asynchronous board synching

    Well, changing that int to a float and changing the denom to 10000000 has now given me access to those decimals. Currently at #define AUDIO_SAMPLE_RATE_EXACT 48000.814f no more sliding clocks now.... so now i need to experiment with changing the PLL on the fly and see what happens
  43. D

    asynchronous board synching

    Its only transmitting raw data. I am transmitting a 32bit word (left & right together), 16 bit quality of course, at 48k and I'm using 16 buffers at a time in one packet
  44. D

    asynchronous board synching

    +1 I'm going to have a look now :)
  45. D

    asynchronous board synching

    AGREED!! Thats why I'm asking
  46. D

    asynchronous board synching

    Brilliant. I'll try that myself. But I did notice that changing AUDIO_SAMPLE_RATE_EXACT to something like 48000.1 had an effect but 48000.05 did not so... I'm still trying to work out how that floating point is used in the audio code when the clock function strips those decimals..
  47. D

    asynchronous board synching

    ok so I can just ditch that calculation code and make the numbers anything I want as calculated manually in excel? are there any limitations? it says c1 and C2 are 30 bit so looks like I can.. This might actually do the trick
  48. D

    asynchronous board synching

    If i use 1 teensy and dont use (air) then its no longer wireless, which is the whole point of the project I'm doing. The role of the second teensy is to provide user interface functionality ie. LCD, buttons, control of the audio board features. I'm playing with the code in excel now. I'm...
  49. D

    asynchronous board synching

    The AUDIO_SAMPLE_RATE_EXACT is a float but when it hits your code wont it lose the decimal accuracy? I'm trying to experiment with 48000.nnn and 47999.nnn . I've only been programming in C seriously for about 6 months so I'm still learning. My project only uses I2S so no need to worry about...
  50. D

    USB overvoltage

    If a teensy 4 usb input is accidently fed more than 5 volts, what blows first? I have a spare teensy here for parts that i might try to fix if I know what blows, cheers
Back
Top