Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

AT91SAM

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1872
  • Category: Microcontrollers
  • Founded: Jan 21, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 5231 - 5260 of 5280   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#5231 From: John Hou <houjob@...>
Date: Sun Aug 14, 2011 8:31 pm
Subject: Re: nand flash loading
houjob
Send Email Send Email
 
Hi,
 
have you got it done?
John

--- On Sun, 7/17/11, ssantoshi@... <ssantoshi@...> wrote:

From: ssantoshi@... <ssantoshi@...>
Subject: [AT91SAM] nand flash loading
To: AT91SAM@yahoogroups.com
Date: Sunday, July 17, 2011, 10:40 PM

 
Hi all,

i am using at91sam9263-ek board and developing the application using keil uv4. I am able to run the program in SDRAM. Can anyone help me telling the procedure to load same bin file to nand flash.

thanks
samhyd


#5232 From: "Peter Astrom" <astrom.peter@...>
Date: Tue Aug 30, 2011 12:28 pm
Subject: Hardware design issues
astrom.peter
Send Email Send Email
 
Have an urgent need for adapter for at91sam7a3 with case style LQFP-100 (25x25,
0.5mm pitch) but got prototype PCB:s with foot print QFP-100 (20x30, 0.65mm
pitch). The reason is that I chose the wrong foot print in my CAD library for
the latest prototype.

An alternative might be if you have any component dummy with SMD feet in the
pattern of QFP-100 (20x30, 0.65mm pitch) and we'll design the adapter ourselves.

Very grateful for your assistance.

#5233 From: "dani" <adnanahmmad@...>
Date: Wed Sep 7, 2011 4:58 pm
Subject: AT91SAM7S128 Rev C issue with IAR
adnanahmmad
Send Email Send Email
 
Hello all,

I have just upgraded my hardware from Rev B to Rev C chips of AT91SAM7S128. But
i am facing a strange problem when try to download and debug code through IAR
Embedded Workbench for ARM with J-Link Jtag device from segger. Same project
with same download settings programming the Rev B chips but not the  REV C.
However Rev C chips are being programmed correctly using J-Flash utility and
then can be debug as well. But IAR is unable to program the Rev C chip some how
and not writing to ROM/Flash any thing. I wonder if any one have experience such
an issue before and now the exact reason to solve the problem. It will be really
helpful if some one can share the appropriate information.

Regards... Dani:(

#5234 From: "Zee" <mzahid_rasheed@...>
Date: Tue Sep 27, 2011 3:48 pm
Subject: Help to read load cell data
mzahid_rasheed
Send Email Send Email
 
Hi everyone,
             I need help to read analog data from load cell. And how i can handle
it in C.

Regards

MZR

#5235 From: "Ewout" <ewout@...>
Date: Thu Sep 29, 2011 7:40 am
Subject: Re: Help to read load cell data
kiwanda206
Send Email Send Email
 
Don't try this yourself. From the way you pose this question, It appears you do
not have a clue how to start this.
I reckon you would be better of hiring someone who could do this for you.
  If you persist, go to Atmel's website, load the datasheet of the device you'r
interested in and look up :"ADC" or "Analog to Digital Converter".

Ewout

--- In AT91SAM@yahoogroups.com, "Zee" <mzahid_rasheed@...> wrote:
>
> Hi everyone,
>             I need help to read analog data from load cell. And how i can
handle it in C.
>
> Regards
>
> MZR
>

#5236 From: "karthik" <karthik.m.bharadwaj@...>
Date: Mon Oct 10, 2011 4:21 pm
Subject: at91sam7x ADC polling
superkar1985
Send Email Send Email
 
Hello All,

I am attempting to write a simple adc polling function (the atmel examples use
interrupts which I don't want to use), and it's not working. Here's essentially
what I am doing

<code>
uint32 adc_get_data(uint32 channel)
{
       uint32 data;
       ADC_EnableChannel(AT91C_BASE_ADC, channel);
       ADC_StartConversion(AT91C_BASE_ADC);
       while((adc->ADC_SR & (1 << channel)) != (1 << channel)); // wait for conv
to finish

       data = ADC_GetConvertedData(AT91C_BASE_ADC, channel);
       ADC_DisableChannel(AT91C_BASE_ADC, channel);
       return data;
}

int main()
{
       /** all inits and configs **/
       while(TRUE)
       {
             data = adc_get_data(ADC_CHANNEL_5);
             printf("%d\n\r", data);      // serial dbgu port configured
       }
}

</code>

However, on the serial port, I'm reading all zeros. what am I doing wrong?

I appreciate your help!

#5237 From: S Santoshi Singh ssantoshi <ssantoshi@...>
Date: Tue Oct 11, 2011 3:37 am
Subject: Re: at91sam7x ADC polling
ssantoshi@...
Send Email Send Email
 
Hi Karthik,

After ADC initialization , please check whether your pio's are configured in input mode or not.

-- Original Message --
From: "karthik" <karthik.m.bharadwaj@...>
To: AT91SAM@yahoogroups.com
Date: Mon, 10 Oct 2011 16:21:45 -0000
Subject: [AT91SAM] at91sam7x ADC polling

Hello All,

I am attempting to write a simple adc polling function (the atmel examples use interrupts which I don't want to use), and it's not working. Here's essentially what I am doing

<code>
uint32 adc_get_data(uint32 channel)
{
uint32 data;
ADC_EnableChannel(AT91C_BASE_ADC, channel);
ADC_StartConversion(AT91C_BASE_ADC);
while((adc->ADC_SR & (1 << channel)) != (1 << channel)); // wait for conv to finish

data = ADC_GetConvertedData(AT91C_BASE_ADC, channel);
ADC_DisableChannel(AT91C_BASE_ADC, channel);
return data;
}

int main()
{
/** all inits and configs **/
while(TRUE)
{
data = adc_get_data(ADC_CHANNEL_5);
printf("%d\n\r", data); // serial dbgu port configured
}
}

</code>

However, on the serial port, I'm reading all zeros. what am I doing wrong?

I appreciate your help!


::DISCLAIMER::
-----------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or ECIL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of ECIL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

THIS MAIL IS SCANNED BY ECIL IMSS FOR VIRUS AND SPAMS.
::DISCLAIMER::
-----------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or ECIL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of ECIL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

THIS MAIL IS SCANNED BY ECIL IMSS FOR VIRUS AND SPAMS.

#5238 From: S Santoshi Singh ssantoshi <ssantoshi@...>
Date: Tue Oct 11, 2011 3:37 am
Subject: Re: at91sam7x ADC polling
ssantoshi@...
Send Email Send Email
 
Hi Karthik,

After ADC initialization , please check whether your pio's are configured in input mode or not.

-- Original Message --
From: "karthik" <karthik.m.bharadwaj@...>
To: AT91SAM@yahoogroups.com
Date: Mon, 10 Oct 2011 16:21:45 -0000
Subject: [AT91SAM] at91sam7x ADC polling

Hello All,

I am attempting to write a simple adc polling function (the atmel examples use interrupts which I don't want to use), and it's not working. Here's essentially what I am doing

<code>
uint32 adc_get_data(uint32 channel)
{
uint32 data;
ADC_EnableChannel(AT91C_BASE_ADC, channel);
ADC_StartConversion(AT91C_BASE_ADC);
while((adc->ADC_SR & (1 << channel)) != (1 << channel)); // wait for conv to finish

data = ADC_GetConvertedData(AT91C_BASE_ADC, channel);
ADC_DisableChannel(AT91C_BASE_ADC, channel);
return data;
}

int main()
{
/** all inits and configs **/
while(TRUE)
{
data = adc_get_data(ADC_CHANNEL_5);
printf("%d\n\r", data); // serial dbgu port configured
}
}

</code>

However, on the serial port, I'm reading all zeros. what am I doing wrong?

I appreciate your help!


::DISCLAIMER::
-----------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or ECIL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of ECIL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

THIS MAIL IS SCANNED BY ECIL IMSS FOR VIRUS AND SPAMS.
::DISCLAIMER::
-----------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or ECIL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of ECIL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

THIS MAIL IS SCANNED BY ECIL IMSS FOR VIRUS AND SPAMS.

#5239 From: "Ravi Gupta" <ravi.sgupta@...>
Date: Wed Oct 12, 2011 8:33 am
Subject: Need Info for Audo controller
ravi.sgupta
Send Email Send Email
 
Hi All,
Does any body has idea if the mp3 module is present as an embedded controller in ARM7. I want to prepare a low cost board, where I read mp3 files from mmc card and play. I donot want to spend on an external audio decoder to be connected to ARM controller.
 
Also please let me know if somebody has idea on PIC32(microchip) controller for the same thing.
 
Thanks in Advance,
Regards,
Ravi Gupta

 

Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#5240 From: Dávid Bacsa <david.bacsa@...>
Date: Wed Oct 12, 2011 9:07 am
Subject: Re: Need Info for Audo controller
david.bacsa
Send Email Send Email
 
Hi!

I think this is what you are searching for:

This project uses the Helix fix point mp3 decoder optimised for 32bit microcontrollers.

regards, 
Dávid



2011/10/12 Ravi Gupta <ravi.sgupta@...>
 

Hi All,
Does any body has idea if the mp3 module is present as an embedded controller in ARM7. I want to prepare a low cost board, where I read mp3 files from mmc card and play. I donot want to spend on an external audio decoder to be connected to ARM controller.
 
Also please let me know if somebody has idea on PIC32(microchip) controller for the same thing.
 
Thanks in Advance,
Regards,
Ravi Gupta

 

Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com



#5241 From: "Ravi Gupta" <ravi.sgupta@...>
Date: Wed Oct 12, 2011 11:06 am
Subject: Re: Need Info for Audo controller
ravi.sgupta
Send Email Send Email
 
Hi David,
The link you sent is using TLV320AIC23B audio codec, but I am looking for a controller(may be ARM or other) which has audio codec embedded in controller itselt, like we have usb stack in AT91SAM7S256.
 
Regards,
Ravi Gupta


--- david.bacsa@... wrote:

From: Dávid Bacsa <david.bacsa@...>
To: AT91SAM@yahoogroups.com
Subject: Re: [AT91SAM] Need Info for Audo controller
Date: Wed, 12 Oct 2011 11:07:04 +0200

 
Hi!

I think this is what you are searching for:

This project uses the Helix fix point mp3 decoder optimised for 32bit microcontrollers.

regards, 
Dávid



2011/10/12 Ravi Gupta <ravi.sgupta@...>
 
Hi All,
Does any body has idea if the mp3 module is present as an embedded controller in ARM7. I want to prepare a low cost board, where I read mp3 files from mmc card and play. I donot want to spend on an external audio decoder to be connected to ARM controller.
 
Also please let me know if somebody has idea on PIC32(microchip) controller for the same thing.
 
Thanks in Advance,
Regards,
Ravi Gupta

 

Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com


 

Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#5242 From: "Donald H" <donhamilton2002@...>
Date: Tue Oct 25, 2011 9:39 pm
Subject: Re: Need Info for Audo controller
donhamilton2002
Send Email Send Email
 
>>The link you sent is using TLV320AIC23B audio codec, but I am looking
>>for a controller(may be ARM or other) which has audio codec embedded
>>in controller itselt, like we have usb stack in AT91SAM7S256.

>>Regards,
>>Ravi Gupta

Ravi,

The audio codec stated is an "audio" codecs with word lengths of 16, 20, 24, and
32 bits.

The DACs in any of the 32-bit micros out there have 10-bits DACs.

Not the best for high fidelity.

Please check any 32-bit processor available and you will find none with what you
are looking for.

So, an external codec will be required.

don

PS: If sound quality is not the goal of your project, then any 10-bit DAC will
do.

#5243 From: "k2lrv" <k2lrv@...>
Date: Thu Nov 10, 2011 2:11 pm
Subject: Noobie Low/No cost IDE/compilier for developement
k2lrv
Send Email Send Email
 
I am taking the plunge to learn how to program/use ARM processors.  I am looking
for a decent low cost/free developemtn environment for use on windows
preferably, but I can use linux if that is a better way.

Thanks,

Lou

#5244 From: "Jonathan Dumaresq" <jdumaresq@...>
Date: Thu Nov 10, 2011 7:59 pm
Subject: RE: Noobie Low/No cost IDE/compilier for developement
dumarjo
Send Email Send Email
 
Hi,

Look at

Codesourcery for the toolchain
Openocd and gdb for the debugging
Ecplise with the GNUARM plugin for the IDE

With this you should be setup for Free to code for any arm !

Jonathan
AT91SAM@yahoogroups.com wrote:
> I am taking the plunge to learn how to program/use ARM processors.  I
> am looking for a decent low cost/free developemtn environment for use
> on windows preferably, but I can use linux if that is a better way.
>
> Thanks,
>
> Lou
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

#5245 From: John Hou <houjob@...>
Date: Thu Nov 10, 2011 8:21 pm
Subject: Re: Noobie Low/No cost IDE/compilier for developement
houjob
Send Email Send Email
 
Another point. You can download some comercial version, like Keil. You can use the evalution version for limited code size. If you need a board: http://www.at91sam.org/sam9g45.html. But I think if you can get a board with LCD that will be better depending on what you want to do.
 
Good luck
 
Best Regards,
 
John
From: Jonathan Dumaresq <jdumaresq@...>
To: AT91SAM@yahoogroups.com
Sent: Thursday, November 10, 2011 1:59 PM
Subject: RE: [AT91SAM] Noobie Low/No cost IDE/compilier for developement

 
Hi,

Look at

Codesourcery for the toolchain
Openocd and gdb for the debugging
Ecplise with the GNUARM plugin for the IDE

With this you should be setup for Free to code for any arm !

Jonathan
AT91SAM@yahoogroups.com wrote:
> I am taking the plunge to learn how to program/use ARM processors. I
> am looking for a decent low cost/free developemtn environment for use
> on windows preferably, but I can use linux if that is a better way.
>
> Thanks,
>
> Lou
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>




#5246 From: Vijay Balchandani <vbdrexel@...>
Date: Thu Nov 10, 2011 7:56 pm
Subject: Re: Noobie Low/No cost IDE/compilier for developement
vbdrexel@...
Send Email Send Email
 

Hey Lou,

Check the vendor website for the board you are targeting for fee cross development toolchains.  There are also loads of free linux dev environments you can run in a vm.

On Nov 10, 2011 2:45 PM, "k2lrv" <k2lrv@...> wrote:
 

I am taking the plunge to learn how to program/use ARM processors. I am looking for a decent low cost/free developemtn environment for use on windows preferably, but I can use linux if that is a better way.

Thanks,

Lou


#5247 From: "Alberto Delgado" <alberto.delgado.vasquez@...>
Date: Thu Nov 10, 2011 8:04 pm
Subject: Re: Noobie Low/No cost IDE/compilier for developement
aadelgadov
Send Email Send Email
 
Visit: www.glomationinc.com,
Boards for less than 100 USD.

Great (community based) support.

--
Alberto Delgado
+507 6672 1249

From: "k2lrv" <k2lrv@...>
Sender: AT91SAM@yahoogroups.com
Date: Thu, 10 Nov 2011 14:11:13 -0000
To: <AT91SAM@yahoogroups.com>
ReplyTo: AT91SAM@yahoogroups.com
Subject: [AT91SAM] Noobie Low/No cost IDE/compilier for developement

 

I am taking the plunge to learn how to program/use ARM processors. I am looking for a decent low cost/free developemtn environment for use on windows preferably, but I can use linux if that is a better way.

Thanks,

Lou


#5248 From: "suresh" <kasanova_suri@...>
Date: Mon Nov 14, 2011 11:09 am
Subject: USB composite device with two MSD
kasanova_suri
Send Email Send Email
 
we are developing a USB mass storage device with AT91SAM3U4C controller.we want
to implement a Composite device with two mass storages and later we want to
change one MSD to custom mass storage(vendor).we have tried with two LUNS and it
is working fine.when we try as composite device it is not working.what steps we
need to follow to implement USB composite device with two MSD's.

#5249 From: "Joe Halpin" <jhalpin@...>
Date: Tue Nov 22, 2011 4:07 pm
Subject: USB driver for AT91SAM9GX25-EK
jhalpin@...
Send Email Send Email
 

I just installed SAM-BA for my AT91SAM9GX25-EK board, which wants me to install a USB driver. I have not been able to find one at Atmel’s site, or some others I’ve tried. Anyone know where it’s at?

Thanks

Joe


#5250 From: Josnelihurt Rodriguez Barajas <josnelihurt@...>
Date: Tue Nov 22, 2011 9:03 pm
Subject: Re: USB driver for AT91SAM9GX25-EK
josnelihurt
Send Email Send Email
 
What Os are u using?

On Tue, Nov 22, 2011 at 11:07 AM, Joe Halpin <jhalpin@...> wrote:
 

I just installed SAM-BA for my AT91SAM9GX25-EK board, which wants me to install a USB driver. I have not been able to find one at Atmel’s site, or some others I’ve tried. Anyone know where it’s at?

Thanks

Joe



#5251 From: "Joe Halpin" <jhalpin@...>
Date: Wed Nov 23, 2011 2:53 pm
Subject: Re: USB driver for AT91SAM9GX25-EK
jhalpin@...
Send Email Send Email
 

I found it thanks. It was in the Program Files directory for SAM-BA.

 


#5252 From: "christian_sanjaya90" <christian_sanjaya90@...>
Date: Fri Nov 25, 2011 9:27 am
Subject: SD Card Not Found
christian_sa...
Send Email Send Email
 
Hi folks,

I'm having a problem with a microSD (used in FAT16 SD instruction mode [not
SPI]). I'm using AT91SAM7x256 with NutOS. It reads and writes fine. The problem
occur when my device experience power trip. When it start-up again, system flag
that my miroSD isn't found. I need to reset the device for 2 or 3 times then
system able to find the SD.
The problem is most likely because I never unmount the microSD before shutting
down. I need to do multiple repetitive operations with the SD, so I don't
unmount and remount every time.
Is there any trick to refresh the SD like by asserting certain signal to the SD?
Where can I find real step by step operation to SD? As in what signal sent to
initialize, mount, etc.
Thanks people. Appreciate your help.

Chris

#5253 From: abdul baset marjani <a_b_baset@...>
Date: Wed Dec 28, 2011 2:25 pm
Subject: streanig.h
baset.marjani
Send Email Send Email
 
hi all.i need streaing.h file for keil.anybodi can help me?

#5254 From: "ehsan" <ehsan_ziyaee@...>
Date: Sun Jan 15, 2012 7:15 am
Subject: HELP ME PLS (problems in intrrupt)
ehsan_ziyaee
Send Email Send Email
 
hi every one ............
i have a big promblem in intrrupt ... each intrrupt that i actived it , occured
one time .... and for the second time it goes to pendding mode ...... pls help
me .............

void timer0_init (void)
{
  unsigned int div;
  unsigned int tcclks;
  unsigned int MCLK_F = 48000000;
  unsigned int Disr_F = 1;

  PMC_EnablePeripheral(AT91C_ID_TC0);
  IRQ_ConfigureIT(AT91C_ID_TC0, AT91C_AIC_PRIOR_HIGHEST |
AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, (void (*)(void))ISR_Tc0);
  IRQ_EnableIT(AT91C_ID_TC0);

  TC_FindMckDivisor(Disr_F,MCLK_F, &div, &tcclks);
  TC_Configure(AT91C_BASE_TC0,tcclks| AT91C_TC_CPCTRG);
  AT91C_BASE_TC0->TC_RC  = (MCLK_F / div) / Disr_F;
  AT91C_BASE_TC0->TC_IER = AT91C_TC_CPCS;
  TC_Start(AT91C_BASE_TC0);
}

void ISR_Tc0 (void)
{
  unsigned int dummy;
  dummy = AT91C_BASE_TC0->TC_SR;
  dummy = dummy;
  kk++;
  j = ~j;
  if(!j)PIO_Set(&GPIO_porta0);
  else PIO_Clear(&GPIO_porta0);

  AT91C_BASE_AIC->AIC_ICCR = 0x1 << AT91C_ID_TC0;
  AT91C_BASE_AIC->AIC_EOICR = 0;
}

#5255 From: "Eric Pasquier" <epasquier@...>
Date: Sun Jan 15, 2012 7:18 pm
Subject: RE: HELP ME PLS (problems in intrrupt)
eric_pasquier
Send Email Send Email
 

Hi,

Did you set the IRQ stack correctly ?

Eric.

 

De : AT91SAM@yahoogroups.com [mailto:AT91SAM@yahoogroups.com] De la part de ehsan
Envoyé : dimanche 15 janvier 2012 08:16
À : AT91SAM@yahoogroups.com
Objet : [AT91SAM] HELP ME PLS (problems in intrrupt)

 

 

hi every one ............
i have a big promblem in intrrupt ... each intrrupt that i actived it , occured one time .... and for the second time it goes to pendding mode ...... pls help me .............

void timer0_init (void)
{
unsigned int div;
unsigned int tcclks;
unsigned int MCLK_F = 48000000;
unsigned int Disr_F = 1;

PMC_EnablePeripheral(AT91C_ID_TC0);
IRQ_ConfigureIT(AT91C_ID_TC0, AT91C_AIC_PRIOR_HIGHEST | AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, (void (*)(void))ISR_Tc0);
IRQ_EnableIT(AT91C_ID_TC0);

TC_FindMckDivisor(Disr_F,MCLK_F, &div, &tcclks);
TC_Configure(AT91C_BASE_TC0,tcclks| AT91C_TC_CPCTRG);
AT91C_BASE_TC0->TC_RC = (MCLK_F / div) / Disr_F;
AT91C_BASE_TC0->TC_IER = AT91C_TC_CPCS;
TC_Start(AT91C_BASE_TC0);
}

void ISR_Tc0 (void)
{
unsigned int dummy;
dummy = AT91C_BASE_TC0->TC_SR;
dummy = dummy;
kk++;
j = ~j;
if(!j)PIO_Set(&GPIO_porta0);
else PIO_Clear(&GPIO_porta0);

AT91C_BASE_AIC->AIC_ICCR = 0x1 << AT91C_ID_TC0;
AT91C_BASE_AIC->AIC_EOICR = 0;
}


#5256 From: ehsan ziyaee <ehsan_ziyaee@...>
Date: Mon Jan 16, 2012 5:53 am
Subject: Re: HELP ME PLS (problems in intrrupt)
ehsan_ziyaee
Send Email Send Email
 
hi Eric ....
i can run it correctly,yesterday  .... thanks a lot for your attention .....



From: Eric Pasquier <epasquier@...>
To: AT91SAM@yahoogroups.com
Sent: Sunday, January 15, 2012 11:18 AM
Subject: RE: [AT91SAM] HELP ME PLS (problems in intrrupt)

 
Hi,
Did you set the IRQ stack correctly ?
Eric.
 
De : AT91SAM@yahoogroups.com [mailto:AT91SAM@yahoogroups.com] De la part de ehsan
Envoyé : dimanche 15 janvier 2012 08:16
À : AT91SAM@yahoogroups.com
Objet : [AT91SAM] HELP ME PLS (problems in intrrupt)
 
 
hi every one ............
i have a big promblem in intrrupt ... each intrrupt that i actived it , occured one time .... and for the second time it goes to pendding mode ...... pls help me .............

void timer0_init (void)
{
unsigned int div;
unsigned int tcclks;
unsigned int MCLK_F = 48000000;
unsigned int Disr_F = 1;

PMC_EnablePeripheral(AT91C_ID_TC0);
IRQ_ConfigureIT(AT91C_ID_TC0, AT91C_AIC_PRIOR_HIGHEST | AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL, (void (*)(void))ISR_Tc0);
IRQ_EnableIT(AT91C_ID_TC0);

TC_FindMckDivisor(Disr_F,MCLK_F, &div, &tcclks);
TC_Configure(AT91C_BASE_TC0,tcclks| AT91C_TC_CPCTRG);
AT91C_BASE_TC0->TC_RC = (MCLK_F / div) / Disr_F;
AT91C_BASE_TC0->TC_IER = AT91C_TC_CPCS;
TC_Start(AT91C_BASE_TC0);
}

void ISR_Tc0 (void)
{
unsigned int dummy;
dummy = AT91C_BASE_TC0->TC_SR;
dummy = dummy;
kk++;
j = ~j;
if(!j)PIO_Set(&GPIO_porta0);
else PIO_Clear(&GPIO_porta0);

AT91C_BASE_AIC->AIC_ICCR = 0x1 << AT91C_ID_TC0;
AT91C_BASE_AIC->AIC_EOICR = 0;
}



#5257 From: "ROHANT" <rohan_engr@...>
Date: Sat Jan 21, 2012 5:26 pm
Subject: AT91RM9200
rohan_engr
Send Email Send Email
 
Dear All

We have design our on board using AT45DB645 SPI dataflash.When I download the
Ronboot.bin file to the RAM is sucessfully reads the FLASH id as indicated here

ATMEL LOADER VER 1.01 May 03 2004 14:54:39
*--------------------------------------*
DataFlash:AT45DB642
Nb pages:   8192
Page Size:   1056
Size= 8650752 bytes
Logical address: 0xC0000000
*--------------------------------------*
1: Download Dataflash [addr]
2: Read Dataflash [addr]
3: Start U-BOOT [C0008000 => 21F00000]
*--------------------------------------*
1 c0000000
CCCC

Write 11776 bytes in DataFlash [0xc0000000]
Verify Dataflash: Failed


Can anyone tell what is this issue?

#5258 From: "Ravi Gupta" <ravi.sgupta@...>
Date: Mon Feb 6, 2012 1:30 pm
Subject: Problem with IMX25 GPIO
ravi.sgupta
Send Email Send Email
 
Hi All,
I am programming on a IMX25 based board. I am trying to set configuration for ARMCLK (register
IOMUXC_SW_MUX_CTL_PAD_EXT_ARMCLK). I have configured it in ALT5 mode. There is no PAD control register for this pin. But I am trying to turn it ON, no voltage is seen on the pin although the datasheet says 3.3V will appear on PIN.
 
Can someone please help me
 
Regards,
Ravi

 

Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#5259 From: "Zee" <mzahid_rasheed@...>
Date: Sat Feb 25, 2012 2:43 pm
Subject: Re: Help to read load cell data
mzahid_rasheed
Send Email Send Email
 
I have done it, Now I need to get some digital sequence on extension ports
according to analog signal level and the digital sequence i need  4bit only


--- In AT91SAM@yahoogroups.com, "Ewout" <ewout@...> wrote:
>
>
> Don't try this yourself. From the way you pose this question, It appears you
do not have a clue how to start this.
> I reckon you would be better of hiring someone who could do this for you.
>  If you persist, go to Atmel's website, load the datasheet of the device you'r
interested in and look up :"ADC" or "Analog to Digital Converter".
>
> Ewout
>
> --- In AT91SAM@yahoogroups.com, "Zee" <mzahid_rasheed@> wrote:
> >
> > Hi everyone,
> >             I need help to read analog data from load cell. And how i can
handle it in C.
> >
> > Regards
> >
> > MZR
> >
>

#5260 From: mzahid rasheed <mzahid_rasheed@...>
Date: Sat Feb 25, 2012 3:28 pm
Subject: SAM7P256
mzahid_rasheed
Send Email Send Email
 
Hello,
         I have analog data read by "AD6 & AD7" now I need to have 4 bit digital sequence at extension ports (like  PA0, PA1, PA2,PA3) and this sequence is corresponding to analog signal level.
thanks

MZ

Messages 5231 - 5260 of 5280   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help