{"action":"created","issue":{"url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/187","repository_url":"https://api.github.com/repos/PiSupply/PaPiRus","labels_url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/187/comments","events_url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/187/events","html_url":"https://github.com/PiSupply/PaPiRus/issues/187","id":321530145,"node_id":"MDU6SXNzdWUzMjE1MzAxNDU=","number":187,"title":"PaPiRus HAT Pinout / Arduino connection","user":{"login":"Donderda","id":3691838,"node_id":"MDQ6VXNlcjM2OTE4Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/3691838?v=4","gravatar_id":"","url":"https://api.github.com/users/Donderda","html_url":"https://github.com/Donderda","followers_url":"https://api.github.com/users/Donderda/followers","following_url":"https://api.github.com/users/Donderda/following{/other_user}","gists_url":"https://api.github.com/users/Donderda/gists{/gist_id}","starred_url":"https://api.github.com/users/Donderda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Donderda/subscriptions","organizations_url":"https://api.github.com/users/Donderda/orgs","repos_url":"https://api.github.com/users/Donderda/repos","events_url":"https://api.github.com/users/Donderda/events{/privacy}","received_events_url":"https://api.github.com/users/Donderda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-09T11:17:47Z","updated_at":"2018-09-26T17:40:16Z","closed_at":null,"author_association":"NONE","body":"Hi everyone,\r\nI found this webpage: https://pinout.xyz/pinout/papirus_hat where I was able to determine which pins are used for what. Can anyone tell me what CS0 and CS1 are used for? Which one is for FLASH_CS and which one for EPD_CS?\r\n\r\nThank you for your help :)\r\n"},"comment":{"url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/comments/424806075","html_url":"https://github.com/PiSupply/PaPiRus/issues/187#issuecomment-424806075","issue_url":"https://api.github.com/repos/PiSupply/PaPiRus/issues/187","id":424806075,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDgwNjA3NQ==","user":{"login":"tvoverbeek","id":1197294,"node_id":"MDQ6VXNlcjExOTcyOTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1197294?v=4","gravatar_id":"","url":"https://api.github.com/users/tvoverbeek","html_url":"https://github.com/tvoverbeek","followers_url":"https://api.github.com/users/tvoverbeek/followers","following_url":"https://api.github.com/users/tvoverbeek/following{/other_user}","gists_url":"https://api.github.com/users/tvoverbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/tvoverbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvoverbeek/subscriptions","organizations_url":"https://api.github.com/users/tvoverbeek/orgs","repos_url":"https://api.github.com/users/tvoverbeek/repos","events_url":"https://api.github.com/users/tvoverbeek/events{/privacy}","received_events_url":"https://api.github.com/users/tvoverbeek/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T17:40:16Z","updated_at":"2018-09-26T17:40:16Z","author_association":"CONTRIBUTOR","body":"@Donderda I assume your SPI_send calls SPI_put twice in code like `SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x0f), 2);`. When sending the 0x70,0x0f (command header, command index) the CS goes high then low again between the 0x70 and the 0x0f.\r\nThe CS should go high first after the 0x0f.\r\nWhen reading the COG-ID, the 0x71,0x00 is sent without the CS going high between the 0x71 and 0x00.\r\nMake sure the CS does not go high when sending the 2-byte command header, command index.\r\nFor the nitty gritty see the datasheet on Pervasive Displays: http://www.pervasivedisplays.com/_literature_198794/COG_Driver_Interface_Timing_for_small_size_G2_V230"}}
{"actor":{"display_login":"tvoverbeek"}}