I killed two Teensies (4.1) . So I ordered another 10. Hope I can receive them quickly.
I use digital pins to control max4533 to generate a signal that switching between +25V and -5V. Those In1 In2 In3 In4 are...
Trying to write to the flash, I had all kinds of instability issue. I finally have to relocate almost all the code to memory. The complication in my case is the use of FreeRTOS. It doesn't seem to recover properly after...
This is not a problem directly about Teensy. I searched and asked in NXP forum without getting a clear answer.
When in XIP mode, can processor like rt1064 write to the same flash chip itself? Some people say yes, as...
Paul,
I think you just pointed out the problem. I copied the code from https://www.pjrc.com/teensy/td_serial.html, and didn't notice the bytecount is defined as unsigned char, while the available byte counts can be...
Ok I think the problem is SerialUSB1.readBytes() itself. I am sending a big chunk of 32K bytes from pc. int handleDataTransfer(){
unsigned char bytecount = 0;
int rd=SerialUSB1.available();
if(...
This has exactly the same speed. It can't read too many bytes each time also. Is there source code available? I suspect internally SerialUSB1.readBytes calls SerialUSB1.read() many times in a loop.
int...
Is there any way to speed up the Serial.read()? From what I can see on the TESTPin, the while loop run 5 to 6 times each micro seconds. If we can find out how many bytes available, can we use a memcpy to get all the...
Following instruction from https://www.pjrc.com/teensy/td_serial.html, I use this code to read data from PC host:
unsigned char bytecount = 0;
while (SerialUSB1.available() && bytecount< 128) {
...