Git Product home page Git Product logo

Comments (10)

JohnOH avatar JohnOH commented on June 29, 2024

Perhaps i2c rather than SPI to keep the radio clear.

from bpnode-bb.

tht avatar tht commented on June 29, 2024

Have you a recommendation for a commonly used I2C flash chip? My chunk drawer only offers some 5V devices…
I'll probably have to live on the back side of the board.

from bpnode-bb.

JohnOH avatar JohnOH commented on June 29, 2024

I am not at home this weekend, I guess the 16Mb chip on the Jeelink would be a contender.

from bpnode-bb.

tht avatar tht commented on June 29, 2024

That's a Micron M25P16 SPI (0.80€ each). Looks like there aren't any I2C devices available with this capacity. The biggest one I could find is the STM M24M02 with 2Mbit for about 2.80€ each. So we have to decide between a 2Mbit I2C and a 16Mbit SPI. The board area does not allow for both.
Do you have a specific use-case in mind for this flash module?

Enjoy your day off!

from bpnode-bb.

JohnOH avatar JohnOH commented on June 29, 2024

I imagined using it in a similar manner to the eeprom in the ATMega. I realise that a flash driver could be built (in C) but the cycle count is an order of magnitude less. The STM board I offered to you has an SPI eeprom on it, a W25X16. I was however concerned using SPI as my current approach in RFxConsole involves a scan of eeprom with each received packet as I store details of each node on the network. I don't know if SPI competition would be a problem.

from bpnode-bb.

JohnOH avatar JohnOH commented on June 29, 2024

I also think that @jcw is on the i2c route for eeprom.

from bpnode-bb.

JohnOH avatar JohnOH commented on June 29, 2024

Rereading everything, 2MB is more than enough for my currently perceived needs. Also, I thought you considered eeprom to be out of scope for this board.

from bpnode-bb.

tht avatar tht commented on June 29, 2024

Thanks for your feedback John. For me the small board size has priority but if there is a way to squeeze one mir IC on there, I'll do it.
bildschirmfoto 2017-02-11 um 18 34 30
As you can see the board area is not an issue. But now we need access to PB6 und PB7 for I2C. These pins are (of course) where the RF69 module is. I could add a smd solder pad on the bottom side where the RFM module is. I think this should still be possible to solder onto.

from bpnode-bb.

tht avatar tht commented on June 29, 2024

This is how it could work.
bildschirmfoto 2017-02-11 um 18 58 59
The small hole next to the SMD pads is the antenna connector. I'll move this one away when adding the U.FL connector.
So when using long headers to connect to the BP below just shorten these two pins a bit less than the other ones and it should touch the SMD pads. Soldering should be easy.

from bpnode-bb.

jcw avatar jcw commented on June 29, 2024

EEPROM mem over I2C is an order of magnitude slower compared to SPI flash (due to the bus speeds). The F103 48-pin chip has 2 SPI buses, although that means more I/O pins needed, and IMO two devices on SPI is not that hard to support (even with interrupts: you can disable the ones from the radio while accessing flash).

FWIW, I want to drop flash again in the next HyTiny Extender revision - plan is to keep all persistent data on the USB host side. I guess it all depends on your use case.

Most flash chips are compatible, in terms of pinout. Would suggest using a wide SIOC-8 footprint (5.3 mm), I think the narrow ones (3.9 mm) are starting to be phased out, definitely in larger sizes.

from bpnode-bb.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.