Ziko87
Newbie level 6
- Joined
- Apr 30, 2006
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Siena (Ita)
- Activity points
- 1,404
As title I'm interfacing with this part of the microchip. The peculiarity of this component is that it needs to run a clock signal synchronized with the serial data to be sent and that is exactly 16 times the maximum baud rate you want.
To achieve the required I am referring to the following document issued by them:
No. AN946
Here is explained in broad terms how to do in different ways, and finally explains and provides an example of what they say is the best method:
Generate a PWM signal characteristics required by the external component.
So far no problem, what is strange is that in this piece of code works only with the particular values of oscillation of quartz that are not standard ones I use that instead (20.0MHz). The document is not clear what happens if you do not use these crystals .. it undergoes some kind of strange error?
What do you think?
Ps. Sorry for my English. I get better!
To achieve the required I am referring to the following document issued by them:
No. AN946
Here is explained in broad terms how to do in different ways, and finally explains and provides an example of what they say is the best method:
Generate a PWM signal characteristics required by the external component.
So far no problem, what is strange is that in this piece of code works only with the particular values of oscillation of quartz that are not standard ones I use that instead (20.0MHz). The document is not clear what happens if you do not use these crystals .. it undergoes some kind of strange error?
What do you think?
Ps. Sorry for my English. I get better!