Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
TKS said:If you see in a device spec that the HS freq max=20Mhz.
means this that you can use also 16Mhz??
i search for a way to produce a 8Mhz clock source for a 16F84a (gold smartcard)
any one answers??
TKS said:please the last part a bit more?
can i just hookup the pic osc outlet to the other card RB6???
(in the card RB6= conected to the external clock line. pin 12 (16F84a)
the problem is that i need to program all the stuff with compilers and they don't accept Xtal =2 or 1 soo i cant use the normal Fosc / 4 function
expect if i clock it @ 16Mhz..and that number is accepted soow that could be a solution or not??
for better signal strengt higer caps?? or lower?? i now use 33pF
TKS said:I have added the goldcard layout
and a bit of section about the 16F84a data sheet.
soow now you untherstand better.
also i need a solution for 1 wire communication i was thinking about serial
but changing the same pin to tx and to rx..???
i will need RB7 to do this....
or should i just make a simple pin hihg low timing part???
if i just grab a 20Mhz cristal how should i connect that one to the card??
1 pin of the crystal to vdd (5volt) and the other to the input on pic??
and both to VSS with cap??
TKS said:ok i have it now running on 20Mhz wy??
because the other chip use it also has (16F818/9) if i will use the internal ocs it will be 8 if output it it will be 2?? 2 my compiler doesn't accept. i can buy a 4Mhz external one that will help.
back:
soow i loaded a test prog in it
RB7 high for 1 sec and then low for 1 sec etc..
it works
but!!
you forgot one thing i think.
RB6 is conected to pin 16 on the card soow if i use that one for serial comm my OSC input goes wrong right??
soow i only have 1 wire to communicate.
i don't untherstand wy the hell they didn't use some more contacts on the card to the other pins... :cry: :cry: :cry:
what would you suggest for 1 wire communication....?? a simple timing routine?? or would you do some communication routine??
i need to do something soow it is unique..
maybe i didn't tll its a wafer type card..soow i don't have acces to the chips..
p.s. one thing i already learnd is you have to put RB6 to input mode if you don't it will be high and then it braks the osc input signal...
basicly rb6i only used for programming.
RB7 is then left for comm.
p.s. if i code protect the card it isn't possible to read the code right? now one exept microchip maybe???