Latest activity

  • wwatson
    @mjs513 @KurtE - Did @KurtE's PR and applied changes to local TeensyRA8876Combined repo. Will go through all examples/testcases and if ok I'll push up the changes. Need a nap first...
  • P
    Powersoft replied to the thread Using of SdFat.
    Thaks, that was wrong from my side, It is working now.
  • A
    I'm wondering if anything in my code could be messing with the I2C bus since that's the only thing I can think of that would mess up the display. It's very unpredictable though, the steps to reproduce that I had found previously don't seem to be...
  • mjs513
    mjs513 reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    Nice work. Tested here on DB5. Works just like in 8bit mode. I will update the TeensyRA8876Combined repo...
  • wwatson
    Nice work. Tested here on DB5. Works just like in 8bit mode. I will update the TeensyRA8876Combined repo...
  • A
    I have a 5V TTL signal coming in through a 10k/18k voltage divider with an 820pf cap to GND to convert it to a 3.3V signal being read by FreqMeasureMulti, but with the cap in place it occasionally glitches and reads 2x, 1.33x, or I *think* 4x the...
  • L
    Lytrix replied to the thread TDM with AK4619.
    Hi Fellow AK4619 coders! Great to find this post! Hopefully we can work together on this. Last week I got a passthrough working on 24bit 192khz using a Teensy 4.1 TDM Audio setup by using an existing ESP32 codec AK4619 library which I modified...
  • A
    The same issue occurs in all 3 input modes, but I can only reliably reproduce it in ANALOG mode. In a previous version I had it set up so that frequency updates occurred based on the same elapsedMillis system as everything else and still had the...
  • defragster
    That's great news:D
  • N
    SPICE models for the Teensy4 ADC Input @MarkT - this addresses the points you raised, I hope. The last figure I think might explain why that sampling cap is only 2pf, besides that it is only 12 bits. The Teensy3.2 had 10pf for 16 bit mode...
  • B
    Using the built-in SD card slot will work much better than one on the audio adaptor - it maxes out at over 20MB/s for single file reads, but you should probably expect ~10MB/s if playing multiple samples. That's enough to stream 16 mono files...
  • mjs513
    Quick update. Just pushed a quick fix for drawPixel - works now for 16/8bit on a T41. void RA8876_common::drawPixel(ru16 x, ru16 y, ru16 color) { graphicMode(true); setPixelCursor(x, y); ramAccessPrepare(); if(_bus_width == 16) {...
  • N
    Nantonos reacted to PaulStoffregen's post in the thread ornament & crime beta testing with Like Like.
    Quick followup, O_C T4.1 is now in beta testing. Here's a photo of one of the beta test units being calibrated. Full open source release is likely soon, of course depending on feedback from beta testers in the coming days. But so far...
  • wwatson
    wwatson reacted to mjs513's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @wwatson - @KurtE Just synched with the latest changes to the branch and incorporated my changes (they still work). Pushed the changes as well. Did fix one spot that was missed when converting BUS_WIDTH to _bus_width.
  • mjs513
    @wwatson - @KurtE Just synched with the latest changes to the branch and incorporated my changes (they still work). Pushed the changes as well. Did fix one spot that was missed when converting BUS_WIDTH to _bus_width.
  • J
    joepasquariello replied to the thread Using of SdFat.
    You are printing an error message even if sd.begin() succeeds, so maybe it is actually working if (!sd.begin(SD_CONFIG)) Serial.println("Error mounting sdcard"); else Serial.println("Error mounting sdcard"); // <---- this should be...
  • J
    The analog mode is too complex for me to understand or debug visually. If your sketch works with inputMode IN1 or IN2, but not ANALOG, I would start by disabling the IntervalTimer so that frequency updates cannot occur during the display update.
  • h4yn0nnym0u5e
    Using the built-in SD card slot will work much better than one on the audio adaptor - it maxes out at over 20MB/s for single file reads, but you should probably expect ~10MB/s if playing multiple samples. That's enough to stream 16 mono files...
  • P
    Powersoft replied to the thread Using of SdFat.
    I have no clou how to atach the sd card. Use this code but sd card is not mounted. SdFat32 sd; // for FAT16/FAT32 File32 file; File32 file_RW; #define SD_CONFIG SdioConfig(FIFO_SDIO) //#define SD_CONFIG SdSpiConfig(SD_CS_PIN, SHARED_SPI...
  • mjs513
    Ok just got back from errands and chores, basically new function added: RA8876_t41_p.cpp =================== ru16 RA8876_t41_p::lcdDataRead16(bool finalize) { uint16_t dummy __attribute__((unused)) = 0; uint16_t data = 0; while...
  • A
    Hi, sorry I took so long, here's some code: #include <FreqMeasureMulti.h> #include <SPI.h> #include <SD.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define W 6 // Single character width #define H 8...
  • J
    Good advice here from Andy and Paul. I have a couple of recommendations on good programming practices that go back to the very early days. One is a paper titled Structured Design, by Stevens, Myers, and Constantine. This is a classic paper cited...
  • O
    orac replied to the thread Need some advice on a voice changer.
    That is where I started. I have done a little experimenting with the vader voice changer code adn found that simply adjusting the granular set speed and delay before going into the first mixer gets me close.
  • B
    I'm streaming samples over SD card, sorry for not making that clear. When using the teensy 4.1, I tried both available SD card slots with the same results. I'm using a 32 GB Kingston canvas select plus.
  • P
    just a blind guess, are you streaming the samples from the SD Card or from something else ?
  • PaulStoffregen
    Each author may have specific reasons, but often #ifdef in Arduino libraries is used for code that is specific to certain hardware. Where the library is meant to work on more than 1 board will often have small piece of code which differ...
  • KurtE
    KurtE reacted to mjs513's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @watson and @KurtE got it fixed for 16bit. Have to clean up code and the will post it>
  • B
    Long time lurker, first time poster. I want to begin by thanking everyone for the hard work that went into this variable playback library. There are MANY people that benefit from this library whether they post here or not. I've experienced...
  • wwatson
    That's great news:D
  • wwatson
    wwatson reacted to mjs513's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @watson and @KurtE got it fixed for 16bit. Have to clean up code and the will post it>
  • mjs513
    @watson and @KurtE got it fixed for 16bit. Have to clean up code and the will post it>
    • 1721058447167.png
  • wwatson
    wwatson reacted to mjs513's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    Think we might need a lcdDataRead16. Playing around readPixel and lcddataread. Notice anything interesting TFT Width: 600, Height: 1024 ROTATION: 1 lcdDataread(): Dummy 0xe007, data 0x1f00 lcdDataread(): Dummy 0x0000, data 0x1f00 Rect Color...
  • mjs513
    Think we might need a lcdDataRead16. Playing around readPixel and lcddataread. Notice anything interesting TFT Width: 600, Height: 1024 ROTATION: 1 lcdDataread(): Dummy 0xe007, data 0x1f00 lcdDataread(): Dummy 0x0000, data 0x1f00 Rect Color...
  • J
    jdredd replied to the thread 2.4" LCD Guidance.
    Any recommendation on 24pin breakout cables? As for the screen itself, really don't see any markings on it. Just the ribbon cable itself.
    • 55849f05-aa21-4973-a484-fd2fe7e45c80.jpg
  • A
    It's to do with how the c compiler and linker work. The #ifndef .... pattern in headers is so that if a header is included in the same .cpp file twice (say once directly and once indirectly because another included header also includes it) then...
  • wwatson
    wwatson reacted to mjs513's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @KurtE and @wwatson Just hooked up to a T41 and this is what I am seeing with the combined_t4x_wip branch. Now to try and catch up you all.
  • luni
    ... or, if you don't like std::function / std::bind you can simply use a lambda: void timeit(void(*f)()) { elapsedMillis time; f(); printf("took %d\n", (unsigned)time); } void g1(){ delay(120); } void g2(int x){ delay(x); }...
  • luni
    You can also use std::function and std::bind to achieve this without macros: #include <functional> void timeit(std::function<void()> f) { elapsedMillis time; f(); printf("took %d\n", (unsigned)time); } void g1(){ delay(120); }...
  • mjs513
    With the first rotations I am reading and comparing the read pixel for each of the four rotatons and they match what you see: ROTATION: 0 Rect Color: 0x1f, Pixel Color: 0x1f Circle Color: 0x7e0, Pixel Color: 0x7e0 Hit Enter to continue TFT...
  • KurtE
    @mjs513 - looks the same as I showed above... Note: I hacked up the read function: ru8 RA8876_t41_p::lcdDataRead(bool finalize) { uint16_t dummy __attribute__((unused)) = 0; uint16_t data = 0; while (WR_IRQTransferDone == false) {...
  • mjs513
    @KurtE and @wwatson Just hooked up to a T41 and this is what I am seeing with the combined_t4x_wip branch. Now to try and catch up you all.
    • 1721049086153.png
  • wwatson
    @KurtE - Got the same results here with T40_WIP as above and also with RA8876p_readPixels. Colors seem shifted. This was on the DB5 in 16bit mode. I also tested memoryTransfer sketch and it works in 8/16bit modes...
  • KurtE
    KurtE reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @KurtE - Here is the my working version of bteMpuWriteWithROPData16(): void RA8876_t41_p::bteMpuWriteWithROPData16(ru32 s1_addr, ru16 s1_image_width, ru16 s1_x, ru16 s1_y, ru32 des_addr, ru16 des_image_width...
  • KurtE
    Right now using T4.1... Was trying to eliminate as many unknown variables as possible... Here is 16 bit mode, in my test output coe... The parts I circled in Orange show where readRect and writeRect colors don't match... The stuff circled in...
    • 1721046637723.png
  • wwatson
    @KurtE - Here is the my working version of bteMpuWriteWithROPData16(): void RA8876_t41_p::bteMpuWriteWithROPData16(ru32 s1_addr, ru16 s1_image_width, ru16 s1_x, ru16 s1_y, ru32 des_addr, ru16 des_image_width...
  • mjs513
    mjs513 reacted to KurtE's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    Update I see the issue with the code above. I was trying different things earlier, Was not sure if maybe bytes reversed, I commented out one of the lines, but not the one above, so the code was missing every other pixel, and walked off deep end...
  • G
    I don’t think I’ve really understood the function of headers. If I’m understanding what you’re saying I’m now wondering why I see #ifndef,#define,#endif stuff around arduino headers. The benefit of enforcing only one instance of the class is to...
  • KurtE
    Update I see the issue with the code above. I was trying different things earlier, Was not sure if maybe bytes reversed, I commented out one of the lines, but not the one above, so the code was missing every other pixel, and walked off deep end...
  • mjs513
    Why not - I know we did a lot of rearranging and work on getting things to work in 8bit mode and SPI.
  • KurtE
    Good question, I think this was done out of the cherry pick branch, not sure if we missed any later changes in the branch I froked from In my T40_WIP I already moved it... Just trying to get 16 bit mode working in it.... But could do PR of what...
Back
Top