Featured Discussions
Hi
I am new to the AURIX platform & looking for a way to trigger I2C Read/Write functionality using interrupts as a requirement. Any idea how to implement the same in TC397 Application kit (part no - KITA2GTC3975VTFTTOBO1)? Are there any HAL APIs for the same?
Right now I2C R/W is implemented in polling mode & I intend to stop blocking the CPU hence trying to make this operation interrupt based.
FYI I am writing the code in AURIX studio. Any help/guidance would be appreciated.
Thanks in advance
Show LessI have a single system located on the other side of of the world that fail to download new FW.
Unfortunately I do not have much details on what the FX3 API returns etc, but I hope to get some feedback on what could be causing this.
I can download the FW to RAM, but as soon as I try to download to flash, it will abort after a few seconds.
Sometimes the device does not show up in the device manager at all, in which case I need to reset the device.
It works fine on every other system I have and I have not had any issues for years.
Show LessHello,
I've read a lot on this forum and I have not found all the information i'm looking for. I'm trying to do recordings with matlab. I've currently modified the "presence detection" code in the SDK. Let's say I'm at 50 CM from the radar, I extract the power of the fft bin to which 50cm corresponds. What does the power correspond to ? Is it the value i need to use to know if my chest is approching or getting further from the radar ?
I guess my question is : is the power value of the range fft what allows us to know the velocity and direction of an object ? If it's not the case I do not understand how you retrieve speed values from this radar. I used to use the distance2go but I had I/Q information. Only having the I information from the radar has made me loose all my senses
I hope I was clear. I will willingly give more information if necessary.
Hello. i am using my UVC device to connect esp32-s3 but it have only USB 1.1. my device code have only 2.0 for now. I have found one function to force the USB 2.0 device connection to full speed. But don't know how & where to add it.
Function is:
CyU3PUsbForceFullSpeed (
CyBool_t enable /**< Whether to enable/disable the forced full speed operation. */
);
Cypress FX3 Core Library Header (cyu3usb.h).
And After using this function do i need to change DMA channel configuration?
Show LessHello,
I'm following "2 Getting started guide of AN615" and trying to connect using the Radar GUI tool.
But the connection fails with an error. (AN615 page 10 of 32 STEP 😎
(Tried Radar GUI versions 2.8.2.202205190911 and 2.8.1.202110151545)
Please let me konw solution.
Best regards,
Nakamura
Hi,
Im trying to use a SQPI module in slave mode in order to receive 3 bytes of data. But the data that ends up in the RX FIFO seems to be shifted right by a different amount of bit every time.
Heres my testing setup: im using QSPI3 as master and QSPI4 as receive-only slave, they are connected accordingly (Chip-Select, Clock, MOSI). I copy the data I want to send (0xFFFF0F [0b111111111111111100001111]) into QSPI3s DATAENTRY and the BACON values I want to use into its BACONENTRY using DMA. When QSPI4 triggers an RX interrupt, one entry (32 bits) will be copied out of QSPI4s RXEXIT using DMA.
I think I configured QSPI4 correctly: setting GLOBALCON und GLOBALCON1, resetting state machine and FIFOs using GLOBALCON.B.RESETS, setting BACON to the same values I use for QSPI3, putting some data into DATAENTRY to make the module apply the values from BACONENTRY into BACON, configuring timings in ECON and lastly entering slave mode by setting GLOBALCON.B.MS = 0x2
When I now send these 3 bytes using QSPI3: 0xFFFF0F (0b111111111111111100001111)
i would expect QSPI4 to receive the exact same data. But instead i would get the data but shifted right. Here are the first few receptions:
0b00000000111111111111111100001111,
0b00000000111111111111111110000111,
0b00000000111111111111111111000011,
0b00000000111111111111111111100001,
0b00000000111111111111111111110000,
0b00000000111111111111111111111000.
It seems like with every transmission the data gets shifted right by one more bit.
I also get a SLSI misplaced inactivation error in ERRFLAGS in QSPI4s STATUS register, but the SLSI signal looks fine to me an on oscilloscope and Im using the same ECON and BACON settings for both modules so the SLSI misplaced inactivation error really should not be happening
Does anyone know what could be causing this?
Here are all the configuration parameters i use for both modules:
GLOBALCON:
TQ = 63
SI = 0
EXPECT = 0xF
LB = 0
DEL0 = 0
STROBE = 0
SRF = 0
STIP = 0
EN = 1
MS = 0
AREN = 0
RESETS = 0
GLOBALCON1:
ERRORENS = 0
TXEN = 0
RXEN = 1
PT1EN = 0
PT2EN = 0
USREN = 0
TXFIFOINT = 0
RXFIFOINT = 0
PT1 = 0
PT2 = 0
TXFM = 1
RXFM = 2
BACON:
LAST = 1
IPRE = 5 (PRESCALER 1024)
IDLE = 1
LPRE = 0 (PRESCALER 1)
LEAD = 1
TPRE = 0 (PRESCALER 1)
TRAIL = 1
PARTYP = 0
UINT = 0
MSB = 1
BYTE = 0
DL = 23
CS = 0
ECON:
Q = 32
A = 0
B = 0
C = 1
REF_BGT60LTR11AIP_M0's dave sample program reports an error with " cannot find -llibS2GL_Lib" .But I can't find that information. How to fix it?
Show LessRight now I'm using Windows Mesh Client app to watch enviroment temperature information of CYBT-213043-MESH. My question is Is there any way to save temperature data and transfer it to excel?
Thank you,
In my understanding, the "ld.w" is loading data from memory to registers, it shouldn't change any memory content. But in following case, after "ld.w" instruction executed, some memory contents are changed. It is hard to understand. Have someone met similiar issue. Following is my case,
1) Before executing the "ld.w" instruction, the memory content from 0x6002387C are "0x00000002, 0x00000000,....."
2) After executing the "ld.w d15, a[14]-0x002c", the memory content from 0x6002387C changed to "0x0DB30ABF, 0x09ED0CE7....."
Show Less