Karl Palsson
62849f043c
Add helper function for max clock on HSI for f100
Based on existing HSI code. Tested with f100c8, on custom board with no
external crystals or resonators.
13 years ago
Karl Palsson
71a3a7f2b1
Add Device Electronic Signature support.
Working unique id support, but not 100% convinced that this is the "least surprise"
path. ST's docs provide the bits from low to high, in 2xu16 and 2xu32.
But to get it back as a "u96" the highest bits should be first?
13 years ago
Karl Palsson
9531d653fb
Even/Odd parity bit configs used the wrong bit
Checked F10x, F100, F4 and L1 reference manuals.
Confirmed with my user application code.
13 years ago
Michael Ossmann
da27adcf1c
Merge pull request #6 from TitanMKD/master
Added ROM to RAM code copy & exec
13 years ago
TitanMKD
3c8e76f679
Added ROM to RAM code copy & exec with example of how to use it (miniblink_rom_to_ram).
13 years ago
Michael Ossmann
d2b15c72be
Merge pull request #5 from TitanMKD/master
Interrupt & SysTick for LPC43xx
13 years ago
TitanMKD
8d97dbc7c3
Work on scs.h register and also nvic.h.
ARM Interrupt API (see nvic.h).
ARM SysTick API (see systick.h).
Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
13 years ago
Michael Ossmann
161aad0139
quick comment fix
13 years ago
Michael Ossmann
14026fc31f
make install now installs lpc43xx and other non-stm32 stuff
13 years ago
Michael Ossmann
251687fe37
changed I2C to run directly from IRC
13 years ago
Michael Ossmann
bef51163ce
more CGU register values
13 years ago
Michael Ossmann
4de126f6e0
Merge pull request #4 from TitanMKD/master
LPC43xx SSP driver fixed (tested with Write)
13 years ago
TitanMKD
8adc873e84
Fixed SSP, tested with Oscilloscope Write work fine (tested SPI Mode).
For more details on tests see ssp/README.
13 years ago
Michael Ossmann
416f633dbb
fixed some column alignment to conform with libopencm3 precedent
13 years ago
Michael Ossmann
a39df46db4
removed some unused SCU config
13 years ago
Michael Ossmann
3a4a6b75de
resolved minor conflict
13 years ago
Michael Ossmann
e7941eace9
added i2c.c that I forgot earlier
13 years ago
TitanMKD
d7a7fd9d30
* Added SSP Driver (Not Tested).
* Replaced leading space by tabulations.
13 years ago
Michael Ossmann
5698016877
moved stuff out of i2cdemo.c and into drivers/headers
13 years ago
Michael Ossmann
44db38301c
fixed i2cdemo to supply 1V8 for Si5351C output supply
13 years ago
Michael Ossmann
21304c01b6
Merge pull request #2 from TitanMKD/master
mostly SCU
13 years ago
TitanMKD
58d5b96291
Fixed multi-line comments now it is "compliant" with Linux CodingStyle.
13 years ago
Michael Ossmann
245e1d6f07
Merge remote branch 'upstream/master'
13 years ago
TitanMKD
686c0cf050
Minor fix
13 years ago
TitanMKD
23ad036ed6
Merge branch 'master' of git://github.com/mossmann/libopencm3
13 years ago
Michael Ossmann
b55d006d02
got I2C demo working but stuff still needs to be moved out of here and into drivers
13 years ago
TitanMKD
67a048b5b0
Added SCU I2C0 specific configuration.
13 years ago
TitanMKD
646e8f20f1
Merge branch 'master' of git://github.com/libopencm3/libopencm3
13 years ago
TitanMKD
cb1cd9d9d6
Merge branch 'master' of git://github.com/libopencm3/libopencm3
13 years ago
TitanMKD
e7fbc2220b
Added JellyBean Configuration for PinMux, GPIO In/Out (work in progress).
Added scu driver file scu.c.
Modified Makefile/Makefile.include to generate .map file and use -O2 as optimization.
Modified hackrf-jellybean miniblink.c to enable 1V8 and blink LED1,2&3 with configuration of PinMux and GPIO.
13 years ago
Michael Ossmann
770134b4d5
prefixed some register defs
13 years ago
Nicolas Schodet
12a73ce052
Use ODR instead of IDR to toggle an output GPIO
IDR represents the level on pin input while ODR is the value requested by the
programmer. This makes a difference for example when using the output as open
drain.
13 years ago
Michael Ossmann
10e71edb82
started i2c example, still incomplete and much will be moved to drivers/headers elsewhere
13 years ago
Michael Ossmann
5339d06e9c
Windowed Watchdog Timer register definitions
13 years ago
Michael Ossmann
428ae82fc1
Alarm Timer register definitions
13 years ago
Michael Ossmann
642d8a7451
Repetitive Interrupt Timer register definitions
13 years ago
Michael Ossmann
2eb41f00b4
Timer register definitions
13 years ago
Michael Ossmann
1ca7c648a9
SDIO register definitions
13 years ago
Michael Ossmann
fd3f3bc0bb
GPDMA register definitions
13 years ago
Michael Ossmann
7652a8457f
GIMA register definitions
13 years ago
Michael Ossmann
7981469a35
SCU register definitions
13 years ago
Michael Ossmann
c185f9b40f
Event Router register definitions
13 years ago
Michael Ossmann
702559e2cb
ADC register definitions
13 years ago
Michael Ossmann
5c2e954997
I2S register definitions
13 years ago
Michael Ossmann
40572e7541
I2C register definitions
13 years ago
Michael Ossmann
328cf2a2b7
I2C register definitions
13 years ago
Michael Ossmann
0d3fbc154b
basic usb.h (only USB0 registers so far)
13 years ago
Michael Ossmann
8b98d63c5d
better? names in creg.h
13 years ago
Michael Ossmann
5585e41311
remembered to use MMIO32() everywhere
13 years ago
Michael Ossmann
98bb0b5c91
started nvic.h with some interrupt IDs
13 years ago