I have now successfully programmed such a software stack.
8 levels are possible. each call requires 62 cycles.
A while ago i had difficulties on 8-level PIC, particulary when using I2C EEPROM, but did not have the knowledge to implement software stack.
so the 16f57 5x5 LED matrix was the first prototype to try this technique.
I consider the baseline PICs very suitable to make experiment: particulary nothing must be initialized, and they do not cost so much.
I have many other PICs, including 18f13k50, 16f884, 18f45k20, 16f716.
this project is shown a little on my new web page:
**broken link removed**
the plan is to program a dox matrix scrolling clock!
yesterday i connected a 32.768 KHz quartz clock generator, built from 2n3904 transistors. I've searched nearly two years for a suitable circuit!
Anyone here who has ever used software stacks, in RISC assembly, not via embedded OS?
I have a little 8086 background so the implementation was not that unusual.
however I was surprized it takes 62 cycles each time, due to neccessary shifting, and to control banking/paging bits.
the LED dot matrix clock was designed with as little components as possible, for instance, no multiplex transistors/base resistors, all done using just one LCX244 buffer IC.
there are more projects to be added in the next few months.
also i was thinking to access I2C EEPROM on the 16f57, now since there are 8 stack levels, this should be possible (however it could be a little lengthy, and slow).
anyone ever used I2C devices on 16f5X?
remember I do not have to use them, it is just for demonstration/exercise.
but i think the dot matrix clock is a real-world application, not just an absurd showcase prototype.
most of my questions are about design, or analog electronics, not so much technical programming, tough i also try to advance in programming.
since I have it already executing, it is not a "how-to" question.
8 levels are possible. each call requires 62 cycles.
A while ago i had difficulties on 8-level PIC, particulary when using I2C EEPROM, but did not have the knowledge to implement software stack.
so the 16f57 5x5 LED matrix was the first prototype to try this technique.
I consider the baseline PICs very suitable to make experiment: particulary nothing must be initialized, and they do not cost so much.
I have many other PICs, including 18f13k50, 16f884, 18f45k20, 16f716.
this project is shown a little on my new web page:
**broken link removed**
the plan is to program a dox matrix scrolling clock!
yesterday i connected a 32.768 KHz quartz clock generator, built from 2n3904 transistors. I've searched nearly two years for a suitable circuit!
Anyone here who has ever used software stacks, in RISC assembly, not via embedded OS?
I have a little 8086 background so the implementation was not that unusual.
however I was surprized it takes 62 cycles each time, due to neccessary shifting, and to control banking/paging bits.
the LED dot matrix clock was designed with as little components as possible, for instance, no multiplex transistors/base resistors, all done using just one LCX244 buffer IC.
there are more projects to be added in the next few months.
also i was thinking to access I2C EEPROM on the 16f57, now since there are 8 stack levels, this should be possible (however it could be a little lengthy, and slow).
anyone ever used I2C devices on 16f5X?
remember I do not have to use them, it is just for demonstration/exercise.
but i think the dot matrix clock is a real-world application, not just an absurd showcase prototype.
most of my questions are about design, or analog electronics, not so much technical programming, tough i also try to advance in programming.
since I have it already executing, it is not a "how-to" question.