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...
Type: Posts; User: MartyBrown
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...
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?
Yes of course!
I'm trying to post a version with english comments the next few days!
@giorgos
Look at this: https://forum.pjrc.com/threads/59254-SPI-Slave-Mode-on-Teensy-4?highlight=spi+slave+teensy
[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...
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...
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
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...
So it turns out that the code above is working now!
Thank you again very much @KurtE
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...
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!
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");...
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
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...
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
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.
...
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...