Firmware API for data send and receive to and from the Endpoint

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

cross mob
Anonymous
Not applicable

hello,

   

Please give a API code or syntax for the data transfer to and from the endpoint for FX3.

   

example:

   

uint8_t glEp0Buffero[32] __attribute__ ((aligned (32)));

   

uint8_t glEp0Bufferi[32] __attribute__ ((aligned (32)));

   

I want to do below operation:

   

glEp0Buffero[32] -> out Endpoint (0x02)       and

   

in endpoint (0x82) ->  glEp0Bufferi[32]

0 Likes
1 Reply
Anonymous
Not applicable

When accessing the data endpoints in Fx3, you need to make use of DMA.

   

There are plenty of examples in the SDK, please refer to those.

0 Likes