Search results

  1. J

    W25Q128JVSIQ page program issue.

    Hi Paul. I have the flash chip connected to a STM32G474. I use the STM32CubeIDE to configure the SPI to run at mode 0, 2.6 MBits/sec. I use the HAL calls to transmit / receive data over SPI with the flash chip. I tried different speeds and observed no change to the data written to flash. I also...
  2. J

    W25Q128JVSIQ page program issue.

    Hello. I am using W25Q128JVSIQ for flash storage. I am curious if anyone has run into this or a similar issue with using the flash chip with standard SPI. 1: I can program page 0 up to 256 bytes without issues. 2: I can then program page 1 up to 255 bytes without issues. 3: If I program page 1...
  3. J

    Need help - Teensy 3.6 sine wave out SPI at a set frequency

    Does anyone have a suggestion on what mechanism to use to accomplish this on a Teensy 3.6? Send a predefined sine wave out SPI to a 4 channel DAC (AD5664R) at a set data rate (frequency). Each DAC channel takes 24 bits of data with an active low sync to store and update the DAC values...
  4. J

    Dynamixel Support (bioloid libraries) on Teensy processors...

    Thanks Kurt. The T3.5 indicates that "digital I/O are 5 volt tolerant". Does that imply that TX1 is 5V tolerant?
  5. J

    Dynamixel Support (bioloid libraries) on Teensy processors...

    Hardware question - is the servo (MX-28AT, TTL) data pin safe to connect to the TX1 pin on the T3.6? Or do you need a bi-directional lvl shifter?
  6. J

    string help

    Thanks for the help everyone. Was there something specific that was changed to make std::string not work from 1.35 to 1.39?
  7. J

    string help

    "String" is not part of the namespace std. I was able to use std::string in 1.35, just trying to understand what I need to do with the latest update.
  8. J

    string help

    Can you explain? Am I not able to use std::string?
  9. J

    string help

    I have a simple test program that uses two strings. But when I include the second string (world), the program fails to link. Can someone help me understand the issue? Thanks. Teensyduino, Version 1.39, Arduino 1.8.4. #include <string> using namespace std; void setup() { // put your...
  10. J

    PlatformIO IDE: The next generation IDE for IoT development

    Has anyone tried building code with build_flags = -std=c++11? I am getting the following errors. In file included from /Users/joe/.platformio/packages/framework-arduinoteensy/cores/teensy3/WProgram.h:37:0, from /Users/joe/.platformio/packages/framework-arduinoteensy/cores/teensy3/Arduino.h:1...
  11. J

    Teensy 3.x multithreading library first release

    I understand what you are saying. Thanks for the help.
  12. J

    Teensy 3.x multithreading library first release

    The threads are setup to allow future changes, for example the first thread pushes all the commands on to a vector while the second one takes the commands off of a vector to process. The two mutex used to be counting semaphores running in FreeRTOS for task syncs. Switching things over to...
  13. J

    Teensy 3.x multithreading library first release

    The main thread calls heartbeat after it starts the other two threads. void heartbeat() { pinMode(LED_PIN_INTERNAL, OUTPUT); while(true) { digitalWrite(LED_PIN_INTERNAL, LOW); threads.delay(500); digitalWrite(LED_PIN_INTERNAL, HIGH)...
  14. J

    Teensy 3.x multithreading library first release

    What is a good general approach to debugging the threads? I have 3 threads running. The main thread is just a heartbeat turning on and off the internal LED on the Teensy36. A thread that reads the serial port data and another thread that process the serial data. The read and process threads...
  15. J

    float to string issue

    Thanks blackketter. That seems to have resolved the issue with snprintf. Anyone have any idea on why the stringstream << float is failing?
  16. J

    float to string issue

    The first two values are %d and the last one is %f. Converting pi is where it fails. Sstream fails as well.
  17. J

    MacOs Sierra not recognizing Teensy 3.6

    I am running my Teensy 3.6 under OS X 10.12.2 and it is listed as "/dev/cu.usbmodem2430871". I am also using the USB C adapter as well. What do you see if you "ls -la /dev/cu*"? This is my output: crw-rw-rw- 1 root wheel 20, 1 Jan 13 11:00 /dev/cu.Bluetooth-Incoming-Port crw-rw-rw- 1...
  18. J

    float to string issue

    Just curious if anyone has come across this issue. I can't seem to convert a float to a string. My test code is below. I am running with PlatformIO with the latest updates. If I run the same code in Arduino IDE, it works fine. Trying to understand why it is failing in PlatformIO. Hardware...
  19. J

    Serial.println Float doesn't run

    I have used VxWorks in the past. It's licensing keeps it out of reach for our own projects. Do you have a recommended ChibiOS/RT build for the Teensy 3.6? Just started using the Teensy a few weeks ago. Looking for a RTOS to run on it.
  20. J

    Serial.println Float doesn't run

    Not sure if this helps but it looks like this task has a priority of 400. // create print task xTaskCreate(vPrintTask, "Task2", 200, NULL, 400, NULL);
  21. J

    Teensy36 FreeRTOS 8.2.3 (greiman/FreeRTOS-Arduino) SerialEvent not being called.

    Thank you Bill. Thanks for explaining the inner workings of the serialEvent call. I am new to this and was under the impression that the serialEvent was interrupt driven. I ended just moving the serial read and processing of the serial data in to a single task. Your FreeRTOS port is really...
  22. J

    Teensy36 FreeRTOS 8.2.3 (greiman/FreeRTOS-Arduino) SerialEvent not being called.

    I am currently running FreeRTOS 8.2.3 on a Teensy 3.6. I have two tasks running at priority idle + 1. The first task is a heartbeat that turns the LED off/on every 500ms. In serialEvent(), it calls a method to process the serial data and release a semaphore (counting). Another task is...
Back
Top