Latest activity

  • L
    Lavanya rajan replied to the thread MODBUS TCP.
    Hello again, I'm encountering an issue with another device from the same series. This particular device features analog input and output, each with four channels. The analog output is of the Read/Write type, operating with a function code of 03...
    • 1711621524174.png
  • M
    Yes, I was given an old copy of the whole Arduino 1.0.5 folder & Teensy 3.0 device and was given a task to make it work on Teensy 4.0. Don't worry, backup is safe on cloud and I also only made changes on files in Arduino 1.8.15 folder which I...
  • D
    d10 reacted to joepasquariello's post in the thread DAC80501 Help with Like Like.
    There may be other issues, but your spi_Write function is calling SPI.transfer(data_byte), which sends one byte, but data_byte is type uint16_t, which is two bytes. You at least need to send both bytes of the data value. You might want to rename...
  • D
    d10 reacted to houtson's post in the thread DAC80501 Help with Like Like.
    Hi, I was just typing what @joepasquariello said.. A couple of other points you might want to look at: - have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?) - in loop you're...
  • C
    I'm using the adc .h library in an application requiring high speed 12 bit a/d conversion by interleaving the two A/Ds on a T4 or T4.1 running at 600MHz. The interrupt service is called every 2 microseconds by the timer in the Timer.lib. The bug...
  • defragster
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • T
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
  • G
    The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
    • AfricanLights.jpg
    • FlashingTilefish.jpeg
    • OnTheOperatingTable.jpeg
    • UnderTheHood.jpeg
  • M
    After thinking about your goal--collecting RMS voltage data, I decided to try a software aproach that relies on a single ADC channels collecting data at 50KSamples/second. Other than the ADC channel (using timer-controlled ADC collection), and...
  • defragster
    Hopefully it is CERT trust that will build with more exposure as it is NEW - even though PJRC NAME is common from prior. Still needed Double Keep - with EXE name change it will still be inclined to show this as 'not commonly downloaded': Until...
    • 1711584820131.png
    • 1711584837006.png
    • 1711584905155.png
  • PaulStoffregen
    How about this? https://www.pjrc.com/tmp/hello4.exe Maybe with more of these downloaded enough times, SmartScreen will take notice?
  • S
    shawn replied to the thread EtherCat on Teensy 4.1?.
    I’m not sure if it helps, but the QNEthernet library can do raw Ethernet frames. I’m also making a small update so that the library can be built without any IP support (IPv4, etc., and any protocols built on top), should you not want those...
  • defragster
    Does right click properties show it as BLOCKED - - not seen that here but downloads can get marked that way too and require flipping that switch to allow it to run.
  • N
    Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\Users\chris\Downloads> .\hello3.exe Hello Defragster So it runs fine...
  • houtson
    houtson replied to the thread DAC80501 Help.
    Hi, I was just typing what @joepasquariello said.. A couple of other points you might want to look at: - have you got the right SPI_MODE? The data sheet says it clocks the data on falling edge (SPI_MODE 1 or SPI_MODE2?) - in loop you're...
  • J
    joepasquariello replied to the thread DAC80501 Help.
    There may be other issues, but your spi_Write function is calling SPI.transfer(data_byte), which sends one byte, but data_byte is type uint16_t, which is two bytes. You at least need to send both bytes of the data value. You might want to rename...
  • D
    Hello. I have been trying to get this DAC80502-01 evaluation Board to output a signal other than zero. https://www.digikey.co.uk/en/products/detail/texas-instruments/DAC80502-01EVM/22188397 In the the 8051 datasheet, it states that the CS pin...
    • SDS00001.png
    • SDS00003.png
    • SDS00005.png
  • H
    HansBenze replied to the thread Suggested ADC component.
    There's this library https://github.com/RobTillaart/MCP_ADC for the MCP3208
  • PaulS
    PaulS replied to the thread EtherCat on Teensy 4.1?.
    Getting the hardware integrated on your board is probably the easy part, the coding is the part that is harder to accomplish. You still may want purchase the shield as a reference for the person is doing the actual coding... Paul
  • L
    Best thing you can do while you wait for replacement hardware is extensively test your application running on the damaged board. If it runs successfully for the rest of this week, perhaps that will be good enough to meet your deadline next week.
  • PaulStoffregen
    Best thing you can do while you wait for replacement hardware is extensively test your application running on the damaged board. If it runs successfully for the rest of this week, perhaps that will be good enough to meet your deadline next week.
  • L
    Thanks a lot for the guidance and solving my queries at the earliest, I have made the order will see if it will arrive by the time.
  • PaulStoffregen
    Maybe. There is no 100% certain answer. The power quality will be lower, but I can not predict whether the lower quality will manifest as problems in your application. You should begin testing to answer this question for yourself, specific to...
  • L
    I am using a SD card for data logging will the noise caused due to absence of C21 decoupling capacitor cause problem to the SD card or any serial, I2c protocol Or pwm signal. As I am using these. I am also using a analog voltage sensor but I can...
  • B
    blazini36 replied to the thread EtherCat on Teensy 4.1?.
    Yeah, I've been digging into it since yesterday and EtherCAT works a bit differently than I thought it did. The master can run on a standard ethernet port with just some software. The slaves need an EtherCAT Slave Controller or ESC. The ESC has...
  • L
    R2 is used for the red LED which shows bootloader status. Teensy 4.1 can work without this LED. C21 and C29 are 3.3V decoupling capacitors. C21 is close to the SD socket and QSPI pads. C29 is close to the ethernet chip. Teensy 4.1 can...
  • PaulStoffregen
    R2 is used for the red LED which shows bootloader status. Teensy 4.1 can work without this LED. C21 and C29 are 3.3V decoupling capacitors. C21 is close to the SD socket and QSPI pads. C29 is close to the ethernet chip. Teensy 4.1 can...
  • PaulS
    PaulS replied to the thread EtherCat on Teensy 4.1?.
    Had a quick look at the EasyCAT shield and related library. The shield uses a Microchip LAN9252 EtherCAT device controller, not a 'standard' Ethernet controller. I assume that the LAN9252 chip probably takes care of the EtherCAT protocol...
  • P
    I'll answer myself and maybe it will be useful for others: it's because of the two blocks queue used by the i2s output to populate the DMA buffer.
  • J
    jvphotog reacted to Pio's post in the thread Stereo guitar/bass cabinet emulation with Like Like.
    Soon, i went into the latency rabbit hole trying to optimize it a bit, but it would require a new audio system.I'll leave it for now. It's perfectly usable and playable. I think i'll add a master high pass filer, have it on my second IR cabsim...
  • P
    Pio replied to the thread Stereo guitar/bass cabinet emulation.
    Soon, i went into the latency rabbit hole trying to optimize it a bit, but it would require a new audio system.I'll leave it for now. It's perfectly usable and playable. I think i'll add a master high pass filer, have it on my second IR cabsim...
  • J
    When is final_final_forrealthistime dropping??
  • L
    While desoldering the teensy 4.1 i broke R2,L2,C29,C21 l2 i can short circuit but what can i do for r2,c29,c21 what if i do not place them aur short them or what is the easiest and fastest way to make the teensy work please help me there is a...
  • PaulStoffregen
    I'm guessing you're dealing with code someone else wrote on this PC? If so, please first make sure you have backup copies of all the files. Especially if the PC you're using has the only (very old) copy of the working (with Arduino IDE 1.0.5)...
  • KurtE
    Sorry, again at least for me it is really hard to tell. The only thing that Arduino 1.0.5 tells me, was it was done a long time ago. A more meaningful indicator might be what version of Teensyduino, but not by much. The USB types are part of the...
  • M
    Just a guess, but this may be a reference to a company named Real-Time Systems. Among other things, they make software tools to allow visualization of data from embedded systems. https://www.real-time-systems.com/
  • M
    Do you have a suggestion on how to port USB driver using the available USB type in Arduino IDE 1.8.5? I tried using Serial USB type and modified the usb_desc.c & usb_desc.h with parameter values from the "Real-time Systems" USB descriptors...
  • M
    The idea is to write a firmware for a simple USB driver application on a Teensy device. The application is simply to read inputs from I/O (potentiometer or button) or writing outputs to LEDs. I am pretty sure this Real-time System option type...
  • PaulStoffregen
    Arduino IDE 1.8.5 is the oldest supported. But the IDE version probably isn't your main challenge. If you have code which was written for the Teensy 3.0 hardware, porting to Teensy 4.0 means rewriting the low-level USB code which actually...
  • defragster
    Did a quick scan of https://www.pjrc.com/store/teensy41.html and not seeing any notes on previously discovered behavior of pins #24 and #25 during Upload where they are driven high in some fashion. Seems that and added note when using a locked...
  • R
    Actually I found one that works for CAN FD that I haven't tested with the regular CAN: https://github.com/cburgess5294/Arduino-Teensy41/blob/main/TEENSY_4.1_CAN_TEST_2.ino
  • M
    There are a couple ways, but the easiest is to just hard-code it: line 209 of RS485.CPP was changed to the following RS485(Serial5, 20, 255, 255); In my case, I was actually using a MAX3232 (RS-232 doesn't transmit/receive on the same lines) so...
  • J
    Just a guess, but this may be a reference to a company named Real-Time Systems. Among other things, they make software tools to allow visualization of data from embedded systems. https://www.real-time-systems.com/
  • M
    mborgerson replied to the thread Suggested ADC component.
    The code at that link isn't quite a Teensy-compatible library. It does show how to use the hardware to collect analog data. With a wrapper to handle the Teensy SPI transactions, it might save a lot of work. A complete library should have...
  • B
    I've seen a few posts from a couple years ago but nothing with much info. I've seen some projects using an Arduino and this ethercat shield: https://www.bausano.net/en/hardware/easycat.html It seems like it would be a hell of alot cheaper and...
  • M
    FYI - I was testing the app and the address pin (digital 25), appears to work correctly both in reading and writing. (pheww!) Thanks defragster!
  • KurtE
    Sorry, I am pretty sure there will likely not be support to run on Arduino 1.0.5 with any version of Teensyduino that supports the Teensy 4.x boards. Sorry. I personally have no idea what the Real Time System Custom USB is or was? Maybe others...
  • defragster
    Pin #24 and #25 during programming receive some level of 3.3V - enough to light an LED DIM or Bright. Not seen on other edge pins. That has been noted if not documented and needs to be considered in use of those pins. AFAIK: This is the first...
  • M
    ...digital pin 25
  • M
    Yes, I just got back from testing, and when pin 25 is held to ground, it cannot be programmed when the unit is locked. I haven't yet tested to see if that will affect my application, as I am using pin 25 as an address line. Does anyone think...
Back
Top