Featured Discussions
Hello everyone! Is it possible to directly measure the current running through a DC motor using the BTN9970LV shield? I tried finding the answer in the data sheet and user manual but I was unable to. Thanks for your responses!
Show LessHello,
I have a project that needs to have a frequency connection that takes place at 5”. This connection will complete a circuit.
What is the best way to do this? Will it be easiest to limit the transmit power and wait for a frequency connection to be detected? This would be easiest with an RFid transmitter I’m sure.
Would it be easiest to have a constant frequency connection between the two components that activate the circuit once the frequency strength reaches a certain strength? I want the tots enclosure to be no more than 1”x1”LxW and .5” in H
I want the simplest most reliable connection method that allows for an activation of a circuit without fail. Please let me know what you think. Call or email me. Thank you.
Jens
jens@plus4u.plus
(406)672-1783
Show Less
I am trying to load the cyfxuvcinmem_bulk example on my SuperSpeed explorer kit however once I upload the firmware to RAM or I2C, the device does not enumerate as a UVC camera on my laptop. When I last tried a year or so ago, it did work. Is there any known modifications or issues that would prevent the device from enumerating? I am using the cyfxuvcinmem_bulk example taken straight from `<FX3 SDK Install>\firmware\uvc_examples\cyfxuvcinmem_bulk` with no modifications. If I load the LED blink example, the board works as expected.
Show Less请教大家一个问题
我现在做的boot程序在跳转app程序的时候,如果boot程序和app程序都没有使用中断的情况下可以正常跳转,但是boot程序或app程序有一方面使用中断的话就会进入到debug,boot程序或app程序单独运行时没有问题。下面按照串口中断举例。
调试状态下会卡在下图位置:
我想知道是哪个地方设置的不对或者少设置了什么地方。
Show LessIFX_INTERRUPT(OS_CAT2_General_Handler,0,6);
IFX_INTERRUPT(OS_CAT2_General_Handler,0,5);
why i can't install same handler in different priority. It's logically can do as ARM architecture as the processor only use the priority to get the Handler start, i need a solution for installing the same handler (ISR) in different priorities to handle CAT2 interrupts in my project and i can't upload the project as i have a signed NDA.
Show LessDear All,
What will be the optimal gate cathode resistance value for a new thyristor using a multimeter.
What will be the impact of values greater than >=30 ohms across GK terminals to its firing boards.
We have faced issues with Gate Cathode Resistance value of Thyristors if more than 30 ohms.
#thyristorcheck
Show LessThe ECDSA (Elliptic Curve Digital signature algorithm) is a cryptographic algorithm that used to authenticate the data if it is coming from known source and the data is not tampered while transferring. This algorithm relies on hardness of solving discrete logarithm problem to make sure adversaries cannot generate an authentic signature nor tamper the message without noticing.
Scope
This code example demonstrates the usage of various ECDSA (Elliptic Curve Digital signature) operations using CRYPTO block of PSoC 6TM MCU devices.
It provides a prompt to the user via UART and waits for user input. Based on the input and the data provided by the user, appropriate tasks (create key pair, Sign the data, verify the signature, export the public key) are performed.
Design and implementation
The code example uses The PDL library to perform the following operations in ECC.
- Set ECC curve and hash mode - Ask the user to select the ECC curve and hash mode and set the parameters accordingly.
- ECC key gen - Creates ECC Public/private key pairs.
- Sign data – Reads the data from the user. Computes the hash and signs the hash with the created private key.
- Verify data - Reads the data and signature from the user. Computes the hash of the data, verifies the hash using the stored public key.
- Export p - Sends the public key (x, y coordinates) in big endian format over UART.
- Print ECC parameters - Sends the ECC curve name and hash mode in UART.
File: source/ecc.h:
- Definition of structure ecc_params to store the ecc parameters.
- Declarations of functions to perform ECC operations.
- Declarations of functions to convert ECC signature from raw to DER format and vice versa.
File: source/ecc.c:
- Definitions of functions to perform ECC operations.
- Definitions of functions to convert ECC signature from raw to DER format (signature_raw_to_der) and DER to raw format (signature_der_to_raw).
Verify signature outside of PSoCTM 6 MCU
- You can also verify the signature of message outside of PSoC 6TM MCU (E.g. From PC).
- For this you need to first get the signature, public key from PSoC 6TM MCU.
- scripts/verify_signature.py can be used to verify the signature as follows.
- Save the public key:
- Get the public key from PSoC 6TM MCU using Export public key command and copy it.
- Execute the following python command:
python.exe scripts/verify_signature.py save-pubkey -k pub_key.pem
- The above script will ask for public key, paste the public key received from PSoC 6 MCU. The public key will be saved as pub_key.pem
- Verify the signature:
- Get the signature from PSoC 6TM MCU using Sign data command.
- Execute the following python command to verify the message:
python.exe scripts/verify_signature.py verify-signature -k pub_key.pem
- The script will ask for message, signature and hash mode as inputs.
- Result of the signature verification is returned.
Show Less
Hello,
I open this issue to fix the problem previously explained here:
https://community.infineon.com/t5/XMC/XMC-usic-end-of-transmission/m-p/670732#M14418
as per requested, I attach the project I am using.
Best regards,
Lander
Show Less