Comments (4)
I previously had the same issue with the mkrzero and the samd21 mini. However i didn't know that the compiled code of the sender was the bottleneck in my setup. I suspected it to be because on my mac it was possible to fetch data fast enough for my use case. Unfortunately the blocking caused a way larger performance penalty on the pi so that i was mislead and didn't even think about that the problem could lie in the senders code. After a long time of searching i could only see this assumption to be false and tada: https://forum.arduino.cc/index.php?topic=360286.msg2689347#msg2689347
Teensy compiles into non blocking calls on the usb.
I first ended up trying to solve this issue as described by @WestfW, but finally decided to just order new hardware which comes with the appropriate tools to compile more accurately to meet my requirements. This whole topic took me about 3w of my after work spare time to figure out. https://raspberrypi.stackexchange.com/questions/77081/data-transfer-of-uart-over-usb-too-slow
I will leave an answer on the Q&A pointing to this ;)
from arduino_boards.
The lack of UART buffering, and the poor performance of bulk data over a USB link are separate problems...
from arduino_boards.
Well ok, then i am sorry for pointing it out 😶 😅
from arduino_boards.
@WestfW Thanks for the heads up. I've updated the Arduino core in our samd variant to match what Arduino provides in their latest release (1.6.19).
(This update picked up a lot of unrelated improvements as well. It was about time.)
The fixes should be available in v1.5.0 of our SAMD package.
(Message received re: static tx/rx buffer sizes. We'll see what we can do.)
from arduino_boards.
Related Issues (20)
- Product Documentation HOT 2
- SAMD_21_Dev Variant.cpp RX led pin definition mistake
- Sparkfun nrf52 library missing HOT 2
- ESP-IDF Compatibility HOT 1
- Outdated Arduino cores
- LilyPad USB Plus - incorrect PWM definition
- Missing bootloader make configuration for Qwiic micro
- STM32 Cube Programmer (not found)
- RX_LED Doesn't Work
- Update arm-none-eabi-gcc for SAMD boards HOT 3
- Error downloading boards HOT 1
- SparkFun STM32 Boards Not Found HOT 7
- SoftwareSerial cause freezing on Pro Micro 3.3V 8MHz
- Duplicate flag in expression HOT 1
- 1.8.3 malformed SAMD custom board config breaks arduino-cli HOT 3
- SparkFun RedBoard Turbo: linker errors when using Serial HOT 6
- SAMD21: Increase UART buffer size to 256 bytes (from 64 bytes) HOT 1
- Remove Artemis-based boards from definition file HOT 1
- ESP32 - wish you would sync up to current Espressif ESP32 release HOT 1
- SparkFun_SAMD51_MicroMod not included in SDU library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_boards.