Modifying an FX3 Firmware Register

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

cross mob
Anonymous
Not applicable

Section 10 of the FX3 TRM shows all of the firmware registers available. How do I write a new value to one of the registers shown in that section? Or more specifically, what is the api function that I can use to modify those registers?

0 Likes
1 Solution
alamandaa_16
Moderator
Moderator
Moderator
10 likes received First like received

Hi,

Use the following APIs to read and write the registers:

1.CyU3PReturnStatus_t CyU3PReadDeviceRegisters ( uvint32_t ∗ regAddr, uint8 t numRegs, uint32 t ∗ dataBuf )

2.CyU3PReturnStatus_t CyU3PWriteDeviceRegisters ( uvint32_t ∗ regAddr, uint8 t numRegs, uint32 t ∗ dataBuf )

For more details, please refer the section 5.40.3.4 and 5.40.3.5 in the FX3 API GUIDE.pdf

Regards,

Anil Srinivas

View solution in original post

0 Likes
2 Replies
alamandaa_16
Moderator
Moderator
Moderator
10 likes received First like received

Hi,

Use the following APIs to read and write the registers:

1.CyU3PReturnStatus_t CyU3PReadDeviceRegisters ( uvint32_t ∗ regAddr, uint8 t numRegs, uint32 t ∗ dataBuf )

2.CyU3PReturnStatus_t CyU3PWriteDeviceRegisters ( uvint32_t ∗ regAddr, uint8 t numRegs, uint32 t ∗ dataBuf )

For more details, please refer the section 5.40.3.4 and 5.40.3.5 in the FX3 API GUIDE.pdf

Regards,

Anil Srinivas

0 Likes
Anonymous
Not applicable

Thanks!

0 Likes