Awesome Contents
Understanding measure_cpu_freq, get_cpu_freq, & uart_init
Understanding measure_cpu_freq, get_cpu_freq, & uart_init
⚠ Click here to regain focus ⚠
References ▼
Crowd Supply
HiFive1: Open Source, Arduino-Compatible RISC-V Dev Kit
[1]
10:19
SiFive Forums
The Big RISCY BUSINESS Question Thread
[2]
32:06
SiFive Developers
Freedom E300 Platform Reference Manual
[3]
39:04
[4]
43:39
[5]
46:40
[6]
50:28
die.net
gcc
[7]
57:25
die.net
ld
[8]
57:25
Filter mode:
Topics
hardware
mathematics
Media
🖌
Blackboard
🗪
Chat Comment
🖮
Programming
📖
Research
Credits
Host
Mio Iwakura
Annotator
Matt Mascarenhas
?
?
Keyboard Navigation
Global Keys
W
,
A
,
P
/
S
,
D
,
N
Jump to previous / next marker
z
Toggle filter mode
V
Revert filter to original state
Menu toggling
q
Quotes
r
References
f
Filter
c
Credits
Movement
a
w
s
d
h
j
k
l
←
↑
↓
→
Quotes and
References Menus
Enter
Jump to timecode
Quotes,
References and Credits Menus
o
Open URL (in new tab)
Filter Menu
x
,
Space
Toggle category and focus next
X
,
Shift
Space
Toggle category and focus previous
v
Invert topics / media as per focus
Credits Menu
Enter
Open URL (in new tab)
0:07
Recap and set the stage for the day
0:07
Recap and set the stage for the day
0:07
Recap and set the stage for the day
2:24
Converting a remainder into a decimal
2:24
Converting a remainder into a decimal
2:24
Converting a remainder into a decimal
10:19
Apply the measure_cpu_freq() equation to the specified speeds of our HiFive1
1
10:19
Apply the measure_cpu_freq() equation to the specified speeds of our HiFive1
1
10:19
Apply the measure_cpu_freq() equation to the specified speeds of our HiFive1
1
20:07
Work back through the equation to determine the exact speed of our chip
20:07
Work back through the equation to determine the exact speed of our chip
20:07
Work back through the equation to determine the exact speed of our chip
23:18
Perform integer division with the correction term on our speeds
23:18
Perform integer division with the correction term on our speeds
23:18
Perform integer division with the correction term on our speeds
27:04
Miblo
/me slips into le stream
27:04
Miblo
/me slips into le stream
27:04
Miblo
/me slips into le stream
27:07
Continue with the integer division
27:07
Continue with the integer division
27:07
Continue with the integer division
29:53
Try to rearrange the calculation avoiding the correction term
29:53
Try to rearrange the calculation avoiding the correction term
29:53
Try to rearrange the calculation avoiding the correction term
32:06
Ask on the forums
2
why we couldn't just rearrange the computation
32:06
Ask on the forums
2
why we couldn't just rearrange the computation
32:06
Ask on the forums
2
why we couldn't just rearrange the computation
37:05
miblo
Does their code handle an arbitrary number of decimal places, while ours can't, perhaps?
37:05
miblo
Does their code handle an arbitrary number of decimal places, while ours can't, perhaps?
37:05
miblo
Does their code handle an arbitrary number of decimal places, while ours can't, perhaps?
39:04
Review our understanding of init.c and resume studying uart_init()
3
39:04
Review our understanding of init.c and resume studying uart_init()
3
39:04
Review our understanding of init.c and resume studying uart_init()
3
43:39
Read about the Transmit Control Register
4
43:39
Read about the Transmit Control Register
4
43:39
Read about the Transmit Control Register
4
46:40
Determine that we fully understand uart_init() and look at the UART0_REG() macro
5
46:40
Determine that we fully understand uart_init() and look at the UART0_REG() macro
5
46:40
Determine that we fully understand uart_init() and look at the UART0_REG() macro
5
50:28
Marry up the UART_REG_DIV and UART_REG_TXCTRL macros with the documentation
6
50:28
Marry up the UART_REG_DIV and UART_REG_TXCTRL macros with the documentation
6
50:28
Marry up the UART_REG_DIV and UART_REG_TXCTRL macros with the documentation
6
51:47
Return to demo_gpio.c and hunt for the write() function called by print_instructions()
51:47
Return to demo_gpio.c and hunt for the write() function called by print_instructions()
51:47
Return to demo_gpio.c and hunt for the write() function called by print_instructions()
57:25
Consult man gcc
7
and man ld
8
to learn how --wrap works
57:25
Consult man gcc
7
and man ld
8
to learn how --wrap works
57:25
Consult man gcc
7
and man ld
8
to learn how --wrap works
59:34
Read __wrap_write() and __wrap_isatty()
59:34
Read __wrap_write() and __wrap_isatty()
59:34
Read __wrap_write() and __wrap_isatty()
1:01:19
Hunt for our copy of unistd.h
1:01:19
Hunt for our copy of unistd.h
1:01:19
Hunt for our copy of unistd.h
1:09:00
Read the standard file descriptors in posix/unistd.h
1:09:00
Read the standard file descriptors in posix/unistd.h
1:09:00
Read the standard file descriptors in posix/unistd.h
1:10:05
Continue studying __wrap_write()
1:10:05
Continue studying __wrap_write()
1:10:05
Continue studying __wrap_write()
1:11:52
We are out of time for today
1:11:52
We are out of time for today
1:11:52
We are out of time for today