CatTheStudent 0 Posted October 30, 2020 Share Posted October 30, 2020 Hi all, As can be seen in the picture, p64 is repeated twice. one is on P3 and connected and the other one is on P4 and not connected. lets say I want to use PWM on this pin, using the example provided by Energia I can successfully dim an LED connected to the p64 on P3 (yellow highlight) but for my application, I need to have access to the p64 on p4 but no matter if I refer to it as pin 37 or 29 using Energia, only the p64 on P3 will light up the LED. is there any way to have access to pin 37 (pin 64 on P4)? Also any one knows why this design is adapted where a few pins are duplicated(connected and not connected version)? Thanks this is the code: #define ledPinG 37 // PWMTimerCC32XX_PIN_64, /* 37 - GPIO_09 T2B */ ---> if I put #define ledPinG 29, I get the same result void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: // fade in from min to max in increments of 5 points: for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { // sets the value (range from 0 to 255): analogWrite(ledPinG, fadeValue); // wait for 30 milliseconds to see the dimming effect delay(30); } // fade out from max to min in increments of 5 points: for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { // sets the value (range from 0 to 255): analogWrite(ledPinG, fadeValue); // wait for 30 milliseconds to see the dimming effect delay(30); } } Quote Link to post Share on other sites
StefanSch 10 Posted November 2, 2020 Share Posted November 2, 2020 A look into the Schematic resolves the mystic: The signal is not connected as R63 is marked as DNP (Do not populate) Quote Link to post Share on other sites
CatTheStudent 0 Posted November 2, 2020 Author Share Posted November 2, 2020 11 hours ago, StefanSch said: A look into the Schematic resolves the mystic: The signal is not connected as R63 is marked as DNP (Do not populate) Thanks Stefan, you are correct, Jan in ti forum also send this to me here. Still, I don't get why they even put the I2C pins twice. one set on P1(9$10) and one set on P4(39$40). but I assume I can jumper connect the p30 to p40 (energia pin naming) and be able to use J13 on grove booster pack. have you worked with this booster pack before? Quote Link to post Share on other sites
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.