Featured Discussions
When i porting stm32h745 + Laird(lwb+), but stoped install firmware.
I think bluetooth sensor can't init hello_sensor_application_init();
But nucleo-745zi-q + Lwb(4343w) it's worked.
Show Less
I would like to ask what would cause this error?
What I have in my code is to create an array of outputs on the INT side of EP0 in the UART callback function, and then push the data from inside the UART out through the IN side of EP0. Now this build output array reports an error
Serial DEbug Reply:
What's going on here? Anyone know?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB%E4%B8%BB%E6%9C%BA%E9%9B%86%E7%BA%BF%E5%99%A8%E6%94%B6%E5%8F%91%E5%99%A8/USB%E8%BD%AF%E4%BB%B6%E9%85%8D%E7%BD%AE%E9%97%AE%E9%A2%98/td-p/724545
Show LessHello.
Regarding 3DL After entering deepsleep, the MCU current is around 4mA when measured separately. Both cores executed Cy_SysPm_DeepSleep to confirm that the MCU entered DeepSleep. what could the high current be related to?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/TRAVEO-T2G/3DL-deepsleep-%E7%94%B5%E6%B5%81/td-p/724510
Show LessHello, I've recently been learning how to extract respiratory heart rate signals with BGT60TR13C radar with Python. How can I convert the recorded data to the data required for FFT?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E9%9B%B7%E8%BE%BE%E4%BC%A0%E6%84%9F%E5%99%A8/How-to-use-BGT60TR3C-to-extract-respiratory-heart-rate-signals-in-Python/td-p/724498
Show LessI am new to the PowIR Build tool, I need to understand how to set the output voltage for IRPS5401, I have done required configuration based on my requirement when I create a new device and I have all input voltages, output voltages, etc. for SWA, SWB, SWC, SWD, LDO I have created a pcd file, but I want desired output to be written into the register not into the OTP .
Before writing/testing with config file I want to understand the tool, with default values when i2c is detected how to write value into the register and read.
If someone could point me the procedure of writing into the register it would be helpful for me to understand the tool by providing any source code or detailed pdf (Guide)
Thanks & Regards
Muvva Navin Krishna
Show LessHi
I am trying to create a simple program to read 10 bytes on UART through DMA and then write it again to the UART using DMA.
I added blinking LEDs in the DMATxISR and DMARxISR as visual indication that the ISR is being called.
It works for DMA Rx, but fails in DMA Tx.
I tried to use memcpy() to copy the Rx buffer into the Tx buffer to engage DMATx, but it doesn't work. I can only send using PutArray().
I attached my project,
I wonder if you can help me out find the mistake.
thanks
Show LessHi Sir
We are using Nvidia Jetson Nano + CYW55573/AWXB327MA-PUR M.2 , referring to the Nvidia Jetson bring-up with Infineon AIROC Wi-Fi 6 CYW5557x documentation at https://github.com/neilch0811/Infineon-AIROC-Wi-Fi-Nvidia-Release/blob/5099250b501d4e06dbd8c7e96d163decb8a82d75/Nvidia%20Jetson%20Orin%20AGX%2BCYW55573-DebianPkg-BringupSteps.pdf
and
https://github.com/neilch0811/Infineon-AIROC-Wi-Fi-Nvidia-Release/blob/main/AIROC%E2%84%A2%20CYW5557x%20Wi-Fi%206%20%26%20Bluetooth%C2%AE%20bring%20up%20with%20Nvidia.pdf. We can successfully connect to the internet using command-line instructions. However, we are unable to manage Wi-Fi using the OS's built-in network manager. The options related to Wi-Fi in the network manager are greyed out, and wpa_supplicant is mentioned to be used from FMAC. Can you provide us with some guidance on how to address this issue? Thank you.
Hi Team,
I have some tasks executing on a 10ms Scheduler using Systick. DMA Transfers are initiated during that 10ms executions.
But, whenever the Systick Interrupt occurs the DMA transfers is also preempted and gets continued again on the next 10ms cycle.
Since DMA has to run parallelly why I am getting this issue. Sharing the current configuration and the scope images of the same for the reference. Let me know if anything needs updated on the configuration front.
Issue case scenario:
Systick Scheduler every 10ms where 4.3msec is used for other application processing and after that 1D DMA Transfers(Mem to PDMA) using SPI is initiated.
As we having limitation on the Buffer of 128 Bytes transfer. So to transfer 4096 bytes of data we need to transfer 32 cycles.
In the below scope image the Color coding is mentioned as follows
Green - GPIO to identify the start and stop of the DMA transfer of 4096 bytes of data
Yellow - Area blocked for other application instruction executions.
Pink - Systick Interrupt
Blue - DMA Transfer Interrupt for each 128 burst of 32 cycles
As given in the below image DMA is preempted whenever Systick Interrupt Occurs.
Note : Even we tried to set the priority of the DMA to be high but the scheduling is getting delayed because of it.
1D Transfer Configuration
dma_transfer_data_t dma_transfer_data;
UI_8 DMA_Cfg_Init_Buff[1] = {0};
uint8_t Trigger_Recd=0;
const cy_stc_pdma_chnl_config_t chnl7Config = {
/* CURR_PTR */ .PDMA_Descriptor = &stcDescr,
/* CH_CTL PREEMPTABLE */ .preemptable = 0u,
/* CH_CTL PRIO */ .priority = 0u,
/* CH_CTL ENABLED */ .enable = 1u, /* enabled after initialization */
};
static cy_stc_pdma_descr_config_t stcDw1DescrConfig = {
/* DESCR_CTL WAIT_FOR_DEACT */ .deact = 0u,
/* DESCR_CTL INTR_TYPE */ .intrType = CY_PDMA_INTR_1ELEMENT_CMPLT,
/* DESCR_CTL TR_OUT_TYPE */ .trigoutType = CY_PDMA_TRIGOUT_1ELEMENT_CMPLT,
/* DESCR_CTL CH_DISABLE */ .chStateAtCmplt = CY_PDMA_CH_ENABLED,
/* DESCR_CTL TR_IN_TYPE */ .triginType = CY_PDMA_TRIGIN_DESCR,
/* DESCR_CTL DATA_SIZE */ .dataSize = CY_PDMA_BYTE,
/* DESCR_CTL SRC_TRANSFER_SIZE */ .srcTxfrSize = 0u,
/* DESCR_CTL DST_TRANSFER_SIZE */ .destTxfrSize = 1u,
/* DESCR_CTL DESCR_TYPE */ .descrType = CY_PDMA_1D_TRANSFER,
/* DESCR_SRC */ .srcAddr = &DMA_Cfg_Init_Buff[0],
/* DESCR_DST */ .destAddr = (uint32_t *)&CY_SPI_SCB_TYPE->unTX_FIFO_WR.u32Register,
/* DESCR_X_CTL SRC_X_INCR */ .srcXincr = 1u,
/* DESCR_X_CTL DST_X_INCR */ .destXincr = 0u,
/* DESCR_X_CTL X_COUNT */ .xCount = HW_FIFO_SIZE,
/* DESCR_Y_CTL SRC_Y_INCR */ .srcYincr = 0u,
/* DESCR_Y_CTL DST_Y_INCR */ .destYincr = 0u,
/* DESCR_Y_CTL Y_COUNT */ .yCount = 0u,
/* DESCR_NEXT_PTR */ .descrNext = 0u
};
Thanks,
Pradeep