Featured Discussions
text.format{('custom.tabs.no.results')}
Hi Infineon team,
In some of our designs we use the SAK-C167CR-LM-HA+ microcontroller. Can we use SAF- C167CR-LM in place of it?
Are SAK-C167CR-LM-HA+ and SAF- C167CR-LM functionally equivalent? On page 59 of the datasheet, I can see that ambient temperature rating is different between SAK and SAF prefixes. Other than this are there any differences? What does the "HA+" stand for?
Thank you.
Regards,
Abhijeet B
Show Less我们这边使用BLE(CYW20829)作为SPI slave和MCU(TC387)作为SPI master,调试SPI通信时,遇到两个问题:
1.slave接收来自master的数据,rx中断不触发。
SPI初始化如下:
代码段参考:https://infineon.github.io/psoc6hal/html/group__group__hal__spi.html文档中的Snippet 4:Interrupts on SPI events
代码修改基于例程:https://github.com/Infineon/mtb-example-hal-spi-slave#readme
尝试:调试过程中发现,slave使用cyhal_spi_slave_write时,rx中断正常触发,看代码该函数调用了cyhal_spi_transfer_async
问题:只有slave一直调用cyhal_spi_transfer_async进行读/写操作,rx中断才正常触发?
解决方案:有没有配置可以让master写入数据时,slave就触发SPI rx中断?
2.slave使用函数cyhal_spi_slave_write向master发送数据时,没有等待master拉低片选并生成时钟信号,导致接收数据异常。
尝试:使用Cy_GPIO_Read读取CS引脚,直到该引脚被拉低。
问题:容易死循环,读取引脚数据一直为高电平。
解决方案1:能否帮忙调试出一个该方案可行的代码?
解决方案2:是否有其他slave write函数,是等待master拉低片选并生成时钟信号,才发送数据?
希望能给出上述问题的解决方案。
Show LessHello,
We are developing the bootloader for the Infineon TC377 board. For that, we need the preserved RAM (The memory that shouldn't be initialized with zero during the controller reset) to hold the flag. So, we tried the keywords below for No-initialization and location, but AURIX is not supporting these keywords. Instead of the below keywords, what can be used to create the memory in the RAM, so that it shouldn't be modified after reset of the microcontroller.
#pragma NOINIT(BootMode_InPreservedRAM)
#pragma LOCATION(BootMode_InPreservedRAM,0x50000000)
/*Here first we are creating the variable BootMode_InPreservedRAM as no initialization and giving the address as 0x50000000 for LOCATION*/
Thanks in advance.
Show LessHi,
I would like to test the bluetooth connection for cyw43439.
Currently the wifi sdio is working as expected as both STA and AP.
However, I could not get it recognized as a bluetooth device on my host.
I'm using and arm-32 based soc which is Ambarella s3lm board as my host. Currently, I've connected the UART pin to the host (CTS, RTS, Tx, Rx).
These are my output of the hci dev, no bluetooth device was listed.
# hcitool dev
Devices:
[ 51.908670] Bluetooth: Core ver 2.22
[ 51.914488] NET: Registered PF_BLUETOOTH protocol family
[ 51.919833] Bluetooth: HCI device and connection manager initialized
[ 51.926305] Bluetooth: HCI socket layer initialized
[ 51.931197] Bluetooth: L2CAP socket layer initialized
[ 51.936332] Bluetooth: SCO socket layer initialized
Nothing on my device list as well.
# ls /dev/
amb_gadget mem random tty3 tty57
amb_iris mtd0 rfkill tty30 tty58
amb_lens mtd0ro rtc0 tty31 tty59
ambac mtd1 shm tty32 tty6
ambad mtd1ro snapshot tty33 tty60
block mtd2 snd tty34 tty61
bus mtd2ro tty tty35 tty62
char mtd3 tty0 tty36 tty63
console mtd3ro tty1 tty37 tty7
dsplog mtd4 tty10 tty38 tty8
eis mtd4ro tty11 tty39 tty9
fdet mtd5 tty12 tty4 ttyS0
full mtd5ro tty13 tty40 ubi0
gpiochip0 mtd6 tty14 tty41 ubi0_0
gpiochip1 mtd6ro tty15 tty42 ubi_ctrl
i2c-0 mtd7 tty16 tty43 ucode
i2c-1 mtd7ro tty17 tty44 urandom
i2c-2 mtdblock0 tty18 tty45 vcs
iav mtdblock1 tty19 tty46 vcs1
input mtdblock2 tty2 tty47 vcsa
kmsg mtdblock3 tty20 tty48 vcsa1
loop-control mtdblock4 tty21 tty49 vcsu
loop0 mtdblock5 tty22 tty5 vcsu1
loop1 mtdblock6 tty23 tty50 watchdog
loop2 mtdblock7 tty24 tty51 watchdog0
loop3 null tty25 tty52 zero
loop4 overlay tty26 tty53
loop5 ptmx tty27 tty54
loop6 pts tty28 tty55
loop7 ram0 tty29 tty56
I'm currently using the cywfmac backport driver for linux kernel 6.1 (murata hedorah branch)
Note that my host is using the BlueZ stack.
Any other configuration is required to enable this?
Please advise.
Show Less大家好,
最近想用keil调试cyt2bt73cae这个芯片的程序,使用mtb导出的工程只有单核应用,然后device这里显示
,这种导出的工程直接是CM4的,编译过后能够达到使用CM0启动CM4的效果?如果不能,我应该怎么做?
当我配置了cm0plus以后,cy_m0p_image[]这个数据的含义是什么,需要我手动调用吗?
当我使用导出的keil工程的GPIO中断时,无法进入终端服务函数,这和我没有CM0有关系吗?
希望有人能够帮到我,感谢~
Show LessThere is said that this bright feet + logo a bit unlike is IR Mexico factory production, I can not judge, please gods look at, this is not authentic, thank you!
Show LessHi,
I would like to know of a sample code to write few bytes to an ISSI 128 MBits of nor flash memory and also basic communication pin andsetup for XMC71000D.
When i setup the memory with xmc7100D at P13 (SCB-SPI) the spi_initialization returns an error. how do i check the device id for this flash memory (ISSI;25LP128- jedec id : [9D6018])
best,
PA
Show LessHi everyone, I am trying to read the battery data from TLE9012DQU without using the default hex file. I have written the following function to send commands and receive data based on UART hello world program. But I am not receiving any data. What am I missing? I am not even able to print anything.
void send_receive_ASCLIN_UART_message(void){
Ifx_SizeT r_count=5;
uint8 transmitData0[1] = {0xaa};
Ifx_SizeT g_count0 = sizeof(transmitData0);
IfxAsclin_Asc_write(&g_ascHandle, transmitData0, &g_count0, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
//printf("%x",g_rxData[0]);
uint8 transmitData01[6] = {0x1e, 0x80, 0x3d, 0x00, 0x7f};
Ifx_SizeT g_count01 = sizeof(transmitData01);
IfxAsclin_Asc_write(&g_ascHandle, transmitData01, &g_count01, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
//printf("%x",g_rxData[0]);
uint8 transmitData1[5] = {0x1e, 0x80, 0x36, 0x00, 0x01};
Ifx_SizeT g_count1 = sizeof(transmitData1);
//printf("%x\n",transmitData1[0]);
IfxAsclin_Asc_write(&g_ascHandle, transmitData1, &g_count1, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x\n",g_rxData[0],g_rxData[1]);
uint8 transmitData3[5] = {0x1e, 0x81, 0x01, 0x0f, 0xff};
Ifx_SizeT g_count3 = sizeof(transmitData3);
IfxAsclin_Asc_write(&g_ascHandle, transmitData3, &g_count3, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData4[5] = {0x1e, 0x81, 0x0b,0x00,0x00};
Ifx_SizeT g_count4 = sizeof(transmitData4);
IfxAsclin_Asc_write(&g_ascHandle, transmitData4, &g_count4, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData5[3] = {0x1e, 0x01, 0x0b};
Ifx_SizeT g_count5 = sizeof(transmitData5);
IfxAsclin_Asc_write(&g_ascHandle, transmitData5, &g_count5, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData6[5] = {0x1e, 0x81, 0x18,0xee,0x21};
Ifx_SizeT g_count6 = sizeof(transmitData6);
IfxAsclin_Asc_write(&g_ascHandle, transmitData6, &g_count6, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData7[3] = {0x1e, 0x01, 0x24};
Ifx_SizeT g_count7 = sizeof(transmitData7);
IfxAsclin_Asc_write(&g_ascHandle, transmitData7, &g_count7, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData8[3] = {0x1e, 0x01, 0x23};
Ifx_SizeT g_count8 = sizeof(transmitData8);
IfxAsclin_Asc_write(&g_ascHandle, transmitData8, &g_count8, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
uint8 transmitData9[3] = {0x1e, 0x01, 0x22};
Ifx_SizeT g_count9 = sizeof(transmitData9);
IfxAsclin_Asc_write(&g_ascHandle, transmitData9, &g_count9, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &r_count, TIME_INFINITE);
printf("%x %x",g_rxData[0],g_rxData[1]);
}
Show Lesshi, while building the project am getting following error.
make[1]: *** [../mtb_shared/core-make/release-v3.0.3/make/core/build.mk:435: C:/DemoProject/build/CY8C6245LQI/Release/AIController-Psoc6.elf] Error 1
make: *** [../mtb_shared/core-make/release-v3.0.3/make/core/main.mk:376: secondstage_build] Error 2
I tried reinstalling the Modustoolbox, also corrected the path of Environment variable, but nothing seems to be working.
Show Less