Witam Wszystkich,
mam pytanie, ponieważ na porcie F przeznaczonym dla JTAGA sa również wejścia cyfrowe, tylko są tam rezystory typu pull-up, czy da się jakoś ominąć tego JTAGa by można było wykorzystać te wejścia?
Drugie pytanie dotyczy jak obsługuje ATMega128L pamięć SD, macie może jakiś schemat jak ją podłączyć. Wiem tylko że należy do tego wykorzystać port B (SS, SCK, MOSI i MISO)
za porady z góry wielkie dzięki
Pozdrawiam

Aktyw Forum
Zarejestruj się na forum.ep.com.pl i zgłoś swój akces do Aktywu Forum. Jeśli jesteś już zarejestrowany wystarczy, że się zalogujesz.
Sprawdź punkty Zarejestruj sięPytanie o pamięć SD i JTAGa w ATMega128L
Moderatorzy:Jacek Bogusz, procesorowiec, r-mik, Moderatorzy
W rejestrze MCUCSR jest bit o nazwie JTD. Oto jego opis :
Bit 7 – JTD: JTAG Interface Disable
When this bit is zero, the JTAG interface is enabled if the JTAGEN fuse is programmed. If this bit
is one, the JTAG interface is disabled. In order to avoid unintentional disabling or enabling of the
JTAG interface, a timed sequence must be followed when changing this bit: The application software
must write this bit to the desired value twice within four cycles to change its value.
If the JTAG interface is left unconnected to other JTAG circuitry, the JTD bit should be set to
one. The reason for this is to avoid static current at the TDO pin in the JTAG interface.
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 3 gości