Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:icspio [2015/01/11 17:40] – darron | projects:icspio [2017/01/12 22:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
the Velleman K8048. | the Velleman K8048. | ||
- | ICSP I/O was not designed a replacement for more established | + | ICSP I/O was not designed |
and more reliable protocols but it can be used for prototyping. | and more reliable protocols but it can be used for prototyping. | ||
Line 46: | Line 46: | ||
== Set LEDs and read switches in a loop == | == Set LEDs and read switches in a loop == | ||
< | < | ||
- | ktest 5 ARG | + | ptest 5 ARG |
</ | </ | ||
== Set LEDs and read switches from the command line == | == Set LEDs and read switches from the command line == | ||
< | < | ||
- | kio CMD ARG | + | pio CMD ARG |
- | Src/ | + | |
- | Src/ | + | |
</ | </ | ||
Line 81: | Line 79: | ||
PGD is used for data I/O with even parity and PGC for clock synchronisation. | PGD is used for data I/O with even parity and PGC for clock synchronisation. | ||
PGC is unidirectional and is only controlled by the master (host), this is the | PGC is unidirectional and is only controlled by the master (host), this is the | ||
- | slave. The interface may or not be inverted but this is catered for by the | + | slave. The interface may or not be inverted but this is catered for by |
- | k8048 Microchip PIC programmer | + | [[: |
- | Data is setup on the master prior to a clock low to high transition and setup | + | Data is set up on the master prior to a clock low to high transition and set up |
on the slave after a clock low to high transition. Data is read after a clock | on the slave after a clock low to high transition. Data is read after a clock | ||
high to low transition on both master and slave. | high to low transition on both master and slave. |