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

Search:

Type: Posts; User: MartyBrown

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    956

    I'm using MSC2, alle the examples are working. ...

    I'm using MSC2, alle the examples are working.

    But i don't know how to read a specific file and store the read data in an char-array

    The config.dat file is an ascii file with only a few...
  2. Replies
    12
    Views
    956

    Hello @wwatson! First of all: thanks for this...

    Hello @wwatson! First of all: thanks for this great library!

    I've got one question: how can i read a specific file (let's say: confic.dat in root-dir) and store it in a simple string?
  3. Yes of course! I'm trying to post a version...

    Yes of course!

    I'm trying to post a version with english comments the next few days!
  4. Replies
    24
    Views
    3,586

    @giorgos Look at this:...

    @giorgos

    Look at this: https://forum.pjrc.com/threads/59254-SPI-Slave-Mode-on-Teensy-4?highlight=spi+slave+teensy
  5. [CASE SOLVED] I simply overclocked the ADC...

    [CASE SOLVED]

    I simply overclocked the ADC with the ipg_clock (150Mhz)
    => Divider (ADIV = 2) gives me 37,5Mhz @ which I'm getting exacly the result the datasheet claims!

    BUT: It can be...
  6. Solved: ADCs on Teensy 4.0 are way too fast?!

    Hello together!

    I have a question regarding the maximum ADC Speed of the teensy 4.0. According to the datasheet of the IMXRT1060 the minimal total conversion time is ~750nS,
    but with the code...
  7. Replies
    12
    Views
    1,196

    A implementation in the SPI-Lib would be pretty...

    A implementation in the SPI-Lib would be pretty nice i think.. For other users too :) I'm pretty sure my code can be improved too
  8. Replies
    12
    Views
    1,196

    For anyone who's interested: this is my polished...

    For anyone who's interested: this is my polished version of the code.
    (Sets up T4 in SPI Slave Mode and receives 16Bit Values with DMA)


    #include <DMAChannel.h>
    #include <SPI.h>
    #define...
  9. Replies
    12
    Views
    1,196

    So it turns out that the code above is working...

    So it turns out that the code above is working now!

    Thank you again very much @KurtE
  10. Replies
    12
    Views
    1,196

    This is the current Slave Code: #include...

    This is the current Slave Code:


    #include <DMAChannel.h>
    #include <SPI.h>
    #define PRREG(x) Serial.print(#x" 0x"); Serial.println(x, BIN) //Serial.println(x,BIN)
    #define SAMPLES 2


    DMAMEM...
  11. Replies
    12
    Views
    1,196

    Actually that's not right I'm getting values, but...

    Actually that's not right I'm getting values, but much lower ones than the send values... For example I sent the uint16_t val = 200 and received 34. Strange!
  12. Replies
    12
    Views
    1,196

    Thank you for your help I'm getting Interrupts...

    Thank you for your help I'm getting Interrupts now! :) But I'm reading always Zero at the moment?!





    #include <DMAChannel.h>
    #include <SPI.h>
    #define PRREG(x) Serial.print(#x" 0x");...
  13. Replies
    12
    Views
    1,196

    Thank you very very much for your answer! :) I am...

    Thank you very very much for your answer! :) I am also trying to read through the datasheet section of the lpspi again. but as you can clearly see i'm no expert at all
  14. Replies
    12
    Views
    1,196

    SPI Slave Mode on Teensy 4?

    Hi!
    I'm trying to establish a spi connection between a teensy 3.6 as master and a teensy 4 as a slave. I only would like to receive 16Bit of Data on the Teensy 4 side.
    Below is my Code on the...
  15. Replies
    1
    Views
    746

    Hi! Look at this:...

    Hi!

    Look at this: https://forum.pjrc.com/threads/59169-Using-FlexPWM-on-Teensy-4-0-for-Interleaved-PWM-Signals-with-deadtime-in-between
    Perhaps you find it helpful
  16. I got It working thanks to the PWM.c file in the...

    I got It working thanks to the PWM.c file in the teensy 4 core. Two interleaved PWM signals are now beeing generated with flexible duty cycle and frequency and both signals obviously centered.
    ...
  17. Using FlexPWM on Teensy 4.0 for Interleaved PWM Signals with deadtime in between...

    Hello :)

    for a project I need to generate two interleaved pwm signals with a deadtime of 2uS in between.
    The frequency and duty cycle have to be adjustable at any moment.
    the frequency's max...
Results 1 to 17 of 17