Tech Support > Computer Hardware > Microprocessors > ATmega162 + USBN9603
ATmega162 + USBN9603
Posted by Daniel Schmitt on March 2nd, 2004


Hello NG,

we need to build a USB->CAN Adapter for our diploma. We decided the
ATmega162 because of its internal memory interface. We interfaced a
SJA1000 and a USBN9603 through it. The SJA1000 works perfectly with
direct SRAM Access to its registers but not the USBN9603!
We coded access to the USBN9603 via the timing diagrams from the
datasheets and so did it the manual way (rise and lower the signals on
ALE,RD,WR like written in the datasheet). By this way we get access to
the USBN9603!!!
Why does the external memory access does not work? We need it because
we are doing nearly realtime research in our diploma thesis und
therefore we decided to use parallel data transfers via memory access
because it is very fast.
We clocked ATmega162 16MHz, SJA1000 24MHz and USBN9603 24MHz, too ...
Beside this we are sure that it worked for a short period of time at
the beginning ...

Anyone has an idea?

Thanks,
Daniel
--
University of Dortmund
Department of Computer Science
Chair I


Similar Posts