Flow control on Arduino USB serial link without an FTDI chip
i intend use arduino micro interface serial device bus acts intelligent mediator between computer , bus. various devices attached bus, therefore arduino employs collision detection - collision avoidance scheme before writes serial device bus. bus connected 2 io pins controlled modified softwareserial library. cdca scheme means pc must
(a) wait sending data until arduino sees free time slot on bus ,
(b) wait next command until last transmission has been processed , response 1 of bus devices has been received.
this no problem arduino on rs-232 connection rts/cts or on implementations separate ftdi chip has rts/cts pins (does chip translate signals on these pins xon/xoff flow control?).
but usb serial interface on arduinos usb controller part of microprocessor arduino micro 32u4? possible implement equivalent rts/cts flow control usb serial link, , how control signals?
the other alternative have serial usb interface pc external ftdi breakout board connected arduino serial interface tx/rx pins , add'l i/o pins designated rts/cts control pins.
(a) wait sending data until arduino sees free time slot on bus ,
(b) wait next command until last transmission has been processed , response 1 of bus devices has been received.
this no problem arduino on rs-232 connection rts/cts or on implementations separate ftdi chip has rts/cts pins (does chip translate signals on these pins xon/xoff flow control?).
but usb serial interface on arduinos usb controller part of microprocessor arduino micro 32u4? possible implement equivalent rts/cts flow control usb serial link, , how control signals?
the other alternative have serial usb interface pc external ftdi breakout board connected arduino serial interface tx/rx pins , add'l i/o pins designated rts/cts control pins.
i can't understand description of problem suggestion in final paragraph seems sensible.
why have several devices on same serial connection?
why not use mega 4 hardwareserial ports?
do devices need use serial connection - maybe use spi or i2c - both of can handle multiple slaves.
if need have several devices on 1 serial connection treating 1 device (perhaps arduino) master , arrange others keep quiet until receive suitable message arduino (conceptually similar xon / xoff different flavour each device.
can make pencil diagram showing parts of system , interconnections , post photo of it
...r
why have several devices on same serial connection?
why not use mega 4 hardwareserial ports?
do devices need use serial connection - maybe use spi or i2c - both of can handle multiple slaves.
if need have several devices on 1 serial connection treating 1 device (perhaps arduino) master , arrange others keep quiet until receive suitable message arduino (conceptually similar xon / xoff different flavour each device.
can make pencil diagram showing parts of system , interconnections , post photo of it
...r
Arduino Forum > Using Arduino > Interfacing w/ Software on the Computer > Flow control on Arduino USB serial link without an FTDI chip
arduino
Comments
Post a Comment