Author Topic: Single-Wire EEPROM Implementation Problem (AT21CS11)  (Read 364 times)

0 Members and 1 Guest are viewing this topic.

Offline Sarcarean

  • Contributor
  • Posts: 28
  • Country: us
Single-Wire EEPROM Implementation Problem (AT21CS11)
« on: October 14, 2018, 10:07:38 am »
So I am banging my head against the keyboard now. I am trying to read a SWI EEPROM (AT21CS11) using PB7 of ATMEGA32U2. I have that line connected to VCC (3.3V) with a 2K  \$\Omega\$ resistor. I am not sure what the problem is, but I have noticed that the reset and discover event does not look correct.

The RESET and DISCOVER event should look like this: PB7_LOW, wait 200uS, PB7_Release, wait 10uS, PB7_LOW, wait 1uS and release, then check if bus is being pulled down by AT21.

Here is what the correct waveform looks like:


However, here is what mine looks like:


Does anyone have any ideas of what I did wrong?
« Last Edit: October 14, 2018, 10:13:29 am by Sarcarean »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf