If anyone is very familiar with this device, I could use some assistance solving a problem. I would be glad to pay for an hour of consulting.
The problem is with an ASM object I am working with. It works great to either send or receive, but if trying to send after a receive then going back to receive again to wait for more data, something is causing it to stop reading.
What I have determined is that on the initial startup, the status is:
%0000_1110
IRQ bit = 1
This is ready to receive a packet. Upon receiving a packet, the next status is:
%0100_0000 ’ IRQ set, data pipe 0 used.
IRQ = 0
But, after receiving the packet and going back to a loop to wait for more Rx data, the status changes to:
%0010_1110
IRQ = 1
The change is in bit 5, which is the TX_DS bit. I am not clear on this bit, as I have auto ack turned off on the initial config. If it does just mean that data was sent on PTX, that is accurate, but I am not sure why I should have to reset this bit after a TX. But, whatever the case, the device is not returning to PRX mode for receive.
Any suggestions welcome. If you are very familiar with this device, I would be fine with using paypal to send a fee for any hour to discuss over the phone to see if that expedites the solution.