A
Reaction score
14

Latest activity Postings About

    • A
      Yes. But the propagation delay is up to 66ns. If your clock goes through the buffer and then the data comes back through the buffer then that gives you a worst case of 132ns between the clock edge and the data being ready. Assuming an instant...
    • A
      AndyA replied to the thread MTP file dates.
      I suspect our issue could be resolved by calling the loop function more frequently and so preventing the receive buffers from filling up as much. But the system is doing a lot of other things at the same time so that's not the easiest thing to...
    • A
      AndyA replied to the thread MTP file dates.
      At the risk of hijacking the thread - we have hit a weird issue with the MTP library. If we have around 200 or more files in the directory then some files are missing from the directory listing. We have a data logger that is generating files...
    • A
      AndyA replied to the thread Remote code update.
      The standard FlasherX library is designed for an SD card or serial data source but ultimately all it really needs is a copy of the new firmware somere in memory. If you look around there are examples of how to use flasherX to perform an update...
    • A
      AndyA reacted to jmarsh's post in the thread 64 bit Flotingpoint with Like Like.
      It's (roughly) half as fast as 32-bit floating point and takes up double the memory, so better to not use it unless you need the precision.
    • A
      You didn't indicate which type of teensy this is. If it's a 4.1 then it's possible to create applications that can be upgraded by inserting an SD card with the new firmware. This is a variation on the system @joepasquariello outlined, you build...
    • A
      AndyA replied to the thread Damaged Teensey 4.1.
      Looking at the schematic the 3.3V pin is connected directly to the processor power input pins. If it's been fed 5V on the Vcc pins then it's probably toast, the datasheet absolute maximum for those pins is 3.6V. Even if changing the regulator...
    • A
      The FlasherX library is designed for the teensy to update it's own program flash but with some fairly minor edits could be made to instead target any memory mapped flash device. And it already has all the code to read and decode a .hex file. I'd...
    • A
      AndyA replied to the thread Teensy 4.1 Serial8.
      Why are you using a non-inverting logic level shifter rather than a genuine RS232 line driver? RS232 signals are in theory -15V to +15V (although in reality most drivers are lower voltage) and are the inverse of the TTL uart signals. While you...
    • A
      The way I've done similar things in the past is using a static method for the responder to call in a similar way to jmarsh's solution A. However rather than then using a static cast to get to the instance of the class I make the class a singleton...
    • A
      Other than the voltage the RS232 protocol is the same the standard uart protocol only with the bits inverted. So Serial1.begin(57600,SERIAL_8N1_RXINV_TXINV); should configure serial port 1 to be compatible with the signals you are getting.
    • A
      Going by this site https://www.ga.gov.au/scientific-topics/positioning-navigation/positioning-australia/about-the-program/national-positioning-infrastructure-capability you should be able to get RTK corrections over NTRIP for free. That will...
    • A
      Any modern GNSS will include SBAS however that is only for GPS so you often have the choice of GPS+SBAS or GPS+GLONASS+Galileo+Beidou. If you have a good clear view of the sky GPS+SBAS will be best, if your view of the sky will be partly obscured...
    • A
      Define a generous budget? I spend a lot of time playing with IMUs and GPS but not in teensy/Arduino environments so I can't comment on specific libraries. From a GPS/GNSS the ublox F9 is generally the best price/performance compromise, you can...
    • A
      I'd agree with @MarkT here. A kalman filter is probably overkill and I suspect is the cause of your issue. Kalman filters are remarkable when configured correctly but produce useless junk if configured incorrectly. In this situation I suspect...
    • A
      AndyA replied to the thread digital input.
      The collector pins have a 10k pullup. Are the signals coming in to that section actively driven high by your senor or are they open drain? If open drain then that would explain the lack of LED, you have a 10k resistor in series with the LED...
    • A
      AndyA replied to the thread About expansion to RAM1.
      Not adding anything that hasn't already been said but trying to put it in more learner friendly language: RAM 1: Holds your code. Any constants. Any global variables and objects. Basically everything that isn't dynamically allocated. The amount...
    • A
      Thanks for the support! I will try to incorporate RS-232 on my next circuit design. Right now, it doesn't have the space or connections for the needed RS-232 transceiver, like the MAX3232. I will try to solve the issue with the diodes and the...
    • A
      Yes, just like that. It should be on the teensy4 side between the part being protected and the connector. You are protecting against invalid voltages on the connector so it needs to be after the connector. It's a serial port, it's not that high...
    • A
      Does the connector have a design that ensures the ground pins mate first? Generally when hot plugging you want ground to connect first then power and only then the signals. If power and your data signals somehow connect before the ground it can...
    • A
      AndyA reacted to WMXZ's post in the thread Schematic different with Like Like.
      @AndyA. The prev message (WillimamsimC) seems ChatGPT generated an should, MHO, be considered Spam
    • A
      Thanks a lot! Wish I would have known this feature long time ago... Paul
    • A
      Windows 95 would have been the first time they did that. I'm fairly certain windows 3.11 still used the dos term and called them directories. So the jokes on you, it's only been 29 years... I remember telling someone to enter something on the...
    • A
      I'd agree that most source control tools involve a learning curve and hassle that simply isn't worth it for a lot of casual projects. But source control is a bit like backups, it's unnecessary, annoying and not worth it until it's too late. And...
    • A
      AndyA replied to the thread CANFD buffer only reading 8bytes..
      In the setup code add the line myFD.setRegions(64);
    • A
      AndyA replied to the thread Schematic different.
      Most development programming is done via JTAG or something like the ARM single wire debug interface. In effect the programming circuit is built into the main chip together with a fairly powerful debug interface. This saves the cost of an extra...
    • A
      No. Windows has plenty of source control tools available, it would be impossible to do any meaningful development on windows if it didn't. And every version of windows / MS-DOS ever released has had directores. I suspect this is a terminology...
    • A
      Same way you would for anything else. Source control tools like git archive all the requested files / directories, they don't care what the files are. All you need to do is start the archive one directory higher up the tree.
    • A
      The approach I've adopted is to have a different sketchbook location directory for each project. These may contain a couple of related sketches for the same hardware (e.g. for one I have a bootloader and a main application) but are different for...
    • A
      If there was only one or two uarts 512 bytes would be fine. But there are 8 ports, two buffers per port that's 8k of RAM which is completely wasted for most applications. That's enough memory that you don't want to just throw it away to make life...
    • A
      AndyA replied to the thread Multiple SPI at the same time.
      The standard SPI functions block for the time taken to send the data since they are also reading the reply. The actual hardware has a buffer so if the only time critical situations are fairly short writes you could write the data into that...
    • A
      There are two buffers for each direction for each uart, one in the physical hardware and a software buffer that is managed in the libraries. The physical hardware buffers are 4 bytes long, as bytes are received they are automatically placed in...
  • Loading…
  • Loading…
Back
Top