{"id":20522850,"url":"https://github.com/anachrocomputer/pic32reach","last_synced_at":"2026-06-05T19:31:55.367Z","repository":{"id":70084951,"uuid":"166298109","full_name":"anachrocomputer/PIC32Reach","owner":"anachrocomputer","description":"Rudimentary setup and main loop code for blinking five LEDs on a PIC32MX550F256L. Should also work on other PIC32MX chips with similar peripherals, e.g. PIC32MX250F256L.","archived":false,"fork":false,"pushed_at":"2024-11-30T13:38:13.000Z","size":61,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T10:49:07.139Z","etag":null,"topics":["i2c","i2c-bus","leds","pic32","pic32mx","pwm","spi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anachrocomputer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-17T21:17:00.000Z","updated_at":"2024-11-30T13:38:17.000Z","dependencies_parsed_at":"2024-03-17T23:25:54.723Z","dependency_job_id":"235246de-911a-47a9-a4d0-f95f86203cd0","html_url":"https://github.com/anachrocomputer/PIC32Reach","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FPIC32Reach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FPIC32Reach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FPIC32Reach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FPIC32Reach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anachrocomputer","download_url":"https://codeload.github.com/anachrocomputer/PIC32Reach/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242128317,"owners_count":20076177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["i2c","i2c-bus","leds","pic32","pic32mx","pwm","spi"],"created_at":"2024-11-15T22:37:06.258Z","updated_at":"2025-03-06T00:43:05.954Z","avatar_url":"https://github.com/anachrocomputer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIC32Reach #\n\nBlink five LEDs on a PIC32MX550F256L dev board from Reach Robotics.\nMillisecond timer interrupt generated by Timer 1.\nAlso sends characters to all five USARTs,\ngenerates PWM on OC1 and OC2,\nand accepts analog input from a pot on AN6.\nTwo SPI channels configured to send data, SPI2 at 2MHz and SPI3 at 1MHz.\nSPI2 sends a 16-bit word every 22.6us (44.1kHz).\nSPI3 sends variable-length packets at certain times in the main loop.\n\n## Connections ##\n\n| Name | Port | Pin | Activity         |\n|------|------|-----|------------------|\n| LED1 | RE6  | 4   | LED, active-LOW  |\n| LED2 | RE7  | 5   | LED, active-LOW  |\n| LED3 | RE1  | 94  | LED, active-LOW  |\n| LED4 | RA7  | 91  | LED, active-LOW  |\n| LED5 | RA6  | 92  | LED, active-LOW  |\n| U1TX | RE5  | 3   | UART1 transmit   |\n| U2TX | RG0  | 90  | UART2 transmit   |\n| U3TX | RF1  | 88  | UART3 transmit   |\n| U4TX | RD4  | 81  | UART4 transmit   |\n| U5TX | RD12 | 79  | UART5 transmit   |\n| SCK2 | RG6  | 10  | SPI Clock        |\n| SDO2 | RC13 | 73  | SPI MOSI         |\n| SS2  | RD9  | 69  | SPI CS           |\n| SCK3 | RF13 | 39  | SPI Clock        |\n| SDO3 | RG8  | 12  | SPI MOSI         |\n| SS3  | RA0  | 17  | SPI CS           |\n| PWM1 | RD8  | 68  | OC1 PWM output   |\n| PWM2 | RD0  | 72  | OC2 PWM output   |\n| Pot  | RB6  | 26  | AN6 analog input |\n\nPIC32 pin numbers are for the 100-pin package.\n\nLEDs light when the pin is pulled LOW.\n\n## PIC32 Toolchain ##\n\nMPLAB X V5.20 and 'xc32' V2.15.\nThese are quite old versions now, so I really ought to upgrade!\n\n## PIC32 Programmer ##\n\nMicrochip ICD3.\nOther programmers should work, e.g. ICD4 or PICkit4.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fpic32reach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanachrocomputer%2Fpic32reach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fpic32reach/lists"}