Can you suggest any better solution other than bit banging

HI 

I have to sending a sequence of 768(96 bytes) bits to program a custom piece of hardware on a single data line. Initially the line is low for 500ns and then each bit is represented as a square wave with the timing as follows:- 

'0'  300ns High , 700ns Low     COuld possibly make High period 350ns , not sure if this helps

'1' 700ns High , 700ns Low 

Do you have any suggestions how I could possibly do this , I was thinking of bit banging a GPIO but I dont think I can get the required timing from the provided timers as it seems to only go down to resolution of 1us.

Also I have BLE running , would this affect the timers ?

Thanks RObin

Related