Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: LenSamuelson

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    101

    Preprocessor definitions require "#" character

    It looks like a "#" character is missing.

    The way to enable these things is with a preprocessor macro, so use "#define" preprocessor operator.



    #define AUDIO_PT8211_OVERSAMPLING

    #define...
  2. I've been running experiments with PJRC PT8211...

    I've been running experiments with PJRC PT8211 audio board (stereo I2S 16-bit DAC) replacing the output capacitors with shorting wires. It works beautifully. Good results from DC up to 500...
  3. We have been checking PT8211 behavior fairly...

    We have been checking PT8211 behavior fairly closely over the last week. Connected using the PJRC standard board-on-board style... No real surprises on the noise front.

    Off topic... Has anyone...
  4. Teensy 4.1 + audio as test signal generator

    Bottom line question: Does anyone know of issues in driving DC-to-kHz signals with a Teensy audio shield?

    I've been involved in a multi-channel (64-channel) analog data acquisition project and...
  5. Replies
    2
    Views
    309

    PWM emphasizes pulse width not absolute clock accuracy

    I don't think I've ever seen a PWM-controlled device that places tight requirements on the accuracy of its clock rate. The two parameters that almost all PWM-driven devices use are carrier frequency...
  6. Related to drive strength, seen in Raspberry Pi documentation

    Interesting coincidence... Reading some tech docs on the Raspberry Pi over the weekend, I discovered that's approximately how they handle PIO drive strength:...
  7. UART/DMA: unlikely to be worth the effort

    I have implemented DMA-based UART communication using Kinetis microcontrollers in the same family as the one in the Teensy3.5. The only reason we could justify the major investment of development...
  8. I agree with chipaudette, our project has had...

    I agree with chipaudette, our project has had noise issues and channel cross-talk issues using the 4 onboard ADCs in a K60 design. We are "getting along OK" but have discovered a need to take great...
  9. Replies
    89
    Views
    6,182

    Board flex is a known problem with BGA parts,...

    Board flex is a known problem with BGA parts, maybe SparkFun could consider a thicker board design? I am unfamiliar with the physical specs on the MicroMod form factor.

    My work project had several...
  10. equal priorities: round-robin scheduling

    First answer: The program as written has asked the the executive to run two threads with equal priority. Both threads ("tasks") are written to run continuously, so the apparent gap in execution of...
  11. I should have written better.. Yes, all current...

    I should have written better.. Yes, all current fiber has basic cladding, so the answer is "yes".

    That said (again this is just the way I have perceived the world of communications), historically...
  12. Depends on application

    Selection of communication medium is so dependent on one's application that there is effectively no "correct" way to respond to your question.

    Armored optical fiber (what I call traditional high...
  13. Replies
    2
    Views
    429

    Depends on legal / insurance answers

    If your target application has safety implications (a question you and your co-workers would need to answer), then the you can change the Big Decision into a few smaller ones:

    Are you willing to...
  14. Replies
    582
    Views
    165,843

    NXP Kinetis analog: OK for medium precision...

    My coworkers and I have been using Kinetis (K60, K61, approximately Teensy 3.6-generation) parts for a fairly large data acquisition system. During early design, we were optimistic that the...
  15. Replies
    11
    Views
    996

    I'm not surprised by their variability. In our...

    I'm not surprised by their variability. In our project, the original plan for them was to build a desk-sized strain gauge system while our project hardware being built, since the real sytem is very...
  16. Replies
    11
    Views
    996

    One of my favorite shops is SparkFun Electronics...

    One of my favorite shops is SparkFun Electronics at https://www.sparkfun.com/ who offer many products including a variety of load and force measurement components. They offer load sensors (single...
  17. Replies
    11
    Views
    996

    Hi Trensicourt, I grabbed the PDF you linked. The...

    Hi Trensicourt, I grabbed the PDF you linked. The "0.5 to 4.5V output" version and the I2C version are shown in block diagrams as supporting 2.7 to 3.3V power supply and signalling. That does not...
  18. Correct, the LC processor can use the pin...

    Correct, the LC processor can use the pin according to the processor's settings. It is a 3.3V pin, and as seen in the schematic could be used as an I/O pin without difficulty. The LC uses a 74LV1T125...
  19. Replies
    47
    Views
    4,128

    Motor driver chips have internal logic...

    Count me one of those who suggest a motor driver. Adafruit sells breakout boards for development (or production in case you decide to keep it in final design). The TB6612 and DRV8833 chips...
  20. Replies
    4
    Views
    943

    Neat idea especially when the target PC does not...

    Neat idea especially when the target PC does not enable its remote desktop support capability which is the most common way to control a Windows PC manually.

    It looks like you've got the basic idea...
  21. Finer resolution interrupt enable/disable

    One API that I have wished to implement is to change from "disableInterrupts / enableInterrupts" to "curLevel = setPriority(newLeveli)"; one option for "newPri" should be "such a high priority that...
  22. Replies
    26
    Views
    2,453

    Though your ISR is likely already cached given...

    Though your ISR is likely already cached given that it is probably being executed frequently in your tests, there are are some additional tools that may help with speed.

    About two thirds of the...
  23. Replies
    26
    Views
    2,453

    I'm beginning to understand... you are not...

    I'm beginning to understand... you are not simulating ust a 27c256/27c512, you are simulating an 27c256/27c512 connected to a multiplexed address/data bus. That is a different animal...

    Are you...
  24. Replies
    26
    Views
    2,453

    Given my continued interest in whether a Teensy...

    Given my continued interest in whether a Teensy can emulate an EPROM...

    Is your code changing the direction controls on the pins that serve as ADDRESS lines? For any addressed hardware component,...
  25. Replies
    28
    Views
    3,016

    Sounds like you're on your way. I've wondered for...

    Sounds like you're on your way. I've wondered for several years whether a Teensy could emulate an EPROM, considering the number of times my co-workers and I wished for rapid turnaround during...
  26. Replies
    28
    Views
    3,016

    You may want to consider how long OE# is expected...

    You may want to consider how long OE# is expected to be active. If you are fairly confident that it is held active for limited time, then it may be OK to enter the ISR on OE# falling edge, then...
  27. Replies
    28
    Views
    3,016

    Teensy4 GPIO controls

    In case you have not found the code already... "avr" is basically a holdover from early days, but all teensy products are supported there. Two files you are likely to be interested in studying. I...
  28. Replies
    28
    Views
    3,016

    Multiplexed address/data, makes sense

    The discussion so far appeared to be related to 27c256 or 27c512 parts, which are just classical EPROMs, with nonmultiplexed address/data signals. So the discussion so far still fits the description....
  29. Replies
    28
    Views
    3,016

    Rt1060 gpio / isr

    I wondered whether that was the case...

    edit:

    If you can count on your target pulsing OE# low for each access the logic is way simpler. If your target holds OE# low for a limited time...
  30. Replies
    28
    Views
    3,016

    The RT106x processors are so fast that a...

    The RT106x processors are so fast that a well-written very tight interrupt service function triggered by the leading edge of OE# may be more likely to work properly than a DMA solution, and be a bit...
  31. Is this a "spare no expense" project, or a "get...

    Is this a "spare no expense" project, or a "get the best results without going overboard" project?

    The ADCs in the Teensy 3.2 microcontroller can pull enough current during sampling that they...
  32. Replies
    27
    Views
    5,547

    NXP UARTs fine at 9.375 Mbits/sec in T3.5/T3.6 related project

    FWIW, I have been involved in a project that drives Kinetis K60 and K66 microcontroller UARTs at their max rate (150MHz sysclock /16=9.375) across optical links through 50MHz-rated transceivers. In...
  33. Replies
    4
    Views
    1,182

    You make a good point (and was exactly what I...

    You make a good point (and was exactly what I though during the time we struggled with the byte-slip issue), so I went back to examine the settings we use. We do set RXWATER to 1.



    It's also...
  34. Replies
    4
    Views
    1,182

    CPU/DMA race story

    That reminds me of the strangest CPU/DMA race condition...

    My project involves really fast comms with UART0 and UART1 in the Kinetis K64 / K60 / K66, (our locally designed hardware, but the K66 is...
  35. Replies
    3
    Views
    1,214

    The analog to digital converter in the Kinetis...

    The analog to digital converter in the Kinetis K66 microcontroller has an analog comparator feature that can be set up in a variety of ways to generate a conversion complete interrupt only when it...
  36. Sounds positive all around. Supports my...

    Sounds positive all around. Supports my hypothesis and early test results, that communicating basic configuration and diagnostic constants will work predictably. We are already ensuring proper...
  37. Thanks for the response. Given that nobody has...

    Thanks for the response. Given that nobody has reported obvious problems with binary FP interoperability, I'll just go with it and verify the results carefully. The project already uses FP arithmetic...
  38. Poll: Binary floating point txfr from t3.5, 4.x to host?

    Hi everyone, with the increasingly common of floating-point hardware in recent NXP Kinetis parts including the T3.5, 3.6, 4X, I wonder whether anyone here has begun using binary data transfer of...
  39. Replies
    43
    Views
    9,501

    The Segger unit would probably work, though it...

    The Segger unit would probably work, though it involves their software and more importantly to me, their licensing policies. When we were looking into debugger support hardware and software, one...
  40. Replies
    43
    Views
    9,501

    Olimex parts + openOCD work for me

    Three years ago, I bought an Olimex FTDI-based JTAG programmer, a JTAG-SWD converter and a cable to match ARM's 10-pin footprint, with a total cost less than $100 (it could have been $50, I don't...
  41. ...This leads to an interesting question from...

    ...This leads to an interesting question from someone who knows nothing of audio (comms & measurement guy here). When one refers to "reverb", is the standard of practice to separate the channels with...
  42. Hi Rowan, It turns out that my project at work...

    Hi Rowan,

    It turns out that my project at work is just finishing a design using an MK66 part, so I am interested in starting to use an MK66... I was a Kickstarter backer for the Teensy 3.6, and...
  43. On a project that does not use the Teensyduino...

    On a project that does not use the Teensyduino code, I have been successful in using the watchdog interrupt to great effect, using the ISR to store some state before the reset happens.

    I had code...
  44. Replies
    427
    Views
    117,762

    Perhaps a way to support through-hole resistors...

    Perhaps a way to support through-hole resistors while consuming limited board space: Place the holes 0.10 inch apart, allowing the resistors to be placed vertically. There will inevitably be...
  45. Replies
    9
    Views
    11,011

    Question about the product page... It looks like...

    Question about the product page... It looks like there are two copies of the top side illustration, none of the bottom.

    Congratulations on the new release! Two units ordered, looking forward to...
  46. Replies
    4
    Views
    2,413

    Not really relevant to the question of using a...

    Not really relevant to the question of using a watchdog to awaken a CPU from sleep, but for those who read these comments, I have an update on how the Kinetis watchdog hardware works.


    I use a...
  47. Replies
    3
    Views
    1,230

    On the topic of interrupt service and CPU...

    On the topic of interrupt service and CPU performance... The K64 in the Teensy3.5 is an amazing performer. I've been using FRDM K64F devboards (with 10/100 Ethernet and a little IP stack) to support...
  48. Rcarr's observation about the idle state of leads...

    Rcarr's observation about the idle state of leads to a question about UART handling at a register level: I have not looked at the Teensyduino driver layer recently, but there's a possibility that...
  49. Replies
    16
    Views
    4,160

    Thanks to all, my co-workers and I appreciate the...

    Thanks to all, my co-workers and I appreciate the info.
  50. Replies
    16
    Views
    4,160

    Hi Willie_from_Texas, what system clock rate are...

    Hi Willie_from_Texas, what system clock rate are you using to obtain those numbers? At first glance they seem impressive.
Results 1 to 50 of 129
Page 1 of 3 1 2 3