09-26-2017, 12:51 AM
(09-25-2017, 05:30 AM)ClaudiaF Wrote:(09-24-2017, 11:47 PM)tllim Wrote: The ROCK64 UART required 1.5Mb speed, not sure whether your Arduino Uno UART chip able to operate under such speed.
Hello tllim,
thank you for your answer, very much appreciated.
The arduino IDE specifies a maximum of 2Mb baud and if I set this value and within code initializing
serial.begin(1500000), I do get results showing in the builtin monitor console.
I already found out, that I have to disable the avr chip in order to make this work but my biggest concern
is the different voltage. If I measure arduino tx/rx pins I do see 5V and on rock64 only 3.3V.
On different sites it is mentioned that it MAY work but I can't find one which states that it was tested
and it works.
I'm unsure if it is enough to put an resistor between arduino tx / rock64 tx and arduino rx / rock64 rx.
Cheers
Claudia
Theoretically a 1K resistor in-line will work; but don't do it.
Always use a level shifter; there are several good ones on the market ( very tiny ) from places like Sparkfun ; or you can make your own with an LM319 open collector comparator.
words of warning: never touch 5v to any gpio pin of the PineA64+ or the Rock64 , nor the Padi Stamp... or you'll get magic blue smoke and the board(s) will be toast.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )