EmbeddedRelated.com
Forums

RCM3700

Started by "S S...@gmail.com [rabbit-semi]" February 21, 2016
Hi guys,

I'm have problem with RC3700.
I use RC3700 and development board with DC9.25.
I use ADC and serial flash together but ADC not work.
If serial flash disable, ADC run normally. After i'm check, PB0 use
together for ADC on development board and serial flash on RC3700 for CLK.
Can you give me pointer what i'm must doing ? Or maybe you have sample
program like i'm doing ?
Thank you very much.
Regards,
Stev
First off, upgrade to Dynamic C 9.62 and try again. The RCM3700 was designed so the serial flash and ADC use separate chip select pins so they can share the other SPI lines.

Are you using the APIs provided in RCM3700.LIB and SFLASH.LIB? They appear to properly assert/deassert the ADC and flash chip select pins, so the shared SPI bus shouldn't be a problem. Perhaps there was a bug in that code in Dynamic C 9.25, and it was fixed before the 9.62 release.

-Tom
On Feb 21, 2016, at 4:47 AM, S Sutikno s...@gmail.com [rabbit-semi] wrote:

> Hi guys,
>
> I'm have problem with RC3700.
> I use RC3700 and development board with DC9.25.
> I use ADC and serial flash together but ADC not work.
> If serial flash disable, ADC run normally. After i'm check, PB0 use together for ADC on development board and serial flash on RC3700 for CLK.
> Can you give me pointer what i'm must doing ? Or maybe you have sample program like i'm doing ?
> Thank you very much.
> Regards,
> Stev
Dear Tom,

I'm already upgrade to DC 9.62 and same result, ADC value still 0.

I'm use RCM37xx.lib included in folder sample/rcm3700 and sflash.lib.
Thanks.
Stev

On Sun, Feb 21, 2016 at 10:30 PM, Tom Collins t...@tomlogic.com
[rabbit-semi] wrote:

> First off, upgrade to Dynamic C 9.62 and try again. The RCM3700 was
> designed so the serial flash and ADC use separate chip select pins so they
> can share the other SPI lines.
>
> Are you using the APIs provided in RCM3700.LIB and SFLASH.LIB? They
> appear to properly assert/deassert the ADC and flash chip select pins, so
> the shared SPI bus shouldn't be a problem. Perhaps there was a bug in that
> code in Dynamic C 9.25, and it was fixed before the 9.62 release.
>
> -Tom
> On Feb 21, 2016, at 4:47 AM, S Sutikno s...@gmail.com [rabbit-semi]
> wrote:
>
> Hi guys,
>
> I'm have problem with RC3700.
> I use RC3700 and development board with DC9.25.
> I use ADC and serial flash together but ADC not work.
> If serial flash disable, ADC run normally. After i'm check, PB0 use
> together for ADC on development board and serial flash on RC3700 for CLK.
> Can you give me pointer what i'm must doing ? Or maybe you have sample
> program like i'm doing ?
> Thank you very much.
> Regards,
> Stev
Stev,

Please email me your test code off-list (t...@tomlogic.com) and I'll take a look at it when I'm back in the office later this week. I'd like to see an example program that has valid ADC readings until it accesses the serial flash. My goal will be to make updates to the program or libraries so the ADC continues working after reading/writing the serial flash.

-Tom
On Feb 21, 2016, at 9:24 PM, S Sutikno s...@gmail.com [rabbit-semi] wrote:
> Dear Tom,
>
> I'm already upgrade to DC 9.62 and same result, ADC value still 0.
>
> I'm use RCM37xx.lib included in folder sample/rcm3700 and sflash.lib.
> Thanks.
> Stev
Tom, thanks for your attention.

Problem already solved. I'm make mistake on my software, cs for adc always
low.

Regards,
Stev

On Wed, Feb 24, 2016 at 5:51 AM, Tom Collins t...@tomlogic.com [rabbit-semi]
wrote:

> Stev,
>
> Please email me your test code off-list (t...@tomlogic.com) and I'll take
> a look at it when I'm back in the office later this week. I'd like to see
> an example program that has valid ADC readings until it accesses the serial
> flash. My goal will be to make updates to the program or libraries so the
> ADC continues working after reading/writing the serial flash.
>
> -Tom
> On Feb 21, 2016, at 9:24 PM, S Sutikno s...@gmail.com [rabbit-semi]
> wrote:
>
> Dear Tom,
>
> I'm already upgrade to DC 9.62 and same result, ADC value still 0.
>
> I'm use RCM37xx.lib included in folder sample/rcm3700 and sflash.lib.
> Thanks.
> Stev