EEVblog Electronics Community Forum

EEVblog => EEVblog Specific => Topic started by: EEVblog on July 07, 2017, 10:58:59 pm

Title: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: EEVblog on July 07, 2017, 10:58:59 pm
What is Bit Banging and how to bit bang a SPI bus.
Also how to use an Excel spreadsheet to do logic simulation.


https://www.youtube.com/watch?v=9hMsNOwY5AQ (https://www.youtube.com/watch?v=9hMsNOwY5AQ)
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: lem_ix on July 08, 2017, 08:37:41 pm
While it's too late for me to learn bit banging I did enjoy the format, should be useful to students and advanced hobbyists. Good job Dave2  :-+
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: German_EE on July 09, 2017, 09:06:53 am
Seconded, good job on the video and I like the format.  :-+
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: Rerouter on July 09, 2017, 10:06:31 am
Another appreciative viewer, i wasn't aware there where multiple polarities.
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: madires on July 09, 2017, 01:54:41 pm
Nice job! I've given internal courses to co-workers several times and I assume that a video presentation on a topic is a tad harder because of missing direct feedback from the students. IMHO, the presentation style is a little bit too hasty. But that's just my personal impression.
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: Brumby on July 09, 2017, 04:35:59 pm
IMHO, the presentation style is a little bit too hasty. But that's just my personal impression.

I enjoyed the information presented - but, yes, I agree that it was presented at a slightly fast pace.  People unfamiliar with some of the basics would have trouble keeping up.

This is not an uncommon trait - especially with people just starting out with "public speaking" type activities.  My understanding is that it is a result of nervousness, or perhaps apprehension, and when the words stack up behind the lips, they have to get poured out quickly.  Slowing down the baud rate is one suggestion - another is including pauses.

With written material (correctly punctuated) the guideline is to take notice of every comma and full stop, pausing appropriately (half a second is often enough).  It is also a good idea to take a longer pause if you have just presented a group of related points, so that the group understanding can be absorbed.

With spoken, off the cuff material, that is a bit harder - but I think it might be worth imagining someone there watching you.  If there were a real person, you would tend to look at them every now and then to see if they are giving indications of understanding ... and I would suggest the times when you would be inclined to do this - are the times should should take a pause.


Now, this may seem really critical - but I offer it as an observation to help with communication.  Dave2 is obviously knowledgeable ... and I would really like to see more of his presentations.

To be clear ... I really enjoyed the content!!
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: JanJansen on July 09, 2017, 04:41:30 pm
If you use change notification for the slave ?, would it still be bitbanging ?, half.
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: Mike Warren on July 12, 2017, 06:24:06 am
Nicely done Dave2. :)
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: brucer37 on July 12, 2017, 12:43:48 pm
Hi Dave2,
Have you experienced any problem with the SPI slaves handling the generated clock?
The clock period and its duty cycle are dependent on the CPU speed, compiler conversion efficiency, and on and off code path lengths.
Stephen
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: MBN65 on July 12, 2017, 04:54:19 pm
Thank's for this good lesson, I think I have to watch it one more time to really get it.

How did you do this beautiful funktion diagram in Excel at 12:45?

/Magnus
Title: Re: EEVacademy #3 - Bit Banging & SPI Tutorial
Post by: kire9999 on July 22, 2017, 10:27:13 pm
Thank you so much Dave2  :-+  :-+, I really enjoyed your video. BTW, any chance you can share your C++ project of this example?, I'm currently trying to learn C++ and would like to have an example like yours.

Thanks!