Software > Software

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

(1/2) > >>

yarshevich:
What are USART settings for Axon Mote (channel 0) to operate properly with on-board FT232R USB bridge?
  - character size (looks like 8 bit is used)
  - parity bit mode (even or odd, if supported at all),
  - baud rate,
  - etc.
Does FT232R operates in synchronous or asynchronous mode with Axon Mote?
Does FT232R wired to support duplex transmission with Axon Mote?

We are trying to program UART "manually", e.g. we do not use WebBotLib in our project. So we need a setup configuration for on-boar USART port 0, that is connected to the USB bridge.

If no information available, will have to dig into WebBotLib generated project to get default working settings. However knowing all the supported options would be very helpful.

PS: Could someone please add this information to the Axon Mote datasheet page?
PPS: Datasheet link to Atmel website is also outdated. New one is http://www.atmel.com/devices/atmega128rfa1.aspx?tab=documents

Admin:
The answers to all your questions are in the reference links:
http://www.societyofrobots.com/axon_mote/axon_mote_datasheet.shtml#references


--- Quote ---What are USART settings for Axon Mote (channel 0) to operate properly with on-board FT232R USB bridge?
  - character size (looks like 8 bit is used)
  - parity bit mode (even or odd, if supported at all),
  - baud rate,
  - etc.
--- End quote ---

If you are manually programming it, it can be whatever you program it to be. :P

If using WebbotLib: character size is 8, no parity, 1 stop bit, and hardware flow control.


--- Quote ---Does FT232R operates in synchronous or asynchronous mode with Axon Mote?
Does FT232R wired to support duplex transmission with Axon Mote?
--- End quote ---

asynchronous; it's based on the USB standard



--- Quote ---PPS: Datasheet link to Atmel website is also outdated. New one is http://www.atmel.com/devices/atmega128rfa1.aspx?tab=documents
--- End quote ---

thanks, I'll update it

yarshevich:
Thank you for the update!


--- Quote ---If you are manually programming it, it can be whatever you program it to be. :P

--- End quote ---

Form the documentation for FT232R it does not recognize baud rate and other settings automatically (how could it do?), instead those settings for UART are programmed in chip's EPROM. but I double check it.

Admin:
You don't need to worry about the FT232R. Whatever baud rate you send data to it from your computer USB, it will spit out TTL data at that same baud rate to the Axon Mote.

And vice versa.

Webbot:

--- Quote ---If using WebbotLib: character size is 8, no parity, 1 stop bit, and hardware flow control.

--- End quote ---

There is no flow control

Navigation

[0] Message Index

[#] Next page

Go to full version