We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everybody, iam working on cygnal micr0controllers, i have 2 programmes that should run simultaneously is it possible. john e
hello mr dejan thanks for your reply,well my requirements are i have 2 programmes one iam generating 70khz it should be continuously running and it should feed to one of the ports as input .The other programme takes this 70Khz as input and generates some waveforms or i mean some protocol (our own ) we are generating . Before this i performed this task using 2 controller ie 2 f124 kits its working but my chief wants that i have to merge all these programmes in single controller f124 . if u got any solution for this problem kindly mail me regards john e
Multi-tasking heavily depends on the processor load...I do not know how your application is built so it's hard to tell. How do you generate 70khz signal? PCA, timer interrupt...How much time do you spend in each 70khz cycle processing data? How much cycles do your second task need? All this should be known to give you answer if this can be done... regards Dejan
generating 70khz it should be continuously running That does not require "a task" Using T2 (if your derivative does not have a T2, switch derivative) you can generate a 70khz signal without the program being involved. If your derivative has a PCA the is equally simple> for T2 method see "the bible" ch 3 for PCA method see the PCA cookbook Erik
hello mr erik thanks for your reply.i hope u might understood my reqirements, i have to generate 70khz continuously and it should act as input to the pca as time base. presently iam using ECI EXTERNAL COUNTER INPUT , FOR THIS i have to feed 70khz as input,when i generated continuously 70khz the programme control continuously running at while(1)loop but i have feed either by loop back how it can be implemented, is there any way that i can directly feed scsclk/the value =which is 70khz as input to the pca regards john e
i hope u might understood my reqirements, I do not know if micro (u) "understood your reqirements" why do you ask me. i have to generate 70khz continuously and it should act as input to the pca as time base. Use T0 as the PCA clock Erik