Hello Jeff,
Thanx for your kind reply. I've go through the Technical Reference from
Spectrum Digital (DSKTMS320C6416), and now what I need to do is using J4
connector to connect to the dot matrix LCD, and send data to address
0xA0000000.
About _DOTP2 intrinsic, from SPRU395b,
int DotP(const short * restrict m, const short * restrict n, int count)
{
int i;
int sum= 0;
m3_m2 = _hi(_amemd8_const(&m[i]));
m1_m0 = _lo(_amemd8_const(&m[i]));
n3_n2 = _hi(_amemd8_const(&n[i]));
n1_n0 = _lo(_amend8_const(&n[i]));
count >> 2; */ count is divided by two if using same main
function to call this subroutine*/
for (i=0; i < count; i++)
{
sum += _dotp2(m3_m2, n3_n2) +
_dotp2(m1_m0, n1_n0);
}
return sum;
}
can the 'sum' in the above example we change to 'double' (or
more) data type? What I mean here is, we want to perform dot product with two
64bits data (we access using _hi and _lo intrinsic for 32bits higher and lower
respectively), so the result could be more than 32bits (int) type. Anybody that
have used _DOTP2 give the answer please?
Thanx for your kind attention.
Rgds,
azreque
Jeff Brower wrote:
Azreque-
> I want to develop a simple application that need to
use dot matrix LCD
> (parallel) with my board, DSK TMS320C6416 from Spectrum Digital. Can
> anyone show me a way how to do this? Is it possible? I believe this is
> very simple since Intel 8051 based microcontroller can do this.
>
> Can we access the daughtercard's pins using C?
An LCD module parallel interface ought to look like an async mem device, for
example
SRAM or Flash, so EMIF (external mem interface) is the likely way to go. EMIF
signals are available on the daughtercard headers. Here are a couple of
documents
that might help:
Interfacing C6x EMIF to async devices...
http://focus.ti.com/lit/an/spra542a/spra542a.pdf
Daughtercard specification...
http://www-s.ti.com/sc/psheets/spra711/spra711.pdf
-Jeff
Send instant messages to your online friends http://uk.messenger.yahoo.com