AtomSoft
Well-Known Member
Ok I want to work on a project soon and it seems large... It will include SD(FAT32), GLCD(or TFT Color) and some other items which will demand alot from the PIC.
I was thinking about SPLITTING the work by introducing some small pics to control some of the other items. Like 1 pic to control all the tft or GLCD work and another for the SD work.
Then have 1 main pic controlling all the other pics. Hence a master. Would this be wise?
I see the benefits as having to code 1 pic with specific information and reducing overall code size in each pic.
I can program 1 pic for SD stuff and have another pic or the master send/receive data to/from it. I can setup multiple timers for each pic this way any time sensitive information is gathered well.
Understand? Would this be wise? Is it a good idea? I think it would also speed up the whole job as 1 pic is processing data another can collect more data and have it ready for when the other pic is free.
I know this will require some good cooperation between the few pics connected. I was thinking about having the master control the slave PICs by using I2C. Mainly because i can assign and use ADDRESSES on the PICs so i can identify them with out having a extra PIN tied up for each slave.
What do you think?
I was thinking about SPLITTING the work by introducing some small pics to control some of the other items. Like 1 pic to control all the tft or GLCD work and another for the SD work.
Then have 1 main pic controlling all the other pics. Hence a master. Would this be wise?
I see the benefits as having to code 1 pic with specific information and reducing overall code size in each pic.
I can program 1 pic for SD stuff and have another pic or the master send/receive data to/from it. I can setup multiple timers for each pic this way any time sensitive information is gathered well.
Understand? Would this be wise? Is it a good idea? I think it would also speed up the whole job as 1 pic is processing data another can collect more data and have it ready for when the other pic is free.
I know this will require some good cooperation between the few pics connected. I was thinking about having the master control the slave PICs by using I2C. Mainly because i can assign and use ADDRESSES on the PICs so i can identify them with out having a extra PIN tied up for each slave.
What do you think?