Hi,
I am new to davinci concepts.
i have got dm6437, i am intended to connect it with ARM 7, to control the external applications like robots .
which connection mode would suits better, i2c or uart ?
pls help me !!!
Thanks,
Nethaji.D
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Not sure how much througput a robot application requires. I do not think it is much and probably both interface can be used.
From s/w complexity perspective, I think both are easy to program but probably, UART might be the simplest of the two.
You will need to figure out your throughput requirment (among other system related care abouts) and go from there. As far as throughput is concerened (this would also be dependent upon your programming values) you can start from the data sheet by checking the timing.
Best regards, Zegeye
I have read in one of user manual that,
as per connection of I2c, the evm would act as master, so that it would read the information from slave device.
but with uart, the dvm would be slave, so it would feed the master when required.
in my application, the DVM would capture video and based on that, the robot should be performed.
So i prefer, UART !!!!!!!!!!!!!!!!
Is it fine ?
Thanks,
Nethaji.D
hi,
the above statement has been mentioned in Using the TMS320DM643x Bootloader user guide !!!!
" with UART (DSP as slave), no flow control
with UART (DSP as slave), with flow control
with I2C (DSP as master)
When booting in master mode, the boot loader reads the boot information from the slave device as and
when required. When booting in slave mode, the boot loader depends on the master device to feed the
boot information as and when required. "
So uart is better, right ?
Hi,
UART is the easier of the two. Btw, the I2C can be configured as both Master and Slave. The Master/Slave role assignment is purely s/w. Just in case.
I spoke with some people and both peripherals should have enough bandwidth for robatic control type of actions.
Best regards, Zegeye
hello sir,
U have given something new to me .
Pls, can u give some details regarding about I2C as both Master and Slave , how ? pls sir.
How come u say, UART is better of two ?
As u mentioned about both peripherals should have enough bandwidth , does that mean wat ?
Pls !!!!!!!!!!!!
Thanks,
Nethaji.D
Hello sir,
As concerned with bandwidth, i searched for that term, but every where its been mentioned that , both the peripherals has got enough bandwidth.
But none has not mentioned about its value for video transfer !!!!!!!!!
bandwidth means that baud rate of each peripherals ?
pls help me !!!!!!!!!!!!
Hi,
The I2C controller can be configured to assume the role of a master or a slave. That is what I meant.
When I say that the UART is better, I meant to say interms of programming complexity. I was not referring functional properties like bandwidth etc.
Regardless of which peripheral you decide to use, just make sure that these peripherals satisfy your requirements. You would want to spend some time in quantifying this before proceeding.
Best regards, Zegeye
Hi Again,
I now see as to why you are asking about the I2C operating as a Master. It is most likely being used as a mechanism to boot User Program (i.e., being used as a secondary bootloader). In this case the I2C needs to operate as a Master and the User code might reside within an EEPROM.
Best regards, Zegeye