Hi,
I asked you in my last posted also which output pins are you try to use for I2C, but OK...I will provide you with more general answer then :)
The microcontroller that you´re using has many available pins to be used for I2C protocol. This picture is taken from XMC Pinout Tool and it shows the available pins for each USIC channel.
Attachment 2552
(Disregard channel U1C1 while there is not available SDA pin so you cannot assign pins inside DAVE for channel U1C1...but you can still use 5 other channels so no biggie :D )
All the pins that you can see in the attached picture are available from the microcontroller´s point of view, but not all the pins are connected to the board pin header. The available pins from the board´s point of view are given in "Board User's Manual "XMC4500 Relax / Relax Lite Kit"". There you can see something like this:
Attachment 2551
And now in the DAVE, you should be able to select any of the pins mentioned in previous two figures (even though if you´re going to connect something to the board´s pin headers then it make sense only to select the pins given in the second figure).
Under "DAVE" -> "Manual Pin Allocator", you will see something like this:
Attachment 2553
Now just assign the one of the pins given in the second figure (namely pins P.5.2, P.10, P0.11 as a SCL, or P5.0, P1.5, P0.5 as a SDA pins) and DAVE will automatically offer you pin from the same USIC channel.
I´ve wrote such a detailed description, while I can select any of these pins and DAVE doesn´t give me any error regarding template like in your case. Let me know have you successfully build your project or tell me at least which pins are you trying to use to connect to the camera module. Currently, such a general advice is the best I can do.
Regards,
Deni
I asked you in my last posted also which output pins are you try to use for I2C, but OK...I will provide you with more general answer then :)
The microcontroller that you´re using has many available pins to be used for I2C protocol. This picture is taken from XMC Pinout Tool and it shows the available pins for each USIC channel.
Attachment 2552
(Disregard channel U1C1 while there is not available SDA pin so you cannot assign pins inside DAVE for channel U1C1...but you can still use 5 other channels so no biggie :D )
All the pins that you can see in the attached picture are available from the microcontroller´s point of view, but not all the pins are connected to the board pin header. The available pins from the board´s point of view are given in "Board User's Manual "XMC4500 Relax / Relax Lite Kit"". There you can see something like this:
Attachment 2551
And now in the DAVE, you should be able to select any of the pins mentioned in previous two figures (even though if you´re going to connect something to the board´s pin headers then it make sense only to select the pins given in the second figure).
Under "DAVE" -> "Manual Pin Allocator", you will see something like this:
Attachment 2553
Now just assign the one of the pins given in the second figure (namely pins P.5.2, P.10, P0.11 as a SCL, or P5.0, P1.5, P0.5 as a SDA pins) and DAVE will automatically offer you pin from the same USIC channel.
I´ve wrote such a detailed description, while I can select any of these pins and DAVE doesn´t give me any error regarding template like in your case. Let me know have you successfully build your project or tell me at least which pins are you trying to use to connect to the camera module. Currently, such a general advice is the best I can do.
Regards,
Deni