Antix Posted April 21, 2015 Report Share Posted April 21, 2015 (edited) Hi Antonio, you would have to add following snipped into the source code (src/main.inc) after the USER_SR_Service_Finish label: USER_SR_Service_Finish clrf MIOS_PARAMETER1 movlw 0x00 ; first SR call MIOS_DOUT_SRSet movlw 0x01 ; second SR call MIOS_DOUT_SRSet movlw 0x02 ; third SR call MIOS_DOUT_SRSet ;; etc... add more MIOS32_DOUT_SRSet based on the same scheme if desired Best Regards, Thorsten. Hi Thorsten, Finally I completed the boards for MIDIO128 and modified the code as you suggested me. To achieve the 1ms pulse I added not this code after USER_SR_Service_Finish label but I have added after USER_SR_Service_Finish_End It works but I have an analog scope so I cant measure the time of the pulse with high precision , anyway , comparing the pulse to the scale on the CRT of the scope it seems to me about 1ms . Best regards Antonio Edited April 21, 2015 by Antix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.