Comments (7)
@gianmarcov the problem is not the non implementation (because it gets inherited by Print.write() so it executes the slow byte-by-byte write) but the return value of putc()
.
A patch is coming ๐
from arduinocore-nrf528x-mbedos.
Hello,
I think i found the Problem:
ArduinoCore-nRF528x-mbedos/cores/arduino/Serial.cpp
Lines 76 to 81 in a89067f
I call in my library Serial.write(buf, len) and i saw it's not implemented, so now if i write every single byte via for loop it works.
please implement Serial.write(buf, len) or write in the documentation that is not implemented yet, i spend 2 days and a lot of time searching the cause in my lib.
from arduinocore-nrf528x-mbedos.
@gianmarcov can you give a spin to #21 and report if it work for you? Thanks!
from arduinocore-nrf528x-mbedos.
@facchinm when i'm home, i will test the changes and report back. grazie mille!
from arduinocore-nrf528x-mbedos.
@facchinm bad news, replaced in the Version 1.1.2 the Serial.ccp and Serial.h with yours, but it doesnยดt works.
from arduinocore-nrf528x-mbedos.
@gianmarcov sorry to hear that. Do you have access to an oscilloscope to check what is going on? From my tests all bytes are being sent (after the patch) and calling write()
is blocking as per Arduino API specifications, so it should work just as every other core
from arduinocore-nrf528x-mbedos.
@facchinm yesterday i attached my Rigol Oszilloskope and decoded de TX Pin, i have the same result using for-loop write and write(buffer, len). So the patch is working right, the bytes are identical.
The Issue is resolved ;-)
from arduinocore-nrf528x-mbedos.
Related Issues (20)
- Bug in 1.1.6 release: using namespace mbed clash on Serial definition HOT 2
- clockCyclesPerMicrosecond, clockCyclesToMicroseconds(a), microsecondsToClockCycles(a) missing from Arduino.h HOT 3
- It is possible to change the data rate of the arduino nano 33 ble? HOT 1
- I2C scanner with repeated start isn't working for Arduino Nano 33 BLE HOT 2
- TFLite Model failed after upgrade to 1.3.0
- OTA functionality?
- digitalWrite 0 from D0 and D1 on Nano 33 BLE Sense doesn't work. Pins are always high HOT 2
- Servo position read returns wrong value for Nano 33 BLE Sense HOT 1
- nRF52840 doesn't start after power-cycle when flashed over SWD using ST-Link v2 HOT 1
- Internal RTC {Enhanced Functionality} HOT 1
- Serial communication between ATMega 32U4 and Arduino nano 33 Iot HOT 2
- Mbed OS threading primitives not available to Arduino nano 33 IoT HOT 1
- mbed os configuration HOT 2
- Problem with Wire when rebuilding mbed os HOT 4
- Patch errors using the beta core HOT 4
- Error Uploading latest edition of Nano 33 BLE HOT 3
- Nano BLE boards arent getting detected on USB 3.0
- Build mbed HOT 2
- Pin definitions are swapped HOT 1
- Use of KvStore after 1.1.4 don't work HOT 3
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 arduinocore-nrf528x-mbedos.