hello everyone, when i tried to change register va...
# caravel
a
hello everyone, when i tried to change register values in https://github.com/efabless/caravel_board/tree/main/firmware/chipignite/demos, which i calculated from caravel pll calculator it is not changing . can anyone tell me how to fix it?
s
I also face issues with pll using the calculator. Still unable to resolve
l
Please see my comment in #efabless
m
also, please just post in 1 channel
The max frequency you can expect is around 100M
Are you also enabling the DLL after changing the registers?
Finally enable the DLL by typing 8.
a
yes @Matt Venn, i enabled the vDll but i could not see output i am trying to get. Also after changing register values, am i supposed to see change in register values when i press 1 right? but i couldnot see it.
m
here's a video of me doing it
here's the video demo of hkdebug command:

https://youtu.be/qjjLdVbYq-Q?si=wlixigsehw-pdWWa&t=2076

s
Hi @Matt Venn in the video the initial PLL value was same as after change, hence video is not conclusive. I had discussed this with efabless also
a
YES IT REMAINS SAME AFTER YOU CHANGE THE PLL VALUE @Matt Venn.
a
@Ashish Rimal I've got some experience with this. Can you write out exactly what steps you are using, so I can ensure they are all correct, in the correct order, and none missing? If you are using hkdebug, can you also copy-paste the output of option 1 ("read CARAVEL registers")? This will allow me to debug whether the chip is correctly storing your updated values in its internal registers. Also, can you tell me what hkdebug reports is the Project ID of your chip, and confirm also for me what is etched as the part number on the top of your chip.
a
Caravel data: mfg = 0456 product = 11 project ID = 2209750c 1. i entered make hk_debug inside demos
2. I checked registers pressing 1
reg 0x0 = b'00' reg 0x1 = b'04' reg 0x2 = b'56' reg 0x3 = b'11' reg 0x4 = b'30' reg 0x5 = b'ae' reg 0x6 = b'90' reg 0x7 = b'44' reg 0x8 = b'02' reg 0x9 = b'01' reg 0xa = b'00' reg 0xb = b'00' reg 0xc = b'00' reg 0xd = b'ff' reg 0xe = b'ef' reg 0xf = b'ff' reg 0x10 = b'03' reg 0x11 = b'12' reg 0x12 = b'04' then i changed the registers using option 14. when i changed register value from the 0x11 to 0x1b and 0x12 to 0x09. No change is observed in the list of registers and also in output. option 14. @Anton Maurovic (efabless support)
@Anton Maurovic (efabless support)
a
Yes i tried this, but dll value not changing when i changed registers. @Matt Venn
m
Can you change any other register?
a
@Matt Venn matt No I tried but its not changing. it remains same