Can't read the SPI data of the BGT60LTR11AIP Radar Shield2GO board

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

cross mob
lock attach
Attachments are accessible only for community members.
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

I have a BGT60LTR11AIP Radar Shield2Go board trying to read data through the PSOC4 MCU's analog SPI. I have set the evaluation board to SPI mode. In order to use the official library code, the MCU uses an analog SPI method to read, but I have not been able to read data. The attachment is a project, can someone help me?

Chris Liu

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/td-p/647409

0 Likes
1 Solution
Translation_Bot
Community Manager
Community Manager
Community Manager

Hi chwa_1570756,

I read your project. The MCU simulates SPI for communication, and the actual port is disabled.

WangYaran_0-1701219229570.png

I want to ask, why use the CY8C4245AXI-483 chip? It doesn't have an advantage in terms of price.

If you insist on choosing the Psoc4 series, it is recommended to choose the following chips. The underlying functions are all common to Psoc6:

WangYaran_1-1701219402149.png

Also, it is recommended that you use Psoc6 directly. The functions in it are also all open. The cyhal_spi_transfer () function can be found by searching further:

WangYaran_2-1701219582793.png

BR

Yaran

 

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/649028

View solution in original post

0 Likes
5 Replies
Translation_Bot
Community Manager
Community Manager
Community Manager

Hi chwa_1570756,

You've asked the same question before, check out the newly released PSoC 6 library, S2GO BGT60LTR11AIP:

https://github.com/Infineon/cce-mtb-psoc6-bgt60ltr11-spi-interface/tree/842ba586a605702f47235cdb88da...

Also, I'll check your project at the same time. There should be any settings that aren't set up, so I'll add more later.

BR

Yaran

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/647779

0 Likes
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

PSOC6 is completely different from PSOC4 development IDE. PSOC6 encapsulates some HAL underlying libraries that PSOC4 does not have, such as:

The key function cyhal_spi_transfer () has no way of knowing the details of the internal code, which made my original problem more complicated, so I still want to read the data based on the BGT60LTR11AIP basic library.

Thank you!

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/648217

0 Likes
Translation_Bot
Community Manager
Community Manager
Community Manager

Hi chwa_1570756,

I read your project. The MCU simulates SPI for communication, and the actual port is disabled.

WangYaran_0-1701219229570.png

I want to ask, why use the CY8C4245AXI-483 chip? It doesn't have an advantage in terms of price.

If you insist on choosing the Psoc4 series, it is recommended to choose the following chips. The underlying functions are all common to Psoc6:

WangYaran_1-1701219402149.png

Also, it is recommended that you use Psoc6 directly. The functions in it are also all open. The cyhal_spi_transfer () function can be found by searching further:

WangYaran_2-1701219582793.png

BR

Yaran

 

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/649028

0 Likes
Translation_Bot
Community Manager
Community Manager
Community Manager

The KIT-042 test was used, and the product plan is to use CY4246AZI-L423

Thanks for the suggestions, I'll try porting the PSOC6 code to PSOC4.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/649141

0 Likes
Translation_Bot
Community Manager
Community Manager
Community Manager

HI chwa_1570756,

OK, here is the relevant documentation for hardware port configuration PSoC6, using CY8CKIT-062-WIFI-BT, please refer to:

https://community.infineon.com/t5/Radar-sensor/BGT60LTR11AIP-SPI-interface-code-example-using-PSoC-6...

BR

Yaran

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-4/%E6%97%A0%E6%B3%95%E8%AF%BB%E5%8F%96BGT60LTR11AIP-Radar-Shield2Go%E6%9D%BF%E7%9A%84SPI%E6%95%B0%E6%8D%AE/m-p/650889

0 Likes