Problem with chip MC13213 and PTA port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with chip MC13213 and PTA port

1,125 Views
jcuesta
Contributor I
HI all, and thanks for your help in advance,
 
I have a problem regarding MC13213 chips and PTA port, although its more or less solved i would like to know if anyone noticed the problem and why it could be produced.
 
The problem is that I define PTADD as 0x00 for ussing PTAD port as input but when reciving 15 data bytes trough the UART PTADD misteriously turns to 0xFF turning the port as output, I dont know why is that produced. I have cheked the code and there is no asignment in all the code for that port to become 0xFF (nowhere, nor in the inicialization or in the code itshelf) the issue gets solved reasigning PTADD to 0x00 just before each reading of the PTAD port but its a quite dirty solution.
 
Thanks.
 
 
 
 
Labels (1)
0 Kudos
1 Reply

415 Views
Alex_RUS
Contributor I
Use BDM-debuger to catch the point when it happens.. maybe exist some indirect access to PTADD.
0 Kudos