new propeller ?
Olli
Posts: 7
Hi everybody,
what about adding some extra registers to the new Propeller chip.
Maybe some pos and neg edge detecting. Could keep coding a bit smaller.
"esra, esrb ( edge status register A or B )" tells me a rising or falling edge has been detected on pin , reading tells me a edge has been detected or not , writing a 1 to it clears flag
"ecra, ecrb ( edge config register A or B )" decides pos edge or neg edge detection
or adding some hardwired I2c, serial, SPI registers on chip. ( sure that can(is) be done by a cog in software..... )
or some ADC functions like in Atmega.
or some DAC functions
okay price of that would rise.... but good hardware ....good price
and another maybe silly question. Why operating voltage was set to 3.3V and not 5V.
what about adding some extra registers to the new Propeller chip.
Maybe some pos and neg edge detecting. Could keep coding a bit smaller.
"esra, esrb ( edge status register A or B )" tells me a rising or falling edge has been detected on pin , reading tells me a edge has been detected or not , writing a 1 to it clears flag
"ecra, ecrb ( edge config register A or B )" decides pos edge or neg edge detection
or adding some hardwired I2c, serial, SPI registers on chip. ( sure that can(is) be done by a cog in software..... )
or some ADC functions like in Atmega.
or some DAC functions
okay price of that would rise.... but good hardware ....good price
and another maybe silly question. Why operating voltage was set to 3.3V and not 5V.
Comments
There objects in the object exchange for most of these and with a little bit of code you can get the timers to output a serial bitstream.
With a couple of resistors and capacitors you can make a sigma-delta ADC. The demo board has one on the mic input
You can generate PWM signals with the timers which you just need to put through a low pass filter to get a DAC. The demo board has two connected to the headphone jack.
And with some edge detecting registers ( I think not quite hard to add at chip ) there are some nice possibilities. not only for edge detection, if implemented clever
Combine "esra,ecra" with Dira and u might get some extra functions.
setting an output pin high for one clock cycle etc...
If you look at some of the leading FPGA's they are using 1V2, 1V and 0V9. So now extra silicon (and pins) has to be devoted to various I/O external voltages. Chip also explained that as a consequence of the lower voltage and higher switching speed there is also more leakage and so current consumption goes up.
Thats progress for you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
However, the real problem is the time, cost and compatibility problems involved in making changes to the chip. It would probably take several months of an IC layout engineers time, new stencils may have to be manufactured and the chip will be physically larger which would all make a pretty significant difference in price. Then the changes could easily break a lot of existing code, the spin interpreter would need rewriting and all the documentation would need to change.
The changes you have suggested could be useful in some situations. However, before anything is included in a chip it must first be judged whether it is more important than some other feature. In this case, most of the changes you have asked for are reasonably well covered by functions of the chip and therefore don't have a high priority.
With "waste of power" I meant waste of clock ticks not power consumption !
and maybe someone finds thats idea with edge detection registers useful...
Maybe this would be too expensive in terms of silicon or more likely cog memory addresses, maybe it would not be useful (had I heard that the prop II is meant to have faster hub access somehow).
Something to think about.