OMG.... UARTs, SPI, serial com and now HART. Have question about arduio com


ok... used arduino mega base board on 1 off job.  far, killer!  but, in life, curve ball.  need water tank temperature on remote arduino "pro micro" based tank transmitter set 3 wire transmitter.  soooooooo way "inject" temp data on analog output signal line analog current traveling on single wire. personal water system, not concerned meeting requirements 4-20 ma transmitter.

the main level data analog signal created dac.  temperature data needs hart means 0s , 1s travelling 2 superimposed frequencies on main analog current line.  done using ad5700 hart modem chip in conjunction ad5410 dac.

the dac interfaced at32u4 atmel processor using spi bus.  ad5700 hart chip has old school uart interface.  last time used it, had dedicated 16550 uart available.

in going on atmel spec sheet, find appears single usart chip built processor.

qustion #1:  usb controller on 32u4 utilize usart?

question #2: tx , rx lines on arduino "track" usb input/ouput or separate function allowing hook arduino dumb terminal in conjuction our ability use usb port loading , debugging use?

hart classic master slave protocol remains idle until master makes request slave.  amount of bandwidth small , implementation tiny subset of whole hart protocol.  master (aruduino mega) makes requests status every once in while , updates tank temperature data once in while.  if temp data updated every 5 minutes, more adequate.  usb connectivity tank transmitter updateing software , debugging use during development.

if usart on 32u4 in use dac (spi interface) , usb, may adding third com function usart, namely hart modem chip.  need reconfigure usart each , every time use these functions or there provisions within arduino serial lib allowing this?  strikes me odd spi interface other chips, example, need this.  adding dedicated uart hard in lieu of pin requirements this.

any assistance in understanding can , cannot built in usart appreciated.  thanks. dev

quote
qustion #1:  usb controller on 32u4 utilize usart?
no.

quote
question #2: tx , rx lines on arduino "track" usb input/ouput or separate function allowing hook arduino dumb terminal in conjuction our ability use usb port loading , debugging use?
if arduino atmega32u4 based: no.
all arduinos based on atmega328p or atmega2560: yes, because (first in 2560 case) uart connected coprocessor (atmega16u2) usb communication.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > OMG.... UARTs, SPI, serial com and now HART. Have question about arduio com


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts