Topic : DAC in STM32 primer

Forum : ARM

Original Post
Post Information Post
September 16, 2008 - 3:52pm
Guest

Hi,
I want to test DAC in the this toy. DAC is not supported by library delivered together with STM32 primer, but I've downloaded library v2.0.2 from ST with DAC.
I've tested 3 examples with DAC from this library - no positive results.
I'm looking on RIDE screen in debug mode - there is not DAC in peripherials.
What shell I do to get examples running?
Thanks

Replies
Post Information Post
+1
0
-1
September 17, 2008 - 11:58am
Guest

Hi

Here are some suggestions to try to understand the problem:

I think you need to install the new version of Ride7 and RKit-ARM because it is needed to have compatibility with the library v2 from ST.

The peripherals DAC are not simullated but this should not make problem running the example.

In the readme of the examples from ST they suggest to adapt the hardware to see something:
"This example runs on STMicroelectronics STM3210E-EVAL evaluation board and can be
easily tailored to any other hardware. Connect PA.04 and PA.05 pins to an oscilloscope...;"

Can you please check these point and then let us know what is not working with more details.

Matloub

+1
0
-1
September 18, 2008 - 11:25am
Guest

Hi, Matloub,

Thanks a lot,

General functions works with old Ride + new ST lib, I've got already "Hello word" on the external display, but I'm downloading new versions of Ride7 and will use it.

Re: DAC in ST primer:
I was so stupid that decided that DAC is presented in MCU soldered into primer. Maybe I was looking on the samples which I have. Primer has 103RB (w/o DAC), samples are 101RC (w DAC).

Could you advice the best way to test DAC:
- to exchange MCU in the STM32 primer (will it work?)
- to order other starterkit (what?)

Is it possible to make external PCB with new MCU and to connect it to R-link integrated into STM32 primer?