|
46
|
Products / Arduino Due / Re: CAN interface
|
on: May 17, 2013, 08:15:51 am
|
Thanks Collin80, I think I did my due diligence with the design but I've never used CAN so it makes sense to ask those that have. Mind you the same applies to just about everything on this board  I've replaced the RS resistors with two digital pots, mostly because I was desperate for some more CPU pins and doing that freed up 4 of them. _____ Rob
|
|
|
|
|
47
|
Products / Arduino Due / Re: [SOLVED] Makefile for the Due
|
on: May 17, 2013, 07:55:28 am
|
|
That makes sense, AFAIK all register access with CMSIS is performed through structures that mimic the physical registers, anything that packs the structs will cause havoc.
______ Rob
|
|
|
|
|
49
|
Using Arduino / General Electronics / Re: My serious fail with ribbon cable
|
on: May 16, 2013, 10:20:17 pm
|
the 80 conductor ribbon cable version of an IDE cable. What is this cable? The IDE is software it doesn't really have a cable, but if it did it would be the USB cable. Oh hang on, IDC. Ok as vasquo says it's easy to make your own, get the parts and squeeze the halves onto the cable in a vice. _____ Rob
|
|
|
|
|
51
|
Using Arduino / Microcontrollers / Re: Goldilocks = Arduino Uno + 1284p
|
on: May 16, 2013, 11:06:14 am
|
Because of the lack of reverse current protection in the regulator chip, we need to use a jumper to select the power source. Can you bump the regulator output a bit and pass it through a schottky diode? Does anyone see a requirement to have a 5V 3A continuous supply on an Arduino platform? 3A might be nice but if you currently have 2.4A I would think that's enough. It's heaps better that any standard Arduino. ______ Rob
|
|
|
|
|
52
|
Products / Arduino Due / CAN interface
|
on: May 16, 2013, 11:00:14 am
|
As some will know I am working on a new Due-style board, it will have both the SAM's CAN ports broken out to transceivers with the current circuit being as follows.  Are there any CAN experts here that can comment on this and/or suggest modifications? NUP2202W1 is an ESD protection device. MCP4242 is a digital pot, I may use that instead of the resistors to set the slew rate. ______ Rob
|
|
|
|
|
54
|
Products / Arduino Due / Re: Arduino Due micros() resolution
|
on: May 16, 2013, 10:47:45 am
|
One can only assume that the guys writing the code got it right and a function called micros() actually has a resolution of 1uS. If that was not the case I'm sure we would have heard about it by now. if the prescaler is 64 in the stock Arduino code, I'm not familiar with the code but the hardware is totally different, any prescaler referred to in AVR code will have no bearing on ARM code. On an ARM I would think they are reading the systick counter directly. ______ Rob
|
|
|
|
|
60
|
Using Arduino / Programming Questions / Re: Determining RAM used at a given time
|
on: May 14, 2013, 08:23:55 pm
|
I'm curious how fragmentation of RAM is dealt with. It's probably more info than my brain will handle though. It's not dealt with at all, so your brain should be able to handle the process  Typically in an embedded system you should malloc() only when configuring the program at the start and never again. ______ Rob
|
|
|
|
|