Search results

  1. M

    itoa, utoa, and otehr errors performing makefile Teensly-LC build

    Hi Support, Forum Users and anyone patient enough to read this message! I got my new Teensy LC units Friday (Super Quick!!! Thanks).. Was up on the updated Arduino platform is less time than it took to download.. Slick. In order to use them in my environment I'd like to use the stand-alone...
  2. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    In my opinion, It is completely about what you are trying to do and how you want your application to scale. In a single threaded 'SuperLoop' style application the simple timing and rapid coding are great for simple things.. As soon as you have multiple independent operations being taken care...
  3. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    Hi Mevon, Two commands to the reset handler to enable and light a LED, I used the onboard Teensy LED as you resolve issues just move it down. I just moved the LED-ON as my debugging tool until I got into my tasks. There is a call to the delay() function at the end of the reset code that will...
  4. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    The recipe I followed replaced entries 11, 14 and 15 in the vector table. Below is a snippet of mk20dx128.c where some of my defines are shown... fault_isr, // 9 -- fault_isr, // 10 -- #ifdef TEENSY_USE_FREERTOS vPortSVCHandler, // 11 ARM: Supervisor call (SVCall) #else...
  5. M

    ChibiOS/RTand FreeRTOS for Teensy 3.0

    FreeRTOS on Teensy3.1 Using the blog I was able to get FreeRTOS running on my Teensy3.1. (http://rishifranklin.blogspot.com/2014/03/freertos-on-teensy-31.html) The only additional nugget is that once you disable the 1KHz tick in mk20dx128.c you can no longer call delay(). The delay at the end...
  6. M

    Teensy 3 halting debug enabled by default?!

    +1+1+1 for debugger support...
  7. M

    Weird digitaiRead() behavior in the SPI part of my project..

    Correct Bit Bang Transfer.. #ifdef BANG_SPI char spiBangTransfer(char SPIDataOut) { unsigned char SPICount; // Counter used to clock out the data unsigned char SPIDataIn = 0; digitalWrite(BSCK,LOW); for (SPICount = 0; SPICount < 8...
  8. M

    Weird digitaiRead() behavior in the SPI part of my project..

    I've made some headway... I've found a defect in my SPI bit-banging code and found that the SPI library code will run well at 1 MHz... The isolation chip is definitely forcing the slow SPI clock.. Stay tuned...
  9. M

    Weird digitaiRead() behavior in the SPI part of my project..

    Yeah, it's off to the left of the photo but I'd expect the isolation chip not to work at all if I missed that one... If you look at the analyzer trace the SPI signals correctly make it across the isolation barrier and back just delayed a tad,, By the time the clock rises, all is good.. If I...
  10. M

    Weird digitaiRead() behavior in the SPI part of my project..

    Hi Folks; I'm sure I'm doing something simple wrong but am getting incorrect data in my attempt to read data back from an SPI slave. The data is showing correctly on the logic analyzer but received wrong in the Arduino program. In the attached code I did not believe that my serial output...
Back
Top