Questions tagged [atmega328pb]

7 questions
16
votes
3 answers

Puff of smoke in air. 3 different PCBs. PCB has ghosts?

Yes, that is a haiku.  (EDIT: fixed it... it is now actually a Haiku) No I'm not smiling. I'm doing some standard testing; seeing what happens when one of the two power rails gets shorted to GND on a PCB that I designed.  We're talking about a 12 V…
macdonaldtomw
  • 1,420
  • 17
  • 32
2
votes
1 answer

Noise on I²C when bit-banging but not with built-in I²C (ATmega328PB)

I'm working on bit-banged I²C for the ATmega328PB. I've been seeing a lot of noise (ringing and cross-talk) on the lines but thought it was just my test probes, etc. However, when using the MCU's native I²C the noise disappears. Can anyone…
Alex Hajnal
  • 1,334
  • 8
  • 19
2
votes
1 answer

Bricked ATMEGA328PB by setting low fuse to 0xF5 - How to recover?

While programming an ATMEGA328PB via ISP, I wanted to set the efuse to 0xF5. By accident, I didn't write the efuse but the lfuse instead. Since then, I cannot communicate with the chip via ISP anymore. I am not entirely sure which mode the IC is in…
Zulakis
  • 121
  • 3
0
votes
2 answers

ATmega328p TQFP basic PCB

Is there an error in the basic schematic and PCB drawing of the Arduino?
571E
  • 1
  • 2
0
votes
0 answers

Generating PWM at pin PD5 of ATmega328P

I am beginner to ATmega328P programming for PWM generation. I am trying to generate a PWM wave at PD5 pin the datasheet says PD5(OC0B/T1/PCINT21). When I generate the PWM with help of timer0 overflow interrupt it works fine, however when I try to…
Pradeepan
  • 11
  • 1
  • 1
0
votes
1 answer

Atmega328pb microncontroller hangs

I've been working on a project with Atmega328PB microcontroller using both the UARTs for communication. The controller runs fine for a long time but all of a sudden it does not respond at all. It happened two times in a span of one week. The weird…
Sai Prasad
  • 101
  • 3
  • 15
0
votes
2 answers

atmega328pb mcu gets bricked after uploading bootloader

i have a strange problem, maybe this post will be long, but i try to give all the details: i’ve designed a pcb with smd components, around the atmega328pb mcu. it uses an external 16mhz clock and has all the needed decoupling caps, voltage…
Wanek T
  • 15
  • 8