Software > Software

Axon Mote to USB bridge (FT232R) - ATmega USART channel 0 setup

<< < (2/2)

Admin:
oops, typo! thanks for catching that  ::)



--- Quote from: Webbot on February 21, 2013, 09:45:14 PM ---
--- Quote ---If using WebbotLib: character size is 8, no parity, 1 stop bit, and hardware flow control.

--- End quote ---

There is no flow control

--- End quote ---

yarshevich:
Well, baud rate 9600 didn't work with FT232R  :(.

At the same time USART 1 works fine with this rate (loop-back test, etc).

After reverse engineering some sample code from tutorials I found rate value 230400. And at least with this rate some data is coming through the FT232R to virtual COM on Win7 PC. :)

yarshevich:
Quick update.. 9600 is fine too.

Was an overflow error in baud rate register value calculation (8-bit MCU has it's limits too ;))

Navigation

[0] Message Index

[*] Previous page

Go to full version