HELLO:
我在用KEAZN8系列的型号S9KEAZN8AMTGR,为TSSOP16封装的
设置的引脚和实际的引脚号对不上,是什么原因呢?
比如第9号引脚为PTB3,想输出方波,应该在软件上设置为(PTB,9),而却只能设置为(PTB,11)后才输出正确,设置(PTB,9)后没反应。
Any one can help? Or should I describe the question in English?
Hi Lu,
If you could please describe what you are trying to achieve in english, I would appreciate it.
Best Regards,
Sabina
I'm using the MCU KEAZN8 series, the specific model is S9KEAZN8AMTGR,and it's package is TSSOP16.
I met a problem when I was trying to setup the pin configuration.
I want the 9th pin to output continonous pulse . The 9th pin is PTB3 as below table. And the I set (PTB, 9) in my code. But however it didn't work. But when I set (PTB, 11) in my code , then the 9th pin output contunonous pulse .
So what's wrong? Why should I set (PTB,11)but not (PTB,9)for the 9th pin?
Hello Lu,
Thank you for providing the english description.
In order to set PTB3, you have to set (PTB , 3) in your code. The number 9, is to help map out which pin on the physical chip it is specifying.However that number is not used in the code.
Please try that change while you set the pin. If you still have unexpected behavior I would ask if you could provide a snippet of your code. In the section that you are initializing your pin.
Best Regards,
Sabina