[video member=miotatsu stream_platform=twitch project=riscy title="Studying PWM" vod_platform=youtube id=XxdjuyXUME8 annotator=Miblo] [0:08][Recap and set the stage for the day, learning pulse-width modulation] [2:56][@hossein1387][Yes, it is an oscilloscope[ref site=Amazon page="Rigol DS1054Z 4-channel 50 Mhz Digital Oscilloscope" url=https://www.amazon.ca/Rigol-DS1054Z-4-channel-Digital-Oscilloscope/dp/B012938E76]] [3:38][Show off Computer Organization and Design[ref title="Computer Organization and Design RISC-V Edition" author="David Patterson & John Hennessy" publisher="Morgan Kaufmann" isbn=9780128122754 url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]] [5:44][Watch video on controlling LED brightness using PWM[ref site=YouTube page="How to control LED brightness using PWM" url=https://www.youtube.com/watch?v=jFI7Ahf0lZ8]][:research] [19:41][Take notes from accompanying article on Controlling LED brightness using PWM[ref site="Waiting for Friday" page="Controlling LED brightness using PWM" url=http://www.waitingforfriday.com/?p=404]][:blackboard :research] [29:56][Summarise the concept of pulse-width modulation that we care about][:research] [33:37][PWM Resolution][:blackboard] [35:27][Read about Timing the Interrupt[ref site="Waiting for Friday" page="Controlling LED brightness using PWM" url=http://www.waitingforfriday.com/?p=404]][:research] [38:37][Continue reading about PWM[ref site="SiFive Developers" page="Platform Reference Manual" url=https://www.sifive.com/documentation/freedom-soc/freedom-e300-platform-reference-manual/]][:peripheral :research] [46:02][Read about the PWM Configuration Register[ref site="SiFive Developers" page="Platform Reference Manual" url=https://www.sifive.com/documentation/freedom-soc/freedom-e300-platform-reference-manual/]][:peripheral :research] [50:43][Consult led_fade.c to see how it sets up the RGB PWM][:peripheral :research] [52:20][Continue reading about the PWM Configuration Register[ref site="SiFive Developers" page="Platform Reference Manual" url=https://www.sifive.com/documentation/freedom-soc/freedom-e300-platform-reference-manual/]][:peripheral :research] [1:01:00][Note that the led_fade.c does not seem to be setting the pwmzerocmp bit][:peripheral :research] [1:01:32][We are out of time for today] [/video]