Choosing startup mode with P10.X and TRST pins

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi. I'm using Infineon SAF-XE167F-96F66L microcontroller and have some problems with managing startup modes.
According to XE166H Derivatives User's manual (13.3.1, page 13-7) I can choose between following basic startup modes:
1002.attach

But in my case looks like it doesn't read state of TRST pin.
If P10.0 = 0, P10.1 = 1, P10.2 = 1, it successfully starts in UART bootloader mode and I can flash him via Infineon Memtool.
If P10 pin configuration doesn't match any other from this table (e.g. P10.0 = P10.1 = P10.2 = 1 ) it starts from internal flash.
But it doesn't read the state of TRST pin, so if I make TRST = 0 and P10.0 = 0, P10.1 = 1, P10.2 = 1, it still goes to BSL mode.
Could you please tell me what is the problem? Maybe I'm using wrong manual?
0 Likes
1 Reply
Not applicable
Hi andrew_tc,

You are definitely using the wrong User Manual.
As you said, you are using the device XE167F but you are using the manual for XE166H.
The Start-up mode configuration is different for XE167F.
You can download the correct User Manual here.
XE166 Classic Series - Alpha Line
0 Likes