N-nodeU design

From emboxit
Revision as of 16:52, 11 September 2015 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

LPC11U68

Good news everyone, some of the guys over at mbed solved it! 
It turns out that as soon as an interrupt is used in the mbed library, VTOR gets remapped to the bottom of the SRAM. 
Calling SCB->VTOR = 0; restores it to reset default and now ReinvokeISP works!
This part is enumerated as a Mass Storage Class (MSC) device to a PC or another
embedded system. In order to connect via the USB interface, the part must use the
external crystal at a frequency of 12 MHz. The MSC device presents an easy integration
with the PC’s operating system. The part’s flash memory space is represented as a drive
in the host file system. The entire available user flash is mapped to a file of the size of the
part’s flash in the host’s folder with the default name ‘firmware.bin’. The ‘firmware.bin’ file
can be deleted and a new file can be copied into the directory, thereby updating the user
code in flash. Note that the filename of the new flash image file is not important. After a
reset or a power cycle, the new file is visible in the host’s file system under it’s default
name ‘firmware.bin’.
PIO0_1 —...A LOW level on this pin during reset starts the ISP command handler or the USB device enumeration.
PIO0_3 —... A LOW level on this pin during reset starts the ISP command handler. A HIGH level during reset starts the USB device enumeration.

NCP702

Linear Voltage Regulator, LDO, Ultra Low Iq, Ultra Low Noise, 200 mA


MLCC

  • SMALLEST AVAILABLE SIZE FOR 47uF IS 0805

10 uF AVAILABLE IN 0402

Choke

Ferrite Chip Bead 		
Impedance: 	600 Ohms 		
Maximum DC Current: 	1 A
0603 (1608 metric)
Test Frequency: 	100 MHz


SPI

DM1000
GPIO 5 / 6 are sampled / latched on the rising edge of the RSTn pin to determine the SPI mode. 
They are internally pulled low to configure a default SPI mode 0 without the use of external components. 
If a mode other 0 is required then they should be pulled up using an external resistor 
of value no greater than 10 kΩ to the VDDIO output supply.
mbed
The default settings of the SPI interface are 1MHz, 8-bit, Mode 0
The SPI Interface can be used to write data words out of the SPI port, returning the data received back from the SPI slave. 
The SPI clock frequency and format can also be configured. 
The format is set to data word length 8 to 16 bits, and the mode as per the table below:
Mode	  Polarity	Phase
0	  0	        0
1	  0	        1
2	  1	        0
3	  1	        1
The SPI master generates a clock to synchronously drive a serial bit stream slave. The slave returns a bit stream, also synchronous to the clock. 

USB common mode