cancel
Showing results for 
Search instead for 
Did you mean: 

DSI_TE pin in the STM32F469i-disco

Mohamed eleuche
Associate II
Posted on August 03, 2017 at 10:05

Hello everyone,

I am using the STM32F469i-disco for my touch screen project and I was able to modify the sample example in the STM32Cube_FW_F4_V1 to satisfy my project. ( ..\STM32Cube_FW_F4_V1\Projects\STM32469I-Discovery\Examples\BSP) Now I am trying to use the STM32F469BIT6 (TQFP176 ) instead of the BGA one used in the Discovery board.

Does anyone Know where can I find the declaration of  PJ2 as DSI_TE in the code?

My problem is I do not find a way to change the DSI_TE pin in the Library from PJ2 to another pin.

I looked everywhere in the code but I do not find it. 

I already found the PJ5 in 'stm32469i_discovery.h'  line 221

           &sharpdefine TS_INT_PIN ((uint32_t)GPIO_PIN_5)

          &sharpdefine TS_INT_GPIO_PORT ((GPIO_TypeDef*)GPIOJ)

Thank you for your help

#stm32-mcu-evaluation-board #stm32f469 #stm32 #stm32f469i-disco
3 REPLIES 3
Imen.D
ST Employee
Posted on August 03, 2017 at 11:26

Hi

eleuche.Mohamed

,

You should review the pin assignment in the

http://www.st.com/content/ccc/resource/technical/document/datasheet/2f/48/57/b4/79/f7/4f/65/DM002199pdf/files/DM002199pdf/jcr:content/translations/en.DM002199pdf

of your product, in the (Table STM32F469xx pin and ball definitions) for the Pin number of

STM32F469BITx(LQFP208)

0690X00000607qrQAA.png

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Max
ST Employee
Posted on August 03, 2017 at 12:03

The definition of TS_INT pin is a software definition, any pin could be used.

DSIHOST_TE is an hardware feature, this function is only available on PJ2 and PB11 through alternate function configuration of the GPIO (see AF13 in the table 12 in the datasheet).

This is configured through the GPIOx_AFRy bit field relative to one those two pins (in 

GPIOJ_AFRL and GPIO

B

_AFRH respectively)

Posted on August 03, 2017 at 12:33

to_deletergalbany

 Thank you for the answer, do I need to change the definition of the DSI_TE from PJ2 to PB11 in the software ?

if yes, where can I find the 

GPIOx_AFRy

 in the software?

Thank you