Show Posts
Pages: 1 ... 10 11 [12] 13 14 ... 16
166  Products / Arduino Due / Re: Building a CAN communication protocol interface for Arduino DUE on: November 12, 2012, 01:29:03 pm
Palliser

thanks for the exhaustive introduction. I would keep ASF out of this project, no need to add a million lines of code to access the CAN peripheral. We can extract the info from the relevant files.

Please leave Atmel studio 6 out of the development process, making the code available through the IDE is what we need in order to get many people to help out, test and use the code.

Let me know if we need to design a can shield.

keija: the library will be developed and made available here https://github.com/arduino-libraries/arduino-due-can join github if you want to be part.

m

Hello Massimo,

you talk about the ASF, yes the CAN_CAN_EXAMPLE1 is heavy but all what's needed is there all files maybe some more than needed but the component_"what ever".h are from the AFS or not?

About the files where are the comments?

An Shield is absolutely nessesary an transciever chip is needed to get access to the CAN-Bus.

Markus
167  Products / Arduino Due / Re: Missing info on hardware web pages on: November 12, 2012, 03:53:44 am
I've had a request for the Corel file so here's a link to the file for anyone interested.

www.robgray.com/temp/pinout.cdr

______
Rob

Thanks
168  Products / Arduino Due / Re: Missing info on hardware web pages on: November 11, 2012, 04:29:19 pm
Quote
We already have pinout photo threads:
Yes we do, and that's just another indictment on the Arduino documentation.

Go to probably any other board's web site and there's a nice graphic of some kind showing the pinout of the connectors. Go to the Arduino website and you wind up downloading a schematic and mapping the pins to a data sheet.

EDIT:
Here's one I did for a board I'm working on at the moment



That took me all of 10 minutes to do. Why doesn't Arduino do something similar? Or at least use the photos linked to above.

_____
Rob

How? With what programm?
169  Products / Arduino Due / Re: Building a CAN communication protocol interface for Arduino DUE on: November 09, 2012, 10:44:43 am
Hello Lenni. Thank you very much for your encouraging words concerning this initiative to complete the newly created avenue to make Arduino Due to get seriously involved with the CAN standard.

In reference to your first suggestion, as too many of us know, CANopen is a higher level CAN bus protocol. Even thou both use the CAN 2.0B standard for the physical and data link layer, that's it. They differ from the other five layers in the OSI model. I am completely agree with you about implementing CANopen but we are in the incipient phase in building this interface, so, one step at a time. I believe the help from people like you will be needed very soon. I have planned to take advantage of what is inside the ATSAM3X8E, two can controllers that provide all the features required to implement the serial communication protocol CAN as referred by ISO/11898A that includes 1.0 Part A and 2.0 Part B.

In reference to your second suggestion, yes, it will be necessary a couple of transceiver like SN65HVD234 to provide the required transmission capabilities between the differential CAN bus and the CAN controller. I am taking notes of your comments and other comments from this community to keep in mind. Thank you again.

I have interrests to, I would prefer the SN65HVD235 with the possibility off using the Autobaudfunktion without making trouble on the bus. The firm I worked for parttime has many CAN-Bus equipment so I can test.

Implementation of LIN and CAN Arduino Style for the Due is on my ToDo list to get "warm" with the Due.
170  Products / Arduino Due / Re: Arduino Due and Atmel Studio 6 Tutorial ? on: November 09, 2012, 10:36:35 am
Hi
Is there a tutorial for the integration of the arduino due in Atmel Studio 6 ?
Or could someone explain me how to do ?

Many thanks
blabeli
Hi the lastest Framework from Atmel 3.4.1 or so has an integration for the Due many examples are on the ASF
171  Products / Arduino Due / Re: DUE temperature sensor API on: November 08, 2012, 11:42:04 am
I put in a request to enable the ADC15/temperature sensor. However - it is the temperature on the die - which does warm up.
To make it be close to the ambient temperature is going to require implementing a power down mode - no power no die warmup - and then on wakeup reading the temperature straight away.

That seems like a very longwinded way to get a rather inaccurate measurement of the ambient temperature. If you want to measure air temperature, use a temperature sensor that is in the air, not embedded inside a heat-generating device and thermally insulated from the air.

On the other hand, if you need to monitor the on-chip temperature for some reason (like, to raise an alarm if it gets too hot) then that would be a good use of this sensor.
In my opinion it's an good exercise to get "warm" with the new Controller/Board it was similar my first move with the Leonardo figure out how warm is the Controller, for fun not for use...
172  Products / Arduino Due / Re: Arduino Due using the same language ? on: November 08, 2012, 02:24:01 am
Most all of my simple sketches seem to run on my due. However I have not found out how to go into a register and modify a single bit yet, I would dearly love to go to 0x40094000 and change bit# 19 to a zero.
I have been trying with word, bitWrite, and bitClear with no success. Bit read seems to work and the write protect register seems to be off for this byte. All I want to do is change one bit. Getting a little frustrated. Might have to box the due until there is more docks and stuff. The mega 2560 has no problem with simple stuff like this.

From the Techpaper you http://www.atmel.com/Images/doc11057.pdf Page 1020
Quote
This register can only be written if the bits WPSWS0 and WPHWS0 are cleared

Forward to Page 1053...

If I understud it right the Register 0x400940E8 (PWM_WPSR) needs only be read to set bits on Register 0x40094000

173  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC on: November 06, 2012, 09:58:08 am
Damm!

Serial Monitor is brocken no Serial output from the Leonardo

Works with the official?
Yes there is it ok
174  Products / Arduino Due / Re: IDE 1.5.1 on: November 06, 2012, 08:09:27 am
Yes solve my problem on Win7 64bit
175  Products / Arduino Due / Re: IDE 1.5.1 on: November 06, 2012, 04:51:50 am
Which IDE are you using (linux32/64, win or mac)?

Windows on an Win7 64bit
176  Products / Arduino Due / IDE 1.5.1 on: November 06, 2012, 03:08:04 am
Hi,

there is something wrong in the IDE

There are no Menueline and no Buttons and I get this error.
Quote
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getBoardPreferences()Lprocessing/app/helpers/PreferencesMap;
   at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:98)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
   at javax.swing.JComponent.paint(JComponent.java:1015)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
   at java.awt.Container.paint(Container.java:1780)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getBoardPreferences()Lprocessing/app/helpers/PreferencesMap;
   at processing.app.EditorLineStatus.paintComponent(EditorLineStatus.java:98)
   at javax.swing.JComponent.paint(JComponent.java:1029)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paint(JComponent.java:1038)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
   at javax.swing.JComponent.paintChildren(JComponent.java:864)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
   at javax.swing.JComponent.paint(JComponent.java:1015)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
   at java.awt.Container.paint(Container.java:1780)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
   at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Did someone has an idea, IDE 1.5 works normal.
177  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC on: November 06, 2012, 01:47:14 am
-Some workarounds for Leonardo board in the AvrDude Wrapper. (somebody with a Leonardo please test this!)

Jupp works for me. Thanks.

1 or 2 things I thinking about

1st  Numbers for the code lines so it is easier to find errors in the code
2nd the possibility to set self the counter when the Estimated memory line apears red (in percent maybe)
3rd an option to deactivate the start splashscreen to get faster to work

And a dream of me an Board-Generator so I can generate the Lines for the Board.txt from an Editor mask and pulldown selections for some parts and autointegrate it.

Damm!

Serial Monitor is brocken no Serial output from the Leonardo
178  Products / Arduino Due / Re: Which one is the working Due version? on: November 02, 2012, 03:48:15 am
I think a missing crystal is a huge difference. Especially for people who wanted to use the SAMs RTC.

Yes, well if they added the crystal I'd have to agree that it makes a difference, but they have removed it so there will not be any support for using it. Has someone actually gotten a board with the crystal? If then it's just a very small number of boards that has it.

(Don't get me wrong, I'd like the crystal too. But I'm sure they had their reasons for removing it.)
The RTC can be used just without the cystal you can choose in the register to use external or internal clock

Good to know.

Thanks, man.

No problem.
http://www.atmel.com/Images/doc11057.pdf at Page 248
179  Products / Arduino Due / Re: Which one is the working Due version? on: November 02, 2012, 01:09:57 am
I think a missing crystal is a huge difference. Especially for people who wanted to use the SAMs RTC.

Yes, well if they added the crystal I'd have to agree that it makes a difference, but they have removed it so there will not be any support for using it. Has someone actually gotten a board with the crystal? If then it's just a very small number of boards that has it.

(Don't get me wrong, I'd like the crystal too. But I'm sure they had their reasons for removing it.)
The RTC can be used just without the cystal you can choose in the register to use external or internal clock
180  Products / Arduino Due / Re: Which one is the working Due version? on: November 01, 2012, 01:23:12 pm
i mean...
Looks for me like an first release without the RTC-crystal because the Aref labeling is missing too.
Pages: 1 ... 10 11 [12] 13 14 ... 16