Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Others: hardware and software
Analog and audio
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
NBava.1
Associate II
since
2022-03-28
2023-06-15
User statistics
5
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About NBava.1
Options
Report User
User Activity
Posts
Replies
i am trying to interfacing tsc2046 with stm32 using SPI communication, when i used NSS hardware at that time MOSI line continuously high & signal getting busy & code stuck.(when i used NSS software its working ok)
2022-03-28
Re: i am trying to interfacing tsc2046 with stm32 using SPI communication, when i used NSS hardware at that time MOSI line continuously high & signal getting busy & code stuck.(when i used NSS software its working ok)
2022-04-11
sir i am using HAL library its successfully work but when i trying without HAL library its not work. i was already share you the details , MOSI pin waveform & code flow.
Re: i am trying to interfacing tsc2046 with stm32 using SPI communication, when i used NSS hardware at that time MOSI line continuously high & signal getting busy & code stuck.(when i used NSS software its working ok)
2022-03-29
Re: i am trying to interfacing tsc2046 with stm32 using SPI communication, when i used NSS hardware at that time MOSI line continuously high & signal getting busy & code stuck.(when i used NSS software its working ok)
2022-03-29
in above image after transmitting data, DIN pin is low but in my case idle condition is low but after data transmission its show high
Re: i am trying to interfacing tsc2046 with stm32 using SPI communication, when i used NSS hardware at that time MOSI line continuously high & signal getting busy & code stuck.(when i used NSS software its working ok)
2022-03-29
//SPI CONFIGURATIONvoid TSC2046Config(void)//16.3.2022{GPIO_InitTypeDef GPIO_InitStructure; EXTI_InitTypeDef EXTI_InitStruct; //11.2.2020 SPI_InitTypeDef SPI_InitStruct; NVIC_InitTypeDef NVIC_InitStructure; DMA_InitTypeDef DMA_InitStructure; ...