Re: Multi-SPI devices on same bus, different CS of course -
Posted: Wed Aug 31, 2016 8:48 am
OK guys, it has been confirmed by testing and experimentation. I should have known this sooner, I know better than that...... The capacitance of the breadboard is significant at the higher frequencies - duh!
My solution instead of wasting time and money on prototype boards is to re-work the NodeMCU such that the male pins which normally are on the bottom of the module are now on the top (photo below).
ANY SPI-based device must also have their SPI bus pins up in the air and connected by soldered wires for the signals.
By doing this, you can have multiple devices on the same bus on your breadboard and continue to experiment away.
I still have problems with the basic interpreter but that maybe more my fault - although I have asked Mike to look into SPI transactions which can help enormously for those of us who are learning his Basic.
This is done by compiling in Arduino and taking advantage of sumotoy's libs, but it does not have all the niceties that Mike has added <grin>.
Hope this helps others......
Regards to All.
My solution instead of wasting time and money on prototype boards is to re-work the NodeMCU such that the male pins which normally are on the bottom of the module are now on the top (photo below).
ANY SPI-based device must also have their SPI bus pins up in the air and connected by soldered wires for the signals.
By doing this, you can have multiple devices on the same bus on your breadboard and continue to experiment away.
I still have problems with the basic interpreter but that maybe more my fault - although I have asked Mike to look into SPI transactions which can help enormously for those of us who are learning his Basic.
This is done by compiling in Arduino and taking advantage of sumotoy's libs, but it does not have all the niceties that Mike has added <grin>.
Hope this helps others......
Regards to All.