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

Search:

Type: Posts; User: Tady

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    106

    Thank you for a fast reply. I also have a...

    Thank you for a fast reply.
    I also have a 3.6...
    Hmm how about two shields and one DAC?
  2. Replies
    2
    Views
    106

    Teensy 4.0 quad output question

    Hello
    Before I dive in to buying two audio shields I would like ti know if it is possible to get two inputs and five outputs.
    I know that quad outputs are possible but I would need one more.
    I...
  3. Replies
    24
    Views
    681

    How about this: ULone =...

    How about this:


    ULone = (((data[0]&0xf)<<16)| data[1])/(pow(10,((~(data[0]>>8)&0xf)+0b01)));
  4. Replies
    24
    Views
    681

    ULone =...

    ULone = ((data[0]<<8)|data[1])/(pow(10,((uint16_t)(~(data[0]>>8)+0b01))));

    Should this be the correct calculation.. I didn't test it

    I think that the calculation inmy previous post works...
  5. Replies
    24
    Views
    681

    Currently I am using this method : ULone =...

    Currently I am using this method :


    ULone = data[1]/(pow(10,(((uint16_t)(~data[0]+0b01))/256)));

    and if

    data[0] = 65024
    data[1] = 4616
  6. Replies
    24
    Views
    681

    Sorry not right now. I need to re-program the...

    Sorry not right now. I need to re-program the microcontroller but I assembled it inside the analyzer :(
  7. Replies
    24
    Views
    681

    @defragster I will try your method in the morning...

    @defragster I will try your method in the morning so I can see and learn. But I did a quick test with nerofun's post and it works perfectly. I don't know why this method is used (i didn't com across...
  8. Replies
    24
    Views
    681

    It's an Iskra MC666 netwok analyzer. I couldn't...

    It's an Iskra MC666 netwok analyzer. I couldn't ind any data regarding the modbus communication. They do provide windows software for configuration anl live data view. Nothing more. I sniffed the bus...
  9. Replies
    24
    Views
    681

    @neurofun I think you are right! 2's...

    @neurofun I think you are right!

    2's complement of 65024 is 512 and if I divide by 256 i get 2
    2's complement od 65280 is 256 and if I divide by 256 i get 1

    How can I calculate the 2's...
  10. Replies
    24
    Views
    681

    Hmmm.. I will try unon in the morning but i think...

    Hmmm.. I will try unon in the morning but i think it will not work.
    I did some digging and I think I asked the qustion wrong.

    I don't get two bytes but I get two Ints.
    And I don't know how the...
  11. Replies
    24
    Views
    681

    Two bytes to floating point number

    Hello

    I have a nework analyzer that uses modbus communication. Now I have a problem reading the measured value.

    It seems the meter is using two 16bit bytes for each value.
    Currently I'm...
  12. Replies
    12
    Views
    208

    I will try with T3.2 i think it will be great. I...

    I will try with T3.2 i think it will be great. I bouth a 4.0 and I still don't know what to use this beast for🤣 except blik a LED :D
  13. Replies
    12
    Views
    208

    Thank you! Didn't know that F_BUS returns the...

    Thank you! Didn't know that F_BUS returns the value :) but as Paul said the Library is limited to 36 if I understand correctly. I did some calculations and I think I need abou 170ns resolution. But...
  14. Replies
    12
    Views
    208

    How much if F_BUS on Teensy 3.2 overclocked to...

    How much if F_BUS on Teensy 3.2 overclocked to 120MHz?
  15. Replies
    12
    Views
    208

    Ufff thank you so much.. I missed that part of...

    Ufff thank you so much.. I missed that part of the description!

    Thank you!!
  16. Replies
    12
    Views
    208

    Teensy 3.x library for tick timer?

    Hello.

    I am looking in to how to use the timers on Teensy 3.x to specify ticks instead of microseconds (IntervalRimer).
    I need to port some AVR code that uses compare match but it needs to go...
  17. Replies
    2
    Views
    337

    I fixed it! After some digging I noticed that...

    I fixed it!
    After some digging I noticed that my setup was incomplete.. I was only assigning the mac and IP... I needed to assign gateway, subnet and DNS... So the teensy can access the outside...
  18. Replies
    2
    Views
    337

    Teensy 3.6 + wiz820io NTP example problem

    Hello everyone!

    I'm havingsome problems with the NTP example. If I use the provided example everything works fine. The sketch sends a UDP request to the time server and I get a correct response.
    ...
  19. Replies
    24
    Views
    8,523

    Hello! I have a question. I would like to use...

    Hello!
    I have a question. I would like to use your code for generating a sinewave for a resolver excitation. Is there any way that I could implement a interrupt that would fire when for example the...
  20. Replies
    426
    Views
    86,743

    Wow now thats what I call a reply! Thank you so...

    Wow now thats what I call a reply! Thank you so much it works:)
  21. Replies
    426
    Views
    86,743

    Hello! Can I just ask a noob question? I'm...

    Hello!

    Can I just ask a noob question?

    I'm using the multithreading library for a small project. I'm runnig the accelstepper library in one thread and I'm passing the position data from another...
  22. Replies
    51
    Views
    31,160

    @btmcmahan may I ask why is this part of the code...

    @btmcmahan may I ask why is this part of the code written like this:

    void T3SPI::rxtx16(volatile uint16_t *dataIN, volatile uint16_t *dataOUT, int length){
    dataIN[dataPointer] = SPI0_POPR;...
  23. Replies
    20
    Views
    3,695

    What are those boards doing? Nice shields:)...

    What are those boards doing? Nice shields:) yeah... It would work only one way... But the teensy is returning actual position data... Rpi sends wanted position data and the teensy returns actual...
  24. Replies
    20
    Views
    3,695

    Man I really love you explanation but...

    Man I really love you explanation but unfortunately i don' know what to do with the info :) i was reading some other threads and someone was explaning that there was a bug in the silicone... To me...
  25. Replies
    20
    Views
    3,695

    Hi I have tried multiple examples.... This...

    Hi

    I have tried multiple examples....
    This code is from a user here one the forum named WMXZ and i had no luck with this one.. Alot of garbage if i tried copying the recieve buffer to another...
  26. Replies
    20
    Views
    3,695

    Lower clock speeds improved the operation but...

    Lower clock speeds improved the operation but even at 1MHz i had problems... can you give me an example for 8 bitDMA slave? I need it to recieve and send back ... data is 8bits and 20bytes long, if...
  27. Replies
    20
    Views
    3,695

    How do you mean entirely? I use the 8bit rxTx...

    How do you mean entirely? I use the 8bit rxTx example.... I was looking at the source and to me it seems that interrupt is driven by the clock pulse. When the interrupt fires the ISR reads the popr...
  28. Replies
    20
    Views
    3,695

    I'm already using this library. It works.. But...

    I'm already using this library. It works.. But its loosing sync.. Sometimes it works for half an hour sometimes more sometimes less... And always fails if i restart the teensy or RPI... It looks like...
  29. Replies
    20
    Views
    3,695

    Do you maybe have an example sketch for slave...

    Do you maybe have an example sketch for slave mode 8bit read/write?
    I'm trying to communicate with an raspberry pi and i got a library from one of the members of this forum but the comm is not...
  30. Replies
    23
    Views
    5,517

    How do I set for 8bit mode?

    How do I set for 8bit mode?
  31. Replies
    23
    Views
    5,517

    I will take a look at the kinetis file. About...

    I will take a look at the kinetis file.

    About the word ordering... I did some more digging i inserted a white space after every Serial print (don't know why i didn't do that in the start) and i...
  32. Replies
    23
    Views
    5,517

    Do you know where can I find info on all of these...

    Do you know where can I find info on all of these commands ?
    SPI_CTAR_FMSZ(15),DMA_TCD0_NBYTES_MLNO=2;,.... (and others) I'm really a beginner at these things :))))
  33. Replies
    23
    Views
    5,517

    I was reading some forums and it seems they are...

    I was reading some forums and it seems they are both little endian...
    I will try you changes and see what happens....
    The raspberry sends 64bytes/transfer and the data is 32bit. The rpi sends...
  34. Replies
    23
    Views
    5,517

    How do I setup for 16bit mode?

    How do I setup for 16bit mode?
  35. Replies
    20
    Views
    3,695

    Did you manage to get the program working with...

    Did you manage to get the program working with 32bit write/reads?
  36. Replies
    23
    Views
    5,517

    Is it possible to modify your program to recieve...

    Is it possible to modify your program to recieve in 32bit. I tried using your program and i get the data without problems but the data is seperated into 4 positions inside the array. And the array...
  37. Replies
    23
    Views
    5,517

    Fixed it :) it seems there was a change in...

    Fixed it :) it seems there was a change in teensyduino core files.. instead of
    SPI0. i replaced them with
    KINETISK_SPI0.


    #define NDAT 8

    int m_isMaster=0;
    short xx[NDAT],yy[NDAT];
  38. Replies
    23
    Views
    5,517

    The code you posted doesn't compile :/ ...

    The code you posted doesn't compile :/

    sketch_nov09a:37: error: 'SPI0' was not declared in this scope
    SPI0.MCR = //SPI_MCR_MDIS | // module disable

    ^

    'SPI0' was not declared in...
  39. Replies
    23
    Views
    5,517

    Actually I'm not the author of the program :) the...

    Actually I'm not the author of the program :) the program is called Machinekit and someone has made a plugin that sends position and button commands via SPI to a PIC. All fitmware is available on...
  40. Replies
    23
    Views
    5,517

    So bringing an old thread to life:) I was...

    So bringing an old thread to life:) I was wondering if this example works with T3.5/3.6?
    I have a raspberry pi with a program that sends data to the SPI. So now I'm in need of a Teensy slave and I...
  41. Replies
    124
    Views
    77,025

    I love teensys also:)) but I buy them when...

    I love teensys also:)) but I buy them when needed:))))
  42. Replies
    124
    Views
    77,025

    Man this must have been expensive :) I managed to...

    Man this must have been expensive :) I managed to get Marlin working with T3.6 and built in SD card...
  43. Replies
    6
    Views
    1,508

    Sorry.. I looked at the library. It even has a...

    Sorry.. I looked at the library. It even has a nice example on exactley what I need:)
    Thank you:)
  44. Replies
    6
    Views
    1,508

    How fast is the read of the two ADCs. Did anyone...

    How fast is the read of the two ADCs. Did anyone measured the time it takes to complete the read?
  45. Replies
    6
    Views
    1,508

    Woww thank you! It seems I missed that! Thank you...

    Woww thank you! It seems I missed that! Thank you so much:) I will try it out:)
  46. Replies
    6
    Views
    1,508

    T 3.6 reading two analog inputs simultaneously

    Hello!
    Is it possible to read two or more analog inputs at the same time?
    I was looking around the forum and googling and I can't find anything:/
    Thank you
  47. Replies
    4
    Views
    614

    Yes I know :) not a big problem:)

    Yes I know :) not a big problem:)
  48. Replies
    4
    Views
    614

    Thank you for your reply:) I managed to go...

    Thank you for your reply:)
    I managed to go around this problem by entering new entries to boards.txt and usb_dev.h
  49. Replies
    11
    Views
    1,317

    Wow! I'm from europe and I buy my teensys from...

    Wow! I'm from europe and I buy my teensys from Diigiit robotics. Every single board was working perfectly. And yes i saw all have an orange led :)
  50. Replies
    4
    Views
    614

    Extracting the joystick library

    Hello!

    I have a question on how to extract the Joystick library.
    I'm working on a code that has multiple combinations and I would like to display different names based on different #defines in my...
Results 1 to 50 of 90
Page 1 of 2 1 2