|
|
View previous topic :: View next topic |
Author |
Message |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
R3910 DSP interfacing with microcontroller |
Posted: Mon Aug 18, 2014 10:51 am |
|
|
Hello everyone.
I did a comprehensive google search, but I didn't succeed to find document that describes the internal registers and programming commands via which I can program the chip. I am familiar with I2C, the interface used by R3910, but I don't know the memory addresses, opcodes, SFRS of the DSP. I read the datasheet, but there is only the timing of the i2C, not commands not configuration bytes, nothing.
My hope is, someone of you might have been encountered such a file/document. _________________ A person who never made a mistake never tried anything new. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Mon Aug 18, 2014 2:04 pm |
|
|
Well the obvious place to find it would be the manufacturer's website..though what an R3910 is I don't know..... You say it's a 'DSP' but don't say who makes it, is it a current product, etc.
jay |
|
|
newguy
Joined: 24 Jun 2004 Posts: 1909
|
|
Posted: Mon Aug 18, 2014 2:44 pm |
|
|
I'd be very surprised if ON Semiconductor won't give that information to you. Just ask them. |
|
|
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
|
Posted: Mon Aug 18, 2014 11:44 pm |
|
|
This is the email I received from the manufacturer, when I requested for it:
Quote: | Hello Radoslav,
Thank you for contacting ON Semiconductor
Unfortunately we do not have any documentation discussing direct access to device programming. Programming support is provided either through HiPro or our own DSP programmer:
http://www.onsemi.com/pub_link/Collateral/AND9106-D.PDF
Regards, Jan R.
ON Semiconductor
Technical Support Center
Subject: R3910 DSP interfacing with microcontroller |
Maybe they are just not authorized to provide such information. Therefore I asked you for help.
Thank you both for help! _________________ A person who never made a mistake never tried anything new. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9246 Location: Greensville,Ontario
|
|
Posted: Tue Aug 19, 2014 5:26 am |
|
|
OK.. so no 'direct' access, it's not that big of a deal....
How much time do you have for this project?
One option is to get one of their DSP programmers and build a 'monitor' between it and the DSP device. Create one 'configuration', download it,record the 'session'.Make ONE change to the 'configuration', repeat the process. Yes, it WILL take a LOT of time and GREAT recording of data BUT you will eventually decode how the 'configuration' is arranged and sent to the DSP. You need the DSP hooked up as right now, we have no way of knowing what 'handsaking' or 'feedback' the DSP returns to the 'programmer'. Depending on how many registers are used this could take days, long days, lots of coffee too! It is a known method that I know works!
2nd option, use another device.One with 'low level' programming direct from the manufcturer.ON is not the only hearing aid DSP mfr....without knowing th efull details of your project, there are dozens of methods of doing what the ON DSP does.If you tell us WHY you want this device, someone may offer another part,heck there are DSPICs that might work for you!
The bottom line is how much time and effort you are willing to put into the project.Reverse engineering and mapping is a labour intensive effort!!
hth
jay |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Aug 19, 2014 9:16 am |
|
|
They didn't answer the question, or you didn't ask it correctly.
You want an list of the register addresses inside the chip, such as the
squelch register, volume high register, volume low register, etc.
Somehow, they got the idea that you were asking about a programmer,
such as (for PICs) ICD3, Pickit 3, etc. That's not what you want.
But anyway, I browsed the data sheet and came up with the following
comments:
Most of the parameters on the R3910 are "pre-configured". A few
parameters can be made so they are user adjustable. This makes
sense, because a hearing aid might have a remote control that lets
the user adjust volume, noise reduction, etc. They want you to
set the pre-configured parameters, by using their ARK software:
http://www.onsemi.com/pub_link/Collateral/AND9084-D.PDF
They don't want you to write your own program to set the pre-configured
parameters.
The data sheet says:
Quote: | The iLog 4.0 Datalogging feature records various
parameters every 4 seconds to 60 minutes (programmable)
during use of the device. Once these parameter values are
read from the device, they can be used to counsel the user and
fine tune the fitting. |
In other words, the end user doesn't change the settings. The audiologist
in the hearing aid sales center gets the Data logger data, and then talks
(consels) the customer, and then using a device available from OnSemi,
the audiologist adjusts the hearing aid. That's how I interpret this.
The data sheet also says:
Quote: | In SDA mode, R3910 is programmed via the SDA pin
using industry standard programming boxes. I2C mode is
a two wire interface which uses the SDA pin for
bidirectional data and CLK as the interface clock input. I2C
programming support is available on the HiPro (serial or
USB versions) and ON Semiconductor’s DSP Programmer 3.0 |
In other words, you the developer, don't get to access the R3910
through the i2c interface. Only their special programmer can do it.
They don't want you to do it.
They refer to this ARK user's guide:
http://ark.onsemi.com/pdf/ARKguide2011.pdf
I don't have any more time to look at this now, but it appears the R3910
is a closed device. They don't want you doing any low-level programming
of it. They only want you to use their tools, and enter high-level input
and their tools will convert it to low-level data (register access) and
program the device.
This chip is not like a ds1307, where you get full data on low-level registers. |
|
|
horia
Joined: 31 Oct 2016 Posts: 1
|
|
Posted: Tue Nov 01, 2016 2:00 pm |
|
|
rikotech8 you have a private message! |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|