sdcard write and read

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

cross mob
gean_3054931
Level 5
Level 5
10 likes given 5 likes given First like received

Hi,

i have created dmachannel as p port is producer and s port as consumer,in this case ,CyU3PSibReadWriteRequest() api is require to write data to sdcard from p port?

let me know,thank you.

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Geethanjali,

Whenever a write operation is to be performed to the S-Port, the CyU3PSibReadWriteRequest() API has to be used with the appropriate parameters. Whenever data is to be read/written to the S-Port, the corresponding commands are to be passed to the S-Port before performing the actual operation. The CyU3PSibReadWriteRequest() API takes care of these commands based on the parameters passed.

Kindly, refer to the fx3_sdk_1_3_3_src for details on this.

Best regards,

Srinath S

View solution in original post

1 Reply
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Geethanjali,

Whenever a write operation is to be performed to the S-Port, the CyU3PSibReadWriteRequest() API has to be used with the appropriate parameters. Whenever data is to be read/written to the S-Port, the corresponding commands are to be passed to the S-Port before performing the actual operation. The CyU3PSibReadWriteRequest() API takes care of these commands based on the parameters passed.

Kindly, refer to the fx3_sdk_1_3_3_src for details on this.

Best regards,

Srinath S