Hallo zusammen! Habe gerade meinen ersten Atmega16 angeschlossen. Ich konnte bis auf zwei alle Security und Configuration Bits gut anpassen. Habe zwar ein Problem beim Programmieren mit meinem ISP Programmer, wenn ich einen externen Quarz (16MHz) angeschlossen habe, aber dazu später. Meine Frage jetzt: Ich kann fast nichts mit "BODEN" und "BODLEVEL" anfangen. Kann mir jemand eine Einführung geben, wie ich die am besten setze, will so schnell wie möglich das Teil mal programmieren. Zur Info, lasse den µc gerade mit internem RC-Oszillator mit 8MHz laufen. (falls das gerade überhaupt relevant ist) Ich frage nur, da die standardmäßig nicht gesetzt waren aber im Einführungstutorial bei dieser I/O Übung gesetzt wurden. Will das Tutorial jetzt auch mal testen. Gruss, Frederik
Hi, kannst Du zunächst mal unprogrammiert lassen. Aber wo ist das Problem: ATmega16 has an On-chip Brown-out Detection (BOD) circuit for monitoring the VCC level during operation by comparing it to a fixed trigger level. The trigger level for the BOD can be selected by the fuse BODLEVEL to be 2.7V (BODLEVEL unprogrammed), or 4.0V (BODLEVEL programmed). The trigger level has a hysteresis to ensure spike free Brown-out Detection. The hysteresis on the detection level should be interpreted as V BOT+ = V BOT + V HYST /2 and V BOT- = V BOT - V HYST /2. The BOD circuit can be enabled/disabled by the fuse BODEN. When the BOD is enabled (BODEN programmed), and VCC decreases to a value below the trigger level(V BOT- in Figure 19), the Brown-out Reset is immediately activated. When VCC increases above the trigger level (V BOT+ in Figure 19), the delay counter starts the MCU after the Time-out period t TOUT has expired. The BOD circuit will only detect a drop in VCC if the voltage stays below the trigger level for longer than t BOD given in Table 15. RTFM ist oft die schnellste Lösung ! Jan
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.