Search results

  1. Denis Bélières

    Electrical questions

    Yes, thanks. Things are clear now with replies I had on this other thread. I dropped my idea of 3V3. I will use the 3V3 as output power to some peripherals, just low frequency CMOS circuits. The greatest current was for an OLED display, but it can be powered on +5 will still accepting 3V logic...
  2. Denis Bélières

    Problem in Teensy 4.1

    Thanks for explanations. Maybe for another project I will turn to MicroMod, but now for the current one it is too late to change. I just changed my 3v3 regulator for a 5V one, and took 3V3 from Teensy to power some peripheral (current is Ok). All this is just a gadget for fun (animated snake...
  3. Denis Bélières

    Problem in Teensy 4.1

    I do not intend to develop anything except gadgets in my garage ... That's far enough for my old white-haired dome ...
  4. Denis Bélières

    Problem in Teensy 4.1

    Many thanks for these enlightening explanations. I saw in IMXRT manual that power up sequence was somewhat complicated, and thought that there was adequate things on the board, I did not try to analyse things further as you do there. Maybe the connexion of some VBAT supply is the simplest...
  5. Denis Bélières

    Electrical questions

    No replies ... Six monthes after, I asked the same question in this thread, and then got replies ...
  6. Denis Bélières

    Problem in Teensy 4.1

    Do I need SNVS ? I am not concerned with Real Time Clock, protections, keys, security ... And diode D2 routes +3V3 to VDD_SNVS_IN.
  7. Denis Bélières

    Problem in Teensy 4.1

    Yes indeed, without 5V the internal USB drivers won't work. But the data sheet (not reference manual) says that the VBUS pins can be left not connected when not used. So the chip can be powered with 3V3 and other lower voltages derived from 3V3, and +5V supplied by USB connector only when in use...
  8. Denis Bélières

    Problem in Teensy 4.1

    But I do not want to have two power supplies ; one 5 V for teensy, and one 3V3 for peripherals which do not withstand 5 V... It is far simpler if my whole logic system is powered with only one supply ! I have yet an unregulated +18V from a lithium battery to a step motor, then a first step down...
  9. Denis Bélières

    Problem in Teensy 4.1

    Some time ago, I put on the forum another question wich did not received any answer. If the board is powered by an external 3v3 source, with the above connexion opened, what happens when the power is off while a computer is connected to the USB port, there maybe some voltage on the two USB input...
  10. Denis Bélières

    IMXRT1060 Up to date documentation

    I uploaded the file here : https://www.dropbox.com/scl/fi/45ska2k2eeg4vnzl1lkgk/IMXRT1060RM-rev4_annotations.pdf?rlkey=japjdwhltmwjzjv3g114azk4j&st=gsc30l16&dl=0. Have a nice day ...
  11. Denis Bélières

    IMXRT1060 Up to date documentation

    So Paul, I send you a link by e-mail ? I suppose i cannot attach a 25 Mo file here ?
  12. Denis Bélières

    IMXRT1060 Up to date documentation

    NXP's documentation "IMXRT1060 Processor Reference Manual Rev 3 07/2021" annotated by Paul Stoffregen to give information relative to Teensy boards is available on PJRC Site : https://www.pjrc.com/teensy/IMXRT1060RM_rev3_annotations.pdf. But a new edition Rev 4 01/2026 is available on NXP site...
  13. Denis Bélières

    Electrical questions

    Just to be sure ... I provide a common external +3.3V supply to my teensy 4.0 board and to others components of my system because total current is to high for the small on board regulator U4=TLV7533. So probably it is better to open the small strap connecting VUSB and +5V VIN, thus...
  14. Denis Bélières

    Problem with I2S on teensy 4.0

    "&&" is larger than "&". Should apply to large things (several bits) and "&" to small things (logical = boolean = 1 bit only). The mistake cannot be done in fortran or basic ...
  15. Denis Bélières

    Problem with I2S on teensy 4.0

    Wow, that is the "so big that I can't see it" error ... Many thanks for this boost in my project. I am ashamed of this beginer's error, I have to change my glasses !
  16. Denis Bélières

    Problem with I2S on teensy 4.0

    Here are my two files with verbose comments ... /********************************** * * * Simplest I2S audio output test * * * * Board Teensy 4.0 * * - Output TX P2 * * - Output SYNC P3...
  17. Denis Bélières

    Problem with I2S on teensy 4.0

    When FIFO Request FLAG status bit (FRF = bit 16) in I2S2_TCSR register is set, writing data in I2S2_TDR0 register does not reset this flag, whatever be the watermark written in I2S2_TCR1. But signals on 3 outputs BCLK, SYNC and TxData are consistent. So I made some error in my code so big that I...
  18. Denis Bélières

    Problem with I2S on teensy 4.0

    Hello geeks ... I try to understand how I2S works, and I wrote a very simple program to see an I2S output signal on an oscilloscope. I spent a lot of time reading reference manual "IMXRT1060RM_rev3_annotations.pdf" (I cannot put it under my pillow), and I pruned differents libraries (Paul's...
  19. Denis Bélières

    I2S/SAI (1) and (2) in T4 cores

    Floj you wrote: "It's actually referred to twice in the same section of the manual and both sections are jibberish.". I do not know the english word jibbberish, but it is sureley at least that ... This morning, I posted a question on NXP forum about that !
  20. Denis Bélières

    Basic I2S Input Example for T4.x

    Thank you very much. I am a beginner with teensy 4 and spend my time trying to understand all these things, comparing the PJRC audio library with GhostNodeAudio's one (https://github.com/GhostNoteAudio/Teensy4i2s). Your model is another light on all this stuff. I note the corrected comment...
  21. Denis Bélières

    Help I2S!

    Thanks, Paul, for your guidance. I have found, at last what I was looking for. I2S hardware is configured in AudioOutputI2S2::config_i2s() wich is called by AudioInputI2S2::begin ... So, even if I do not uses any audio output, "#include "output_i2s2.h" is somewhere necessary. And now (2 hours...
  22. Denis Bélières

    Help I2S!

    What I guess is that 44100 Hz frequency is not set by software. Registers of the "CLOCK CONTROL MODULE" have default values after hardware reset, wich may correspond to 44100. So that fonction "set_audioClock(...)" in "imxrt_hw.h" library has to be called only to change this frequency. Am I True...
  23. Denis Bélières

    Using rev D audio board as simple DAC with variable sampling rate

    Hello. Interesting "snippet". But how to use it ? What is a "snippet" ? Should I modify the imrxt_hw.cpp file ? Or write another file with only set_AudioClock function, or full file ?
  24. Denis Bélières

    Using Carbon Microphone with Teensy 4.0

    Biased with a DC voltage with a serial resistor, add a capacitor to cut the "high voltage" DC component ... Signal voltage will approximatively be proportional to DC bias. Huge distorsion, dependent of DC voltage and bias resistor. Ask Gaham Bell ...
  25. Denis Bélières

    Help I2S!

    Thanks, now I located it. It is so difficult to find libraries in arduino system (with Windows), in subdirectories in subdirectories in subdirectories (for me :C:\Users\denib\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4). Better than to know "how to do", I want to...
  26. Denis Bélières

    Help I2S!

    Help me too with I2S. As Daniel, I need very few things of audio library, just an I2S input from a monophonic microphone. I will probably modify the interrupt routine to my needs and pass entered data to the main program with some "dataa available" flag, avoiding multiple copies of data from a...
  27. Denis Bélières

    digitalWrite doesn't work after analogWrite on the same pin

    I hate this "analogWrite" function. The output is pulsed digital. It is not the output of some digital to analog converter. Pulsed output can be filtered with some analog electronic to produce close to DC output, wich lowers response time. It easier to filter when frequency is high. Besides...
  28. Denis Bélières

    Assembly

    65 or 78. We all fit in 8 bits !
  29. Denis Bélières

    Assembly

    I read somewhere : "What is an engineer ? A guy able to spend a full week-end to fix an old 5 $ radio". I am 76.
  30. Denis Bélières

    Assembly

    64 bits floating point, indeed.
  31. Denis Bélières

    Assembly

    Steve, it is not an intrusion... I appreciate your comments, following Paul's ones... Ok, I surrender and will program with C++ ! Real time Fast fourrier transform (8192 points after windowing and "zero padding" four times per second) for continuous high precision frequency audio analysis.
  32. Denis Bélières

    Assembly

    Thanks for that prompt answer. I have been writing in assembly language for more than 50 years, on antique computers (starting with french CII 10010 and Univac 1108) and microprocessors (starting with Motorola 6800). And also in Basic, turbo-pascal and Labview on PC computers with DOS and...
  33. Denis Bélières

    Assembly

    Are there others tools than arduino to program a Teensy board ? Arduino GCC compiler produces an executable code which is far from beeing optimised. What is the way to use GNU AS assembler configured,for ARM cortex M7 ?
Back
Top