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

Search:

Type: Posts; User: cyrille

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I see... I do have a couple of PCb left that I...

    I see...

    I do have a couple of PCb left that I can send around if it helps...
    I am I Europe, so there is delay.. but at the moment, I am not using them...

    Cyrille
  2. Hello, I am impressed... It feels as if I...

    Hello,

    I am impressed...

    It feels as if I have brought a spark to a rocket stack which is now going full bore to orbit! you guys are just amazing!

    I was thinking, when it comes to wiring and...
  3. Hello, As far as I can tell, the CPU is...

    Hello,

    As far as I can tell, the CPU is crashed and the main loop is not running anymore.
    For a while I thought that the problem might be that I would stay in the camera IRQ, but I have put...
  4. Hello, As far as I can tell, the CPU is...

    Hello,

    As far as I can tell, the CPU is crashed and the main loop is not running anymore.
    For a while I thought that the problem might be that I would stay in the camera IRQ, but I have put...
  5. Hello, ok, I am asking because in my IRQ based...

    Hello,

    ok, I am asking because in my IRQ based version, I have the feeling that the camera IRQs are causing (sometimes) an issue with the screen IRQ (or something else)... and I have no clue what...
  6. Hello, Question, In this case, the...

    Hello,

    Question, In this case, the Camera.readFrame(pixels); is not under IRQ and does a direct read of the camera, isn't it?

    Cyrille
  7. Hello, Actually, I think that there is an...

    Hello,

    Actually, I think that there is an issue in my code.... But I have no clue where...

    The symptom is that when the camera is enabled (under IRQ), sometimes, after a while, things seems to...
  8. Hello, Yep, talking (or writing) one own's...

    Hello,

    Yep, talking (or writing) one own's thoughts can be weird in a forum:-) I have done it a lot of times... and then you are here: should I erase the post? so you remove the most embarrassing...
  9. Hello, The clock polarity is configurable on...

    Hello,

    The clock polarity is configurable on the camera.
    The base code I used is putting the polarity one way, but it can also be the other way around if needed... so it might be that the...
  10. Hello, Well, I finally received my PCB! Yeah!...

    Hello,

    Well, I finally received my PCB! Yeah! for less than $10, I got 5 PCB (minimum order) shipped to me in around 1.5 weeks...
    Thanks to easyeda.com and their sister company. I was able to...
  11. Hello, No need for magic! don't worry! I was...

    Hello,

    No need for magic! don't worry!
    I was not suggesting using the DMA to do the CS swap, more along the lines of program DMA for LCD output, Irq on end, swich CS, program DMA for touch read,...
  12. Hello, Yes, it the DMA could do the read, even...

    Hello,

    Yes, it the DMA could do the read, even if it has to read 16 bits when only 8 are useful would be a great improvements.
    Then at the end of each line, the SF could take this 16 bit line,...
  13. Hello, Yes, I was having some issues with the...

    Hello,

    Yes, I was having some issues with the Touch SPI.

    At the beginning, I was working with the LCD on async, continuous auto update.
    This means that I would have needed to integrate/build...
  14. Hello, I have posted my project code on...

    Hello,

    I have posted my project code on gitHub: https://github.com/Cyrille-de-Brebisson/arduViseur

    Of course, the code does much more than just handle the camera! but the camera code is...
  15. Replies
    1
    Views
    178

    Hello, looking at the ARM doc, I managed to...

    Hello,

    looking at the ARM doc, I managed to look at the MPU map for the Teensy 4.0 and found the bellow...

    does anyone know why there are 32 bytes at 0x2000f2c0 with a special setting?
    ...
  16. Replies
    4
    Views
    258

    Hello, Thanks for the info. Where do you...

    Hello,

    Thanks for the info.
    Where do you actually find that information? Is there a list of all the classes? or a "class explorer" of some type?

    Cyrille
  17. Replies
    4
    Views
    258

    Hello again. I got this code from an older...

    Hello again.

    I got this code from an older project on a different i.MX chip...
    I made some small changes, but it does not yet work (does not compile, as I am missing the CCM module defintions)......
  18. Replies
    1
    Views
    178

    D cache management on Teensy4.0

    Hello,

    Is there a way to declare a part of the RAM as non cacheable?
    My app has a large data set (500KB) in flash, marked as PROGMEM.

    At this point in time, I am assuming that access to that...
  19. Replies
    4
    Views
    258

    RTC on Teensy 4.x

    Hello,

    I was wondering if they was a RTC library for the Teensy4.x available?

    I would like to be able, at least, to set the time/date, and get them... and hope that it stays "counting" when not...
  20. Hello, Well, I moved the code under IRQ. At...

    Hello,

    Well, I moved the code under IRQ.
    At this point in time, I am using IRQ for each frame and each line.
    With this timing, I get around 16 frame IRQ per second, and since I limit myself to...
  21. Hello, By my timing, with the clock at 8Mhz...

    Hello,

    By my timing, with the clock at 8Mhz and the original settings, the pixel clock is at around 290 cycles.
    So, using pixel wise IRQ, the CPU would be running at around 50% IRQ time, 50%...
  22. Hello, Yes, I had always planned to do this. ...

    Hello,

    Yes, I had always planned to do this.

    My version is: Assuming that the inlining works well, it should be quick... a couple of instruction at most... as a mater of fact the delay in the...
  23. Hello, Thanks for that one... Too bad I am on...

    Hello,

    Thanks for that one...
    Too bad I am on a Teensy4.0 and not 4.1.

    The issue being that the 4.0 does not have the appropriate pins exposed.
    I originally thought about getting a 4.1, but...
  24. Hello, 6mm on a 1200 focal is 200zoom. It...

    Hello,

    6mm on a 1200 focal is 200zoom. It definitely is high. And šan be frustrating with a small field of few ep.
    I personally do not like motorized scopes. You end up doing astro looking at...
  25. Hello, Yes, I am, it's just that, well, it's...

    Hello,

    Yes, I am, it's just that, well, it's the workweek and I was... strangely enough... working! :-)

    Anyhow, I have purchased a cheap logic analyser... BUT it came without SW/drivers... so I...
  26. Hello, Well, at least your questionning...

    Hello,

    Well, at least your questionning allowed me to verify my defines... Since I have just ordered PCB from the "internet" with this wiering, I was anxiousl to be sure that it was correct!

    I...
  27. Hello, You seem to know/understand a lot about...

    Hello,

    You seem to know/understand a lot about the OV chip...

    As I stated above, I have little to no understanding of it. I was able to make it work mostly be copy and paste of various things...
  28. Hello, This has, in my opinion everything to...

    Hello,

    This has, in my opinion everything to do with bad measurements...

    I was using millis and micros to measure the times... BUT, since I had to stop the IRQ, these were incorrect...
    Once I...
  29. OK, I have done some more testing... I have...

    OK, I have done some more testing...
    I have instrumented the cameraSubRead function to measure the delay between 2 pixels being read, the time to read a line and the time to wait between a line and...
  30. Hello, About the pin order... I thought that...

    Hello,

    About the pin order...
    I thought that I did indeed order them according to the port order.
    Here is the info that I did have and why I choose them that way. But I might have mis-understood...
  31. > Sorry I have sort have been following this...

    > Sorry I have sort have been following this thread but not responding...
    No worries, but THANKS a LOT for your comments, AND the work on the screen library!

    >Again I wonder about things like:...
  32. Hello, OK, I will make 2 posts for 2 different...

    Hello,

    OK, I will make 2 posts for 2 different things...

    I did not understand that millis was generated solely by incrementing a variable on an irq.
    I usually implement my "now" methods by...
  33. Hello, Well, quite a lot here... First, the...

    Hello,
    Well, quite a lot here...

    First, the need for a fast and accurate timer.

    In one of the other i.MX based project I worked on, I setup a timer/clock to run at 100KhZ and was able to get...
  34. Hello, >I believe on the Teensy micros() does...

    Hello,

    >I believe on the Teensy micros() does not work properly from within an interrupt.
    Do you have any idea what equivalent function I could use? I need accuracy of around 1/10 of a ms...
    ...
  35. Problem trying to read OV7670 camera under IRQ Teensy 4.0

    Hello,

    I am trying to read the OV7670 camera frames under IRQ.
    The reason why I want to do it under IRQ is because frames can come as slow as 3fps, and I do not want to have to put a 1/3 of a...
  36. Hello, I did find the teensy4.0 pdf... and...

    Hello,

    I did find the teensy4.0 pdf... and unfortunately, not all the pins are available for camera HW assist :-(

    It seems that it would be possible with the teensy4.1... Hallas, they are not...
  37. Connecting OV7670 to Teensy 4.0 using HW assist

    Hello,

    Has anyone used the HW assist from the NXP chip to get data from a OV7670 ? Willing to share source code?

    Where can I find the NXP to teensy pin connection so that I can find which pins...
  38. Thread: Teensy 4.0 SPI

    by cyrille
    Replies
    2
    Views
    301

    Hello, I wanted to know if they was some...

    Hello,

    I wanted to know if they was some existing, SPI library that I could use to do a large buffer write or read, or both, through a SPI port in an anynchronous way (ie, "order the write" and...
  39. Thread: Teensy 4.0 SPI

    by cyrille
    Replies
    2
    Views
    301

    Teensy 4.0 SPI

    Hello,

    Is there a special library to use the 4 teensy 4 SPI channels?
    Is this library able to do async SPI transfert?

    Thanks,
    Cyrille
  40. Replies
    10
    Views
    393

    hello, Sorry about that.. I erased the...

    hello,

    Sorry about that.. I erased the previous question as I found the answer (and feel dumb about it!)...

    Bus since there was an answer, I will put it back here:

    The problem was a...
  41. Replies
    10
    Views
    393

    Hello, Yep, perfect, thanks... I had not seen...

    Hello,

    Yep, perfect, thanks... I had not seen the options in preferences...

    I have one last off topic question:

    Cyrille
  42. Replies
    10
    Views
    393

    Hello, Exactly the info I was missing!!! THANK...

    Hello,

    Exactly the info I was missing!!! THANK YOU!!!

    Another question, is there a ARDUINO define or anything like that that would allow me to know that I am being compiled for arduino as my...
  43. Replies
    10
    Views
    393

    Hello, I understand the memory structure and...

    Hello,

    I understand the memory structure and all of that...

    My problem is one of syntax or I should say compiler error...
    my code:
    static TStar const stars[] PROGMEM ={...};
    yields this...
  44. Replies
    10
    Views
    393

    Hello, Well, I kind of knew all of that......

    Hello,

    Well, I kind of knew all of that...
    What I do not seem to know is the syntax.

    I have tried
    static TStar const stars[] PROGMEM ={...};
    and
    static PROGMEM TStar const stars[] ={...};
  45. Replies
    10
    Views
    393

    issues on program with large dataset

    Hello,

    I am working on a program that has around 600KB worth of const data.
    These are variables defined as static VarType const var[]={...}; with a whole bunch of const data in them.

    When...
  46. Hello, This is honestly something that I have...

    Hello,

    This is honestly something that I have never thought of!

    Anyhow, first, this would mean that I would put in doubt the quality work done by high level Chineese manufacturing.
    It would...
  47. Hello, No problem, it is a module that I got...

    Hello,

    No problem, it is a module that I got from aliexpress:
    https://fr.aliexpress.com/item/33040270372.html?spm=a2g0s.9042311.0.0.4d836c37psGsuk

    Could the speed issue be due to the long...
  48. Hello, Yes, sorry, I should have been more...

    Hello,

    Yes, sorry, I should have been more descriptive, I apologize.
    Blank screen is what I am getting...

    But, the good news is that I seem to have found the issue. SPI Clock speed. I dropped...
  49. Hello, After some issues with my board...

    Hello,

    After some issues with my board (teensy4.0) (I fired it I guess and had to replace it)... I am back in business trying to implement my project, but I am having issues.

    I am trying to use...
  50. well, I was unable to revive the board. So I had...

    well, I was unable to revive the board. So I had to get another one. There, I was able to solder the headers and make it work.
Results 1 to 50 of 55
Page 1 of 2 1 2