- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!