Search results

  1. T

    VirtualWire Speed

    Some calculated wire lenghts for different frequencies. I use them with RFM12B and RFM69W modules quite successful: 433 MHz: 16.5cm 868 MHz: 8.2cm 915 MHz: 7.8cm Just cut a wire this length and attach it so it goes straight up like an ....hmm... antenna ;-)
  2. T

    Teensyduino 1.12 Released

    Thanks Peter, I like your solution and will give it a try.
  3. T

    Teensyduino 1.12 Released

    Beta12 actually broke the SPI transfers I'm doing in the RFM12B driver. Something changed here. My code has the same issue with release 1.12. Beta10 works. This is how I do SPI: SPI0_CTAR0 = 0xF8010000; // 16bit transfers @16MHz digitalWriteFast(10, LOW); SPI0_PUSHR = (1<<26) |...
  4. T

    Ethernet for Teensy3

    I will as soon as I receive the PCBs. Currently time is an issue too but I'll come back to this.
  5. T

    Timer interrupt, or other way to read SPI consistently on Teensy3.0?

    It's working! Thank you Mauricio for your support. I had quite some problems but it looks like some stuff changed… I added this in my setup() to enable Timer1 (no longer using Timer2!) // Teensy 3.0 version SIM_SCGC6 |= SIM_SCGC6_PIT; // Activates the clock for PIT // Turn on PIT...
  6. T

    Timer interrupt, or other way to read SPI consistently on Teensy3.0?

    Thank you Mauricio So you changed this line inside mk20dx128.c? void pit2_isr(void) __attribute__ ((weak, alias("unused_isr"))); Sorry to bother you again but I don't get it… For me it looks like everything is here already. Could you post your mk20dx128.c here? Thomas
  7. T

    Timer interrupt, or other way to read SPI consistently on Teensy3.0?

    Hi, could please someone give me some more hints about how to use this in the Arduino IDE? I've added these code snippets to my Sketch but it won't work. Do I have to change something else? Also, what unit is the period written to PIT_LDVAL2? Is it counting every clock tick? Thanks! Thomas
  8. T

    Ethernet for Teensy3

    I ordered some PCBs yesterday to build a RFM12B wireless to Ethernet bridge. There is also a 3.3V regulator included as I'm clearly above the 100mA. The board is 5x5cm but I love your idea to put the wiz820io on top of the Teensy. Maybe an idea for rev 2 but first I'll have to locate a...
  9. T

    Ethernet for Teensy3

    Sorry to bring back this old topic but if you're looking for something more embedded, check out these beautiful modules: http://www.wiznet.co.kr/WIZ820io
  10. T

    Any chance to get 500mA from USB?

    Still one more question… I cut this small conenction to split Vin from Vusb and attached an external regulator to get more current on 3.3V. Now how do I correctly power the Teensy3? Vin is currently no longer connected and I feed the 3.3V in using pin '3.3V (100mA max)' next to Pin 23. It works...
  11. T

    Any chance to get 500mA from USB?

    It's hard to tell… I found this interesting link here: http://www.ladyada.net/make/mintyboost/icharge.html . Looks like it's possible for chargers to tell the device how much power it's able to provide. btw... Specifications allow up to 5Amps! My first breadboard test setup happily takes about...
  12. T

    Any chance to get 500mA from USB?

    Chapter 41 is an interesting read but is it worth the trouble? Looks like I'm trying to do more than needed and I should go back a step or two. As I only connect to a PC for debugging purposes I'll most likely just ignore this bMaxPower and always use what I need (~300mA) . If this fails I know...
  13. T

    Anyone working on a WIZ820io (WIZnet W5200) library for T3

    Ok, I took it the easy (or was this one called the "hard") way. I just took the Arduino Ethernet library and rewrote it for the W5200 commands. Just download T3Libs to your Arduino/Sketches/Libraries folder and have fun. I added a few examples a few minutes ago. It's not polished but works...
  14. T

    Any chance to get 500mA from USB?

    A normal USB port supplies 100mA @5V but I need more. Most ports happily give 500mA but to do it right you have to inform the USB host first. My device (a RFM12B Wireless to Ethernet Bridge) should be able to operate from the following power sources: * USB when connected to a computer (mostly...
  15. T

    teensy 3 MAC address

    Thank you cmason. It works well for me. I removed the C++ stuff and made a small Ardiono Sketch (see attachment).
  16. T

    Anyone working on a WIZ820io (WIZnet W5200) library for T3

    Hi, What's the current state? Is there a library somewhere or someone working on it? Merry X-Mas everyone!
  17. T

    CRC algorithm

    Using the hardware CRC unit is quite easy as soon as you've enable the CRC clock and use the correct data types in the CRC macros. I'm the one who asked the question in the already referenced forum and also the writer of the RFM12B library. For me reveng was very helpful too. It helps to...
  18. T

    T3 - Multiple SPI?

    There's more (as always...) CLK/DIN/DOUT are fixed as they are driven by hardware. But the CS pin is not time critical so you could use digitalWrite([port], LOW) to select a device and HIGH to deselect it (CS is active LOW). On these nice little Teensy 3.0 cards there is actually a second SPI...
  19. T

    embedXcode: Teensy 3.0 on Xcode

    Thank you Avenue 33! The Arduino IDE works great for very small stuff but is IMHO completely useless on bigger projects. Looking forward to play around using embedXcode.
Back
Top