-
-
Notifications
You must be signed in to change notification settings - Fork 725
Problems with the new Arduino Samd Board 1.8.10 (32bit ARM Cortex-M0+) Version #576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @CptHolzschnauz , |
Hello, Master of the Core! |
Ok, let's try to put together some info:
So it would be nice if you could test an example sketch for your display / GFX lib combination. Thanks |
Salute First i drew a bitmap on the display out of the progmem (With <Adafruit_GFX.h> and <Adafruit_ST7789.h>):The clock speed went down to around 88 kHz and the bitmap came in very slow motion (Line by line visible with the bare eye) After that, the sketch plays a sound to test the general behaviour with a heavy system load over I2S (with <AudioZero.h>): After that, the basic sketch (counting up and down without SPI or anything else) within the loop() works without any issues on normal execution speed. The clock went down to zero (f<10Hz). The same sketch compiled with 1.8.9: The SPI clock speed stays at around 416 kHz and everything works with high speed without any issues. |
Thanks for testing! With 88KHz do you mean the chip select pin or the actual SPI clock? Beacuse it should be in the order of magnitude of some MHz |
You're right...I measured these results at the SPI CLK pin. I'm in the office now so i can check this by tomorow. |
@CptHolzschnauz would you mind testing #579 ? 🙂 |
Fixes arduino#576 From https://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D21_DA1_Family_DataSheet_DS40001882F.pdf , Table 25-2 Syncronous mode (the one we are using) condition is fBAUD <= fref/2 . Since fref can be as high as F_CPU (48MHz) let's limit the possible fBAUD to F_CPU/2 .
I can confirm it solves the problem here! Thumbs UP! |
After upgrading to 1.8.10 the compiler cant't find #include <avr/pgmspace.h> anymore (File not found)
The whole controller was throttled down to maybe 5% of it's norma speed, everything was working like in super slow motion.
After including the pgmspace.h manually nothing changed, eveything in slow motion.
Then i downgraded to 1.8.9 and everything was back to normal...strange.
I can't give additonal infos, the compiler went trough normal.
The text was updated successfully, but these errors were encountered: