Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: LuisHS

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Connect 5v signals to the GPIO of a Teensy 3.6

    Hello

    I need to connect 5v signals to the inputs of Teensy 3.6, that are not 5v tolerant.

    So far I have used an HEF4050 in SOIC, but when trying the CD4050 version in TSSOP I have problems, I...
  2. Thanks Paul and Defragster. The source uses...

    Thanks Paul and Defragster.

    The source uses F_BUS to calculate a timer, and F_CPU to calculate the frequency of updating images on LED panels using the Startmatrix library.

    This is the part of...
  3. Teensy 4.0, F_BUS, F_BUS_ACTUAL, F_CPU, F_CPU_ACTUAL

    *

    Hello

    To port some sources that originally work in Teensy 3.6, some values, such as timers, are calculated based on the constants F_CPU and F_BUS.

    I see that in Teensy 4, there are no such...
  4. Thanks, I have install both libraries, but also...

    Thanks, I have install both libraries, but also fail to compile for Teensy 4.0

    C:\Users\xxx\Documents\Arduino\libraries\SdFat\src\SpiDriver\SdSpiTeensy3.cpp:23:21: fatal error: kinetis.h: No such...
  5. OK thanks. Where can I get those examples or...

    OK thanks.
    Where can I get those examples or ILI9341_t3n libraries for Teensy 4.0?

    I have opened the examples of the latest version of Teensyduino, and when compiling for Teensy 4.0, it gives me...
  6. Thanks. All the DMA sources for Teensy 3.6, are...

    Thanks.
    All the DMA sources for Teensy 3.6, are compatible with Teensy 4.0, SPI input and memory to GPIO ?

    Do you know some example sources for Teensy 4.0, with interrupts and timers? I tried to...
  7. ok, thanks ecurtz and manitou. There are two...

    ok, thanks ecurtz and manitou.

    There are two hardware versions, with RT1062 and RT1052?
    I installed the latest Beta2 Teensyduino for T4, and I ordered Teensy 4.0 from Antratek, this one seems...
  8. Teensy 4.0., DMA memory to peripheral (schematic)

    Hi.
    Is it possible to know which are the real ports of the RT1062 on the pins of Teensy 4.0?

    I think the board scheme is not yet available, I would also like to know when we can download.

    I...
  9. Replies
    3
    Views
    247

    Thanks paul Yes, it seems that F_BUS is used to...

    Thanks paul
    Yes, it seems that F_BUS is used to calculate the frequency of the timers. I have added a #define F_BUS F_BUS_ACTUAL to my sources and it no longer gives that compilation error, but I...
  10. Replies
    3
    Views
    247

    F_BUS for Teensy 4.0

    Hello again.

    I try to compile a Teensy 3.6 application for Teensy 4.0.
    I receive the compilation error "'F_BUS' was not declared in this scope".

    I have searched all the sources of the new...
  11. Replies
    2
    Views
    381

    ok, thanks mjs513, I will check.

    ok, thanks mjs513, I will check.
  12. Replies
    2
    Views
    381

    Teensy 4.0, SdFat, SpiDriver

    I'm trying to compile for Teensy 4, an application of Teensy 3.6.

    Everything seems to be going well, until this compilation error occurs, it seems to be related to SD cardholder and FAT library.
    ...
  13. Emulate three USB devices with one Teensy device

    *
    Hello.

    I need emulate three USB devices (Mouse, Keyboard, Xbox360 gamepad), with one Teensy board.

    I have modify the USB descriptors to add support to Xbox360, the code compile but only can...
  14. * Force feedback works perfectly with the...

    *
    Force feedback works perfectly with the Zachery Littell library. I tested and modified a lot of time ago for Teensy 3.2, first version was only for Teensy LC.

    Now I need mix, in one Teensy,...
  15. Replies
    1
    Views
    142

    * I solved alredy this question. I have...

    *

    I solved alredy this question.
    I have modify USB descriptors, to add Xbox360 game pad. My current problem is how to combine several HID USB devices (mouse and keyboard) with the Xbox360, to...
  16. Replies
    1
    Views
    142

    CDC vs Emu Serial port

    Hello.

    I am trying to create a USB combination, which allows me with a single device to have a Keyboard, Mouse, Xbox Control and the Serial port to make Debug.

    I've been looking at the source...
  17. Replies
    11
    Views
    899

    . With the optimization of the source code...

    .

    With the optimization of the source code that I made, plus the overclock to 168Mhz, it has improved a lot. Basically, I modified the program so that as soon as the interrupt occurs, the first...
  18. Replies
    11
    Views
    899

    . Okay thanks. Some time ago I measured with...

    .

    Okay thanks.
    Some time ago I measured with the logic analyzer, it was the clock frequency, 0.1us, 4.54 Mhz. It may be very fast for the Teensy 3.5 DMA.

    14562

    The data is continuous in...
  19. Replies
    11
    Views
    899

    . One more question. What is difference...

    .

    One more question.
    What is difference between attachInterruptVector and attachInterrupt ?

    For example in this source code, Im not sure that really need the last line, and if I can replace...
  20. Replies
    11
    Views
    899

    . There is an external trigger signal for an...

    .

    There is an external trigger signal for an interrupt that run a function where I do a memcpy to copy the DMA buffer to an array. I think it's here, when I do the memcpy, I lose some data, but...
  21. Replies
    11
    Views
    899

    I mean the library that is added with SPI.h. I...

    I mean the library that is added with SPI.h.

    I have already managed to optimize the source code, and it works much better, not 100%, but it has improved by 95%. Now I only lose some data from time...
  22. Replies
    11
    Views
    899

    OK, thanks for your reply. Do you know if DMA...

    OK, thanks for your reply.

    Do you know if DMA is affected by the overclock ?.
    I have a strange case that I do not understand.

    An application, the same source code compiled for a Teensy 3.6...
  23. Replies
    11
    Views
    899

    Teensy 3.5, overclock and SPI

    Hello.

    Teensy 3.5 overclock to 144Mhz or 168Mhz, can it affect the operation of SPI ?.

    I have problems, and I'm still not sure if it is because I have configure the clock to 144Mhz and 168Mhz....
  24. Replies
    242
    Views
    26,365

    I understand that you mean that the configuration...

    I understand that you mean that the configuration of boot can only be done once and can not be changed anymore?.

    I have the NXP evaluation board of the RT1050, and it has some microswitches, to be...
  25. Replies
    242
    Views
    26,365

    . Will there be any option to boot from SD...

    .

    Will there be any option to boot from SD (some jumpers/switches), or only from QSPI?
    I suppose there will be no hyperflash.

    About SPI, I would prefer that there were two available in the 24...
  26. Replies
    0
    Views
    411

    Wav sound player with SPI memory chip

    .

    Hi.

    I need to make a wav sound player by storing the files in an external SPI memory, the total size of the files is 18 Megabytes.

    Is there any SPI memory chip compatible with the audio...
  27. Replies
    183
    Views
    51,020

    . Any news about the future Teensy 4? Next...

    .

    Any news about the future Teensy 4?

    Next month, at the beginning of March, the new NXP i.MX RT1020 microcontroller, Cortex M7, 500 Mhz will be available. In March available to request...
  28. Replies
    183
    Views
    51,020

    Wow, this is fantastic, I had not read this...

    Wow, this is fantastic, I had not read this message and coincidentally a few days ago I was reading about the i.MX RT1020 on the NXP website, to use it in some of my new developments, it also seems...
  29. Replies
    5
    Views
    1,303

    . Ok, thanks KurtE. I'm going to modify all...

    .

    Ok, thanks KurtE.

    I'm going to modify all the SPI. to SPI2. in w5500.cpp and I'll verify it. I hope this works well, so that my application can work with SPI0 and SPI2, each for a different...
  30. Replies
    5
    Views
    1,303

    . I have edit the source w5500.cpp and it...

    .

    I have edit the source w5500.cpp and it seems that the access to the W5500 is fixed to SPI (SPI0) in the source, with no option to configure it externally to works by SPI2.

    For example in...
  31. Replies
    5
    Views
    1,303

    . Thanks KurtE. I have modify: ...

    .

    Thanks KurtE.


    I have modify:

    SPI.setMOSI(7);
    SPI.setMISO(8);
    SPI.setSCK(14);
  32. Replies
    5
    Views
    1,303

    Teensy 3.5 and SPI2

    .

    Hello

    Is it possible to use SPI2 with Teensy 3.5?
    I can not use SPI0 because it is connected to other hardware, and SPI1 is connected to the SD card (SDHC), so only SPI2 is free to use it...
  33. . I'm working with uTasker, its an open source...

    .

    I'm working with uTasker, its an open source and free encrypted bootloader that works perfectly with Kinetis MK64, MK66, so with Teensy 3.5 and 3.6, probably will works also with Teensy 3.2.
    ...
  34. Replies
    1
    Views
    464

    Two audio mono ouputs

    .

    Hello.

    Is it possible to do this, with a single SD card and the stereo DAC?

    11582

    playSdRaw1 and playSdRaw2 are really the same SD card. They are simply duplicates, in the schematic,...
  35. Thread: Sdio

    by LuisHS
    Replies
    2
    Views
    1,213

    OK, thanks. And do you know why fail by...

    OK, thanks.
    And do you know why fail by SdFatSdio ??, I have compile the original sketch without any modification, connect to Teensy 3.6 and only work with SdFatSdioEX.
  36. Thread: Sdio

    by LuisHS
    Replies
    2
    Views
    1,213

    Sdio

    Hello.

    I need add SDIO support to my development. I have download and install the SDFAT library and open the example TeensySdioDemo, compile and load to Teensy 3.6.

    Now I run, and select option...
  37. Replies
    7
    Views
    2,386

    . Thanks KurtE. I will check, and if its very...

    .
    Thanks KurtE.
    I will check, and if its very hard SPI Master-Slave, then I will modify my design to comunicate both MKL26 by UART.
  38. Replies
    7
    Views
    3,139

    Yes, I understand, I do not want load firmware...

    Yes, I understand, I do not want load firmware with the booloader, will load by SWD with Jlink.
    My doubt is if I must always to reserve 2K of flash, or do not need to do it if I do not need emulate...
  39. Replies
    7
    Views
    2,386

    Teensy like a SPI Slave

    Hello.

    It's possible config a Teensy LC device to work like a SPI Slave device ??.
    I need comunicate two Teensy LC devices by SPI, one Master and one Slave.

    I have look for SPI library for...
  40. Replies
    7
    Views
    3,139

    Ok, thanks Paul. Then I must keep always 2K...

    Ok, thanks Paul.
    Then I must keep always 2K reserved, if I replace MKL26Z64 by MKL26Z128 ?, it's to modify properly Linker Script to use 128K microcontroller instead of 64K. I'm not sure if replace...
  41. Replies
    7
    Views
    3,139

    Replace MKL26Z64 by MKL26Z128

    .

    Hello

    I have a source code for Teensy LC, so for MKL26Z64, but I want do my own board and replace MKL26Z64 by MKL26Z128, to increase flash memory from 64K to 128K.

    I understand that...
  42. Replies
    183
    Views
    51,020

    Suggest next Teensy with Cortex M7

    .

    I suggest next Teensy with a Cortex M7. Now I'm working with Atmel SAM S70, 300Mhz, 1Mb flash, and its really fantastic, cheaper than Kinetis MK66, practically half price. Also soon ST will...
  43. Replies
    4
    Views
    1,315

    . Thanks WMXZ, I will check.

    .

    Thanks WMXZ, I will check.
  44. Replies
    4
    Views
    1,315

    Thank you, I will check boards.txt and make file,...

    Thank you, I will check boards.txt and make file, seem good options.

    I tested already Slobber, but I do not like it, seem a full Eclipse modified, I prefer export Arduino sources to my own Eclipse...
  45. Replies
    4
    Views
    1,315

    Arduino to Eclipse (MCUXpresso or KDE)

    .

    Hello.

    I have a source code for Teensy, but I need add more source code and to do Debug. So I have think to export all to Eclipse to work with MCUXpresso or KDE.

    About Arduino, I only know...
  46. Replies
    0
    Views
    920

    Add external NAND Flash

    Hello:

    I need add an external NAND Flash to store data with fast access. I have check datasheet about MK64 and MK66, and these do not include NFC (Nand Flash Controller), though MK60, MK61 include...
  47. . Ok, thank you for your reply Pazi. If its...

    .

    Ok, thank you for your reply Pazi.

    If its possible mix two USB devices in same code, though one is not HID, then its good. I will do my tests and sure will work, I see some defines with IF...
  48. USB, two devices in one (HID Mouse + Xinput gamepad)

    Hello:

    I have compile, with some modifications to run in Teensy 3.2, Zack source code to emulate Xinput Xbox gamepad with rumble force feedback, and work fine.

    Now I need that same device may...
  49. Replies
    2
    Views
    1,244

    Thanks, I have solve already. This is to...

    Thanks, I have solve already.

    This is to emulate a Xbox 360 gamepad, so its not an HID USB device, but an Xinput USB device. I have add 3 lines to boards.txt file for USB Xinput Teensy 3.2, and...
  50. Replies
    2
    Views
    1,244

    Source code from TeensyLC to Teensy 3.2

    Hello everybody:

    I have a source code for a Teensy LC, but I want translate it to a Teensy 3.2. I do not have experience with Arduino, but for a long time I develop for PIC32 and ARM STM32...
Results 1 to 50 of 54
Page 1 of 2 1 2