Thank you Sir. Now I feel mighty empowered... A whole lot of SPI devices out there are at my SPI command now !! I cannot thank you enough.
@0033mer3 жыл бұрын
Glad to help
@ImnotChuck.5 жыл бұрын
Another thoughtful instructional video. Very logical and thorough. Thanks.
@0033mer5 жыл бұрын
Appreciate the feedback Charles.
@ImnotChuck.5 жыл бұрын
@@0033mer What version of Forth do you use, and do you use an IDE? I can write a little Basic, but I want to learn something better.
@0033mer5 жыл бұрын
I use Flashforth for AVR and PIC microcontrollers. There is no IDE, Forth is an onboard operating system and all development is done on the chip itself. Here is the website: flashforth.com/ For ARM and TI MSP430 I use Mecrisp. mecrisp.sourceforge.net/ Both are a free download
@noweare15 жыл бұрын
You'd make a great teacher.
@sabirmulla_yt8 ай бұрын
Excellent video
@0033mer8 ай бұрын
Thanks for the visit
@Steve-oi2qb2 жыл бұрын
Very nice demo and exactly what I need to practice measuring with my Oscope. Is there any chance of getting a copy of this code for the ARDUINO AVR? In the middle of something and prefer not to stop to learn another coding language. Thanks! If not, maybe you could post the code link and I'll use that as a start?
@RobertShaverOfAustin5 жыл бұрын
Quite interesting. I definitely like thinking about these kinds of protocols. I've worked with I2C but never SPI. Right away I was thinking how to connect multiple slaves to a single master. I'd need to find out more about how the ^SS works. I see in the Wikipedia article about SPI that multiple slaves can be daisy-chained together. But i don't see the purpose of connecting the ^SS. If the slave ^SS is high (not asserted) then does the slave MISO become tri-state? That is, can I hook several slaves to the master and use the ^SS slave pin (connected to other GPIO pins) to select which slave I want to talk to?
@0033mer5 жыл бұрын
Yes ..you need a GPIO pin (master) for every slave device you have connected. Only one slave device can be selected at a time by bringing the SS pin low. All the other slaves are in Hi-Z mode (SS pins high) so there is no contention.
@dhanunjayadhanunjaya9905 жыл бұрын
hello sir. Thanks for the video. My area of application using ATmega32 microntroller is making the controller to operate in master mode and transfer an array of 79 registers which is of 24-bit long to the slave device which is PLL IC LMX2595. how can I proceed further with respect to programming point of view.
@engineerelectrical78555 жыл бұрын
Hi, can we program a modem like Sim868 that contains the MCU(MT2503 based on ARM7EJ-S) to program/upload sketch to an atmega328p using ISP/SPI by reading the firmware form an SD card? Think of it like an OTA setup for atmega328p.
@0033mer5 жыл бұрын
SPI is a serial standard that can read SD cards, and that data can be sent by LORA, Bluetooth, Cellular ... etc OTA to any microcontroller that is programmed to receive that format for programming. kzbin.info/www/bejne/rH6mkH-Dotl5l8U
@M0XYM5 жыл бұрын
Appreciated. I2C next?
@0033mer5 жыл бұрын
I have a few videos featuring the I2C bus. Here is one of them. kzbin.info/www/bejne/eonNoJp9qK-fnrc
@M0XYM5 жыл бұрын
@@0033mer Thank you - I should have looked! One of the things I find REALLY helpful is your use of Forth to illustrate the examples. The I2C video mentioned above, although excellent, doesn't show the software. I don't suppose you would consider a sequel with an emphasis on the Forth software with I2C? Thanks again.
@0033mer5 жыл бұрын
Yes .. there was no software shown in that video. I left it out as there is usually little interest and sometimes complaints.
@evertspies33455 жыл бұрын
What distance could data be send using SPI.
@0033mer5 жыл бұрын
SPI was originally design to be used only on a PCB. The reliable distance depends on a number of factors. As the frequency of the SPI clock speed increases the distance will decrease.The type of cable used will also determine a reliable distance. For a ballpark answer I would say do not go longer than 3 meters or 10 feet.
@evertspies33455 жыл бұрын
@@0033mer Thank you.
@andrewtoogood14295 жыл бұрын
Was expecting C++ but useful till then
@0033mer5 жыл бұрын
Yes .. it's not C++ but the three registers used are still relevant and it would be quite easy to configure the desired bits using C++.