project:weathersonde:eeprom_mgmt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:weathersonde:eeprom_mgmt [2017/01/03 18:15] – refactor pinky | project:weathersonde:eeprom_mgmt [2018/10/01 13:48] (current) – pinky | ||
---|---|---|---|
Line 14: | Line 14: | ||
Thanks, and have a nice day, Peter from Budapest, Hungary | Thanks, and have a nice day, Peter from Budapest, Hungary | ||
+ | |||
+ | |||
+ | ==== connection note ==== | ||
+ | |||
+ | This post was send by email, if You have difficulty to read/write eeprom, try this | ||
+ | I've managed to solve it. Please let my now if You find any incorrectness. | ||
+ | |||
+ | It turned to be some weird voltage translation stuff. When the onboard CPU is in reset, the SCK and MOSI lines are held low (0V) by a relatively low impedance (about 250R, but the I-V curve is nonlinear), and the CS is held high (2.85V) by low impedance (about 300R, I-V curve non-linear). The MISO line is truly floating or connected to very highimpedance. I've used 100R series resistors on the SCK and MOSI lines. This gives me around 3V on the EEPROM pins when the Arduino is driving this lines high to 5V. When the Arduino drives this lines low to 0V, I get 0V on the other side as well. | ||
+ | The CS is more problematic, | ||
+ | |||
+ | | ||
+ | Daniel. | ||
+ | |||
+ | |||
+ | ===== Code ===== | ||
project/weathersonde/eeprom_mgmt.1483467312.txt.gz · Last modified: 2017/01/03 18:15 by pinky