Antix Posted April 21, 2015 Report 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now