Latest activity

  • B
    Hi all, I am trying to establish an SPI link between two T41's with both using the SPI2 interface pads on the underside. For wiring I have GND -> GND SCK -> SCK MOSI -> MISO...
  • J
    Points taken, Paul. In this case the watchdog timeout was specified for me, and we are using T4 EEPROM for parameters, so I really have no choice in the short term. Parameter writes will be rare, and erase even more so, but I can’t have the...
  • P
    palmerr replied to the thread Updated 8x8 and 16x16 audio.
    I don't think so, once the bit offset has been set, slots are always consecutive. Setting 32-bit slots (Reg 9) at the hardware level would be the best approach and would be consistent with CS42448 practice. I'll have to think further on any...
  • PaulStoffregen
    Somehow this thread was on my list of issues to investigate. Looks like the Arduino developers updated Arduino CLI, so this is no longer a problem? I can confirm the code inside teensy_post_compile does indeed look for ARDUINO_USER_AGENT to...
  • h4yn0nnym0u5e
    Isn’t it just a matter of telling the TLV320AIC3104 chips to listen only on even-numbered slots? I need to read the data sheet again…
  • P
    palmerr replied to the thread Updated 8x8 and 16x16 audio.
    An interesting thought! I'll ponder on the added complexity, which shouldn't be great (adding an argument to the input and output object constructors, and simply incrementing the channel counter twice on transmit and receive, when channels <=...
  • PaulStoffregen
    Watchdog timers are difficult. Or said another way, they're easy to use ineffectively. If you're going to reset the watchdog inside a tight loop, at the very least you might consider adding a count variable to limit the number of times you're...
  • P
    Hi, I have been writing code to run MAX7219s driving 7 segment displays connected to X-Plane via the "Flight Sim Controls" interface. This all worked and I got 7 MAX chips to run from a Teeny LC. Then I wanted to add a further 2 off MAX chips...
  • S
    SteveSFX replied to the thread 2.8" TFT woes.
    https://www.pjrc.com/store/display_ili9341_touch.html Exactly how I have it wired... Is that feed to the backlight via a 100R resistor fed from 3.3v or 5v? I used 5v *and it was fine in my trial).
  • S
    SteveSFX replied to the thread 2.8" TFT woes.
    I might be able to get them shipped..... expensive however
  • K
    kd5rxt-mark replied to the thread 2.8" TFT woes.
    Ah, didn't realize that PJRC products are not all available outside the US. Maybe someone actually inside the UK will have something more useful to offer. Sorry for the wasted bandwidth . . . Mark J Culross KD5RXT
  • S
    SteveSFX replied to the thread 2.8" TFT woes.
    Don't think I can get that in the UK.... That pinout is identical to these. I just don't get how it killed them
  • B
    Nice! Thanks. This is helpful - just been turning on WDT's lately. I reduce the wait damage (for other reasons) by arranging to only do one flash sector erase in a single write. I do that by re-addressing all my EEPROM writes to keep them in...
  • K
    kd5rxt-mark replied to the thread 2.8" TFT woes.
    @SteveSFX: If I'm viewing the same Amazon item (Amazon US vs. Amazon UK), for about the exact same price, you could just get the PJRC touchscreen display & be so much more sure about what you're getting, no ?? Personally, after much trial &...
  • J
    One of my projects requires a watchdog with timeout of a few ms, so I faced this issue of needing to prevent watchdog reset during blocking flash operations. EEPROM writes can block for a relatively time, but as far as I can tell so far, only...
  • S
    SteveSFX posted the thread 2.8" TFT woes in Project Guidance.
    Hey all Got a 4.1 Teensy. Trial connected it to a 2.8" TFT screen I had kicking around. Seemed to be all good, but the screen was a bit beaten. So I grabbed 2x more of what I assumed was the same screen...
  • D
    dougm replied to the thread Teensy 3.2 modules for sale.
    Does anyone need MK20 chips? I have a lot of them after the company I worked for went out of business. I also have some Teensy 3.2's in small quantities (20?) that I'd be happy to trade if someone needs them and wants to send me 4's in...
    • 1729019632680.jpeg
  • PaulStoffregen
    PaulStoffregen replied to the thread Teensy 4.x Unique_ID.
    The flash memory chip also has a unique 64 bit number. It's documented on page 66 (67th page of the PDF) of this datasheet: https://www.pjrc.com/teensy/winbond_w25q16jvuxim.pdf Here's code to read it. void setup() { while (!Serial) ; //...
  • A
    If you have only one device on the bus, and the USB-CAN interface, you must configure it as a device. It will send back the ACK. If you configure it as a simple reader(can't remember the exact name), it will not send the ACK, and the Teensy...
  • TomChiron
    TomChiron replied to the thread Teensy 4.x Unique_ID.
    There is this: https://github.com/sstaub/TeensyID
  • TomChiron
    Just an update to this project. We made the first 3000+ LED panel prototype and video, image and MIDI to led block works. Since 1 Teensy controls now 12 * 256 led panels and it only take 6 channels from octo we decided to use the 2 remaining...
  • TomChiron
    Thanks Tom, This is exactly what I was looking for :)
  • KurtE
    KurtE replied to the thread Teensyduino 1.60 Beta #3.
    Quick note: on running arduino-cli on RPI5 with this version of Teensyduino. When it is programming the Teensy (in this case a Micromod, It shows the "erasing... fine, but then it displays: "ogrammi" That is the text is clipped off on both...
  • balthasar
    Cricklewood Electronics is the best real life shop I know. Although it's been a long time since I last visited. Check out the Hobby Electronics section on their website.
  • L
    Thanks!
  • L
    Loxodonta reacted to KurtE's post in the thread USBHost_t36 included in teensyduino? with Like Like.
    Yes it is installed as part of teensy board installs.
  • KurtE
    Yes it is installed as part of teensy board installs.
  • L
    Thanks Tom, This is exactly what I was looking for :)
  • L
    At what signal are you looking? Compare it to other FFT representations you like. There is always some playing, making it aesthetic, rounding. It is not 100% precise and cannot be with a limited number of output representations which are shown...
  • A
    A few things would work. The nice way is to define a const char[] with that value and then make sure your code uses it so that the compiler doesn't optimise it out. Or the most basic solution would be to including the line...
  • P
    I just commented out that part in the demo code about the string and it looks like it is working now. I know it is not a solution it is just one time flash over the ethernet, but now I can see that it works. Dont understand how exactly should be...
  • L
    Hi, for a project documentation I need to verify the "USBHost_t36" library is included with teensyduino, i.e. automatically installed when installing the Teensy boards within the Arduino IDE. As far as I can see, this is the case, but please...
  • h4yn0nnym0u5e
    Writing a reply to another post, it occurred to me that when you're implementing the chip configuration code, it probably makes sense to default to using even-numbered slots in the TDM data streams, so existing designs can use your hardware just...
  • h4yn0nnym0u5e
    h4yn0nnym0u5e replied to the thread Two audio boards on a 4.1.
    If using the PJRC audio adaptor (2i2o), a maximum of 3½ boards can be used, but it gets increasingly tricky to do after the first two. The "main" Teensy I²S interface (the various Audio???I2S objects) has a maximum of 5 data pins (7, 32, 9, 6...
    • audio-adaptor-mods.png
  • A
    As a simple way to verify that you are uploading the correct firmware the library looks for the board version string to be somewhere in the uploaded file, "fw_teensy41" in your case. This stops you accidentally trying to load teensy3 firmware...
  • PaulS
    PaulS replied to the thread Teensy 4.x Unique_ID.
    Added reading out the serial# as well: // from i.MXRT1060 Processor Reference Manual, Rev 3 // see "Table 22-9 Fusemap Descriptions", page 1301, Fuse Address 0x420 - 0x410: UNIQUE_ID[63:0] // // see also Chapter "23.6.1.1 OCOTP memory map", page...
  • P
    Thank you for your help. I have erased the memory with the push button. When I try to reflash the teensy_ ota demo code it looks like it is working. So I made just a simple code that sends over Serial print update successfull. When uploading I...
  • T
    teensy_noob replied to the thread Two audio boards on a 4.1.
    Hi. Sorry for digging up an older thread.. Are 4 channels (2x Audio boards) the maximum or can these be stacked further or is this limited by the addressing on the board itself? Could 6 or 8 channels be implemented for example? Or would a...
  • S
    I am definitely not someone with the chops to write code for the project I'm working on. I've tried various AI systems, and the result is generally frustrating. Stuff won't compile or just doesn't work. Claude Sonnet 3.5 was just released so I...
  • S
    shawn replied to the thread ethernet on 4.1.
    QNEthernet also supports the hardwareStatus() function with an EthernetTeensy41 type. There’s also an “other” type. I expect to add more of these as I add more drivers. I’ve made efforts to keep the API the same.
  • J
    joepasquariello replied to the thread ethernet on 4.1.
    I didn't know this, but it looks like NativeEthernet attempts to support both built-in and external Ethernet, because it does have a hardwareStatus() function (shown below), and like the Ethernet library, that function is specific to WizNet...
  • defragster
    defragster replied to the thread Teensy 4.x Unique_ID.
    3 sec reset is annoying :( :) Three T_4.1's here on the desk: Reading Unique_ID from hardware: 5D7586E8 121059D7 Reading Unique_ID from hardware: 65F8296A 0E18B1D2 Reading Unique_ID from hardware: 5D45D01C 0F1299D7 >> Ser# 9706370 >> And a...
  • A
    ajlapp replied to the thread ethernet on 4.1.
    Excellent. I assumed this was something dumb on my part...thank you. To clarify...I was using the NativeEthernet library listed on the teensy page. The webserver example uses this same code snippet...so it appears that some of those examples...
  • J
    joepasquariello replied to the thread ethernet on 4.1.
    The example you are using is for the Ethernet library, which is not intended for T4.1 with built-in Ethernet, but rather for Teensy/Arduino with external Ethernet modules from WizNet. For built-in Ethernet on T4.1, you should be using the...
  • A
    ajlapp replied to the thread ethernet on 4.1.
    Looping back on this... The webserver example provided with the Teensy uses this line of code: Ethernet.hardwareStatus() == EthernetNoHardware My example doesn't get past this point and I was curious how this method works? Later in the...
  • E
    Hello, Forget about freeverb. For a while now I use this : https://forum.pjrc.com/index.php?threads/stereo-plate-reverb-for-teensy4-x.65688/ It is just another world !!! Have fun, Emmanuel
  • J
    joepasquariello reacted to PaulS's post in the thread Teensy 4.x Unique_ID with Like Like.
    Triggered by a recent discussion about a Teensy 4 unique MAC address, I wondered whether the i.MX RT1060 processor on the Teensy 4.x also has a unique chip serial number like the MK20DX256 chip on a Teensy 3.1/3.2. Yes, there is: Here is a...
  • PaulS
    Triggered by a recent discussion about a Teensy 4 unique MAC address, I wondered whether the i.MX RT1060 processor on the Teensy 4.x also has a unique chip serial number like the MK20DX256 chip on a Teensy 3.1/3.2. Yes, there is: Here is a...
    • 1728933712340.png
  • defragster
    defragster reacted to PaulStoffregen's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
    Exciting development (well, at least I'm excited...) dankeboy36 sent a pull request which brings the GUI into the IDE 2 sidebar.
  • A
    This is a quick update of new setup everything else is the same the can high can low connected to peak can fd cable cable via DB9. I am not in the lab at the moment but will send a more complete photo and my wiring too.
    • NEWSETUP.jpg
Back
Top