Search results

  1. S

    ChibiOS/RT RTOS for Teensy 4.0.

    Hi Bill, I'm using a Teensy version 3.5 and the ChRt library (current release). In my project, I also use the SDFat library (SdFat-beta). I have noticed that in this last library the millis() and delay() function are used: /** \return the time in milliseconds. */ inline SdMillis_t...
  2. S

    Unable to wake Teensy LC using Snooze

    Hi, The data: Teensy v3.5 Snooze library v6.3.8 When the processor is hibernating, it does not wake up using a digital pin. From a STM32 board I signal pin 21 of the teensy so that it wakes up but it is not working. The code in the Teensy is: SnoozeDigital snooze_digital; SnoozeBlock...
  3. S

    Problem with Snooze library - USB Program mode

    Hi duff, I am a beginner user. In my project, after hibernating I need to perform a reset. To do this, I execute the following: static void hibernate(void) { // Get the module that woke processor int who = Snooze.hibernate( config_teensy35 ); if (who == SNOOZE_DIGITAL_PIN_SELECTED) {...
  4. S

    Teensy v3.5, USB serial, transferring data between PC and teensy: problem in writing.

    Hi, I'm sorry, I had a glitch in the code on the PC side. Thanks for the help.
  5. S

    Teensy v3.5, USB serial, transferring data between PC and teensy: problem in writing.

    The problem I am observing is that I need to carriage out two write operations in a row for the PC to receive the information. I have the following cable: TTL-232R-5V I'm not sure, the teensy works at 3.3V. Can I use that cable with the serial port 1? Update: Using that cable I have the same...
  6. S

    Teensy v3.5, USB serial, transferring data between PC and teensy: problem in writing.

    Hi, My laptop is connected to Teensy v.3.5 through the only USB port it has. This is the cable: https://www.pjrc.com/store/cable_usb_micro_b.html I've written a small application that does an echo: The PC writes a text that the Teensy must read and send back to the PC. I open the port as...
  7. S

    Teensyv3.5, Serial3, write a black diamond with a white question mark

    Hi, I have studied your comments. I added this code before I opened the port: uint8_t txen_pin = 8; pinMode(txen_pin, INPUT_PULLUP); digitalWrite(txen_pin, HIGH); With this change, my application is working. I don't have to send two commands in a row. Thanks for the help.
  8. S

    Teensyv3.5, Serial3, write a black diamond with a white question mark

    Hi, I added the delay but the problem persisted. Before I send the command I run: Serial3.flush(). However, I have checked that if I send two "reset" commands one after the other, the sensor responds: the first time, the error occurs but the second time it works. Would applying the 10k...
  9. S

    Teensyv3.5, Serial3, write a black diamond with a white question mark

    Hi, I'm a newbie. I'm using a Teensy version 3.5. Through the serial port 3 (Serial3), I'm trying to create a communication with a sensor. The sensor receives commands via messages in ASCII code and sends data using the ASCII code as well. I checked that the serial port connection is created...
Back
Top