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

Search:

Type: Posts; User: Theremingenieur

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. The best guide for such things are 5 years of EE...

    The best guide for such things are 5 years of EE studies at a good technical university...
  2. The newer versions of the audio library do...

    The newer versions of the audio library do 32bit/slot which is 64bit/frame, but only in the 2ch version. The 4ch version is still doing 16bit/slot or 32bit/frame and waits for a kind and competent...
  3. USB serial is native in the Teensy, there is no...

    USB serial is native in the Teensy, there is no FTDI as on some old asthmatic Arduinos. So this is normally the more efficient way to go, at least when exchanging data with a PC.

    Reducing the 24V...
  4. Why not, for all the bells and whistles (LEDs,...

    Why not, for all the bells and whistles (LEDs, switches and potentiometers) go for a semi autonomous touch screen like the Nextion HMI?
  5. Replies
    62
    Views
    6,254

    The flash security byte is intended to prevent...

    The flash security byte is intended to prevent reading out the flash via JTAG, but as I said above, establishing a JTAG connection is not possible without additional microscopic soldering on the...
  6. Replies
    62
    Views
    6,254

    In any case

    In any case
  7. Replies
    2
    Views
    69

    Do people nowadays not longer study data sheets?...

    Do people nowadays not longer study data sheets? :)
    https://www.pjrc.com/teensy/KL26P64M48SF5.pdf

    Page 26 states clearly that the minimum for stable operation is 1.13V
  8. Replies
    62
    Views
    6,254

    No, the flash can't be read out via USB. One...

    No, the flash can't be read out via USB. One would need to fiddle with some small contacts on the PCB.
  9. Replies
    62
    Views
    6,254

    For making sure that USB flashing will work, you...

    For making sure that USB flashing will work, you should minimize the reset delay. If not, you’ll run in similar issues as with the capacitor.
  10. Replies
    62
    Views
    6,254

    The file name is mk20dx128.c

    The file name is mk20dx128.c
  11. Replies
    62
    Views
    6,254

    I wasn't aware of the 803/809/810 series. That...

    I wasn't aware of the 803/809/810 series. That looks like something useful in your case. But you'd have to decide once forever if you go for 5V or 3.3V. They seem to be available in smd only...
    ...
  12. Replies
    62
    Views
    6,254

    You are contradicting yourself. On one side, you...

    You are contradicting yourself. On one side, you use bulky through-hole components, on the other side you talk of wearables, where SMD components are much more suitable. So, I see the failure rather...
  13. Replies
    62
    Views
    6,254

    A Voltage reference, a comparator, 3 resistors......

    A Voltage reference, a comparator, 3 resistors...

    or something like this: https://www.onsemi.com/pub/Collateral/NCV8508B-D.PDF
  14. Following the Kinetis application note, the...

    Following the Kinetis application note, the source impedance should be relatively low for precise ADC readings. That’s why I’d suggest making the voltage divider 5k/10k instead of 10k/20k. And yes,...
  15. Replies
    62
    Views
    6,254

    The Teensy loader is obviously not willing to...

    The Teensy loader is obviously not willing to wait for the reset to come up delayed. That’s why I said that a capacitor was not always the best solution...
  16. Use GND. Your signal looks already filtered...

    Use GND. Your signal looks already filtered enough.
  17. But yes, you can. It's not about "workaround and...

    But yes, you can. It's not about "workaround and jumpers", it's about engineering, which means processing and outputting a signal on the Teensy LC and feeding it into the appropriate pins of the prop...
  18. Don‘t waste your time, trash it and take the next...

    Don‘t waste your time, trash it and take the next one out of the drawer. After smoking, the chip will never again be 100% reliable and other issues might show up, soon. At today‘s hourly IT wages, a...
  19. Replies
    62
    Views
    6,254

    The famous reset delay capacitor might in some...

    The famous reset delay capacitor might in some cases fix boot problems which are due to the 3.3V line coming up too slowly. But the fixed delay applied by the capacitor might not be optimal in all...
  20. I confirm that without firmware (hex file) which...

    I confirm that without firmware (hex file) which would enable the USB hardware, a blank MK20 (be it blank because of an empty MKL02 or for any other reason) will not show up as a device in the device...
  21. PWM is always synchronized inside an FTM, so you...

    PWM is always synchronized inside an FTM, so you should in a first step swap pins to use up to 8 channels from the same FTM. An update of all output signals happens always after the main counter...
  22. The MK20 starts always (if it starts) from an...

    The MK20 starts always (if it starts) from an internal RC oscillator. The boot code will then enable the XTAL oscillator, the FLL/PLL, and the clock distribution module. So, yes, without a hex file...
  23. I get the impression that you, JSON, are speaking...

    I get the impression that you, JSON, are speaking a different language than we who try to help you.
    You started a thread about SPI. Then, you are saying that you want establish communication with a...
  24. In that case, you answered your question already...

    In that case, you answered your question already yourself: Yes, the CS pin has to be tied to GND to make the slave side basically work. As long as it is high (reverse logic), the SPI hardware of the...
  25. The CS pin should never be tied constantly to...

    The CS pin should never be tied constantly to either high or low. The SPI specification states clearly that the SPI master has to assert it (tie low) before a transaction begins and to de-assert it...
  26. Without looking at the library’s source code, I’d...

    Without looking at the library’s source code, I’d guess that the interrupt is fired not on the absolute level on the cs pin, but on a transition from high to low, i.e. when the master de-asserts the...
  27. Replies
    34
    Views
    1,120

    Just my two cents: A new Teensy 3.6 costs 30$....

    Just my two cents: A new Teensy 3.6 costs 30$. Your working hour costs, let’s assume and include all secondary costs, 100$. I’m sure that you and all the helpful people here in the forum have spent...
  28. Replies
    3
    Views
    114

    You are welcome! :)

    You are welcome! :)
  29. Replies
    3
    Views
    114

    I guess that you won't see anything when you...

    I guess that you won't see anything when you connect your oscilloscope to the TX1 pin...

    Your code instantiates the wrong serial port. Serial is the virtual serial over USB. The hardware UART on...
  30. How do you expect getting help if you do not give...

    How do you expect getting help if you do not give more precise information about WHAT is not working... is it that myFunc() is not called, or is it called but no reply sent? What about the wiring?...
  31. If I happened to roast a Teensy accidentally, I...

    If I happened to roast a Teensy accidentally, I even wouldn’t post that here. No need to advertise my silliness in public since whatever happened, it was my fault. The correct procedure is trashing...
  32. Think of the many mice, rats, apes, and pigs...

    Think of the many mice, rats, apes, and pigs which are killed during the development of new médicaments or perfumes...

    And think of what you will earn when you’ll have sold the first 5000 units of...
  33. The Teensy SPI library website...

    The Teensy SPI library website https://www.pjrc.com/teensy/td_libs_SPI.html states clearly that slave mode is not supported...
  34. ISR(Vector) works only on AVR but not on ARM...

    ISR(Vector) works only on AVR but not on ARM processors like the Teensy. The SPI library for the Teensy does AFAIK not support attachinterrupt().
  35. I'm not a "savvy mcu/electronics professional", I...

    I'm not a "savvy mcu/electronics professional", I have "only" acquired degrees in mathematics and music more than 30 years ago. But when it comes to developing stuff with an MCU, the approach is the...
  36. An internal pull-up on PTC10/11 can only come...

    An internal pull-up on PTC10/11 can only come either by the GPIO engine or by the I2C engine. Both should normally not play a role as long as these pins are neither configured as GPIO nor as I2C...
  37. If you want to do analog readings, you should not...

    If you want to do analog readings, you should not configure the pins as GPIO input pins to prevent ugly side effects from the pin mux into the ADCs. After booting, pins are by default in analog mode...
  38. Replies
    23
    Views
    610

    The strategy is: 1 Setting the FTM1 clock source...

    The strategy is:
    1 Setting the FTM1 clock source to F_BUS
    2 Setting the FTM1 MOD register to 59 (60-1) because the 0 counts, will give 1MHz clock
    3 Setting the FTM1_CH0 CMP register to 29 or 30...
  39. Replies
    23
    Views
    610

    2 issues: First, there are visible "ringing"...

    2 issues: First, there are visible "ringing" peaks, your oscilloscope probe might not be well compensated and thus the measurement slightly wronged. Second, with using analoigWriteFrequency and...
  40. The BCLK and MCLK signals are RF @ 2.82 and...

    The BCLK and MCLK signals are RF @ 2.82 and 11.29MHz. It should be self-understanding to treat such signals in an appropriate way, keeping the wiring as short as possible to prevent parasitic...
  41. Replies
    1
    Views
    145

    Ohm’s law (8th grade stuff) allows you to...

    Ohm’s law (8th grade stuff) allows you to calculate whatever voltage divider.

    Little reminder: Vout = Vin * R1 / (R1 + R2), so to bring 12V down to 3.3V, select R1 to 3.3k and calculate R2 to 8.7k.
  42. Naturally. Not only in Teensyduino but in all...

    Naturally. Not only in Teensyduino but in all embedded developments which rely on the gcc compiler because it supports inline assembly. Parts of the Teensyduino audio library are written in assembly....
  43. I'm using one of the cheapest Chinese SALEAE...

    I'm using one of the cheapest Chinese SALEAE clones (https://www.amazon.fr/AZDelivery-Logic-Analyser-compatible-version/dp/B01MUFRHQ2) for just 13€ (free shipping in France with Amazon prime) for 2...
  44. Replies
    9
    Views
    440

    This is not only true and important for the...

    This is not only true and important for the comparators but for ALL internal peripherals (DACs, ADCs, SPI, I2C, I2S, UARTS, USB, and so on) which are by default disabled on boot to save energy. Each...
  45. Please write that to Bill Gates. That's clearly a...

    Please write that to Bill Gates. That's clearly a Windows issue (one of the 9764711)...
  46. It's just important that you buy the MKL02/04...

    It's just important that you buy the MKL02/04 pre-programmed from PJRC. A factory fresh empty MKL02/04 won't do the job.
  47. Make the choice of a pin which is associated to...

    Make the choice of a pin which is associated to one of the Flextimers FTM0 to FTM3 (these are the PWM capable pins) as a clock pin. Make sure you do not need that FTM for PWM or input capture...
  48. Man... Look at the Teensy schematics to see how...

    Man... Look at the Teensy schematics to see how it's wired and the corresponding explanations of the MKL02/04 and how to build a custom Teensy on the PJRC website. The MKL02/04 acts as a kind of...
  49. Replies
    5
    Views
    220

    It depends on the multiplexer and the ground...

    It depends on the multiplexer and the ground current peaks it generates during input switching or not. Normally, the logical GND of a multiplexer IC like a CD4051 would go to GND, while the reference...
  50. You might build a programmer around the MKL02/04...

    You might build a programmer around the MKL02/04 and an USB connector and plan to bring out just PTA0-3, 3V3, GND and Reset_B to a pin header of your PCBs.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4