RockPiS


Stuart Naylor
 Share

1 1

Recommended Posts

Hi guys,
 

If I want to write to Address: Operational Base + offset (0x0470) ACODEC_DAC_ANA_CON12 with 55 what am I doing wrong as keeps telling me wrong address.

I am root but most have the Operational base address wrong which thought that would be the codec base + 0x0479 store data there?

ff560000 Audio Codec PHY
fff80000 System SRAM(256K)
ff800000 A35 DEBUG

Tried several base addresses and just get an error as root.

I thought it would be something like echo 0x60 0x40ff0168 > /sys/kernel/debug/vad/reg

What I am trying to do is just see if there is register that will use the dac via I2s and even though its all cryptic thought I would just try a few registers but must have the base address wrong?

PS is there anyway to put anchor points of a PDF as its in there but the right page would of been a bonus :)

https://dl.radxa.com/rockpis/docs/hw/datasheets/Rockchip RK3308TRM V1.1 Part1-20180810.pdf

But totally confused as the above is from the custom device rockchip repo
https://github.com/rockchip-linux/device-custom/blob/master/rk3308/CaeDemo_VAD/RkLunch.sh

The address doesn't make any sense to the ref manual as far as I can tell but maybe someone can help my stupidity

Link to post
Share on other sites

Donate and support the project!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

1 1