N Application notes. In any negotiation, these two. MathWorks Support Team on 17 Jan Sign in to answer this question. C28x-Build Options.
|Published (Last):||7 December 2016|
|PDF File Size:||11.23 Mb|
|ePub File Size:||1.92 Mb|
|Price:||Free* [*Free Regsitration Required]|
Sign in to comment. Sign in to answer this question. Unable to complete the action because of changes made to the page. Reload the page to see its updated state. Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:. Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Toggle Main Navigation. Search Answers Clear Filters. Answers Support MathWorks. Search Support Clear Filters. Support Answers MathWorks. Search MathWorks. MathWorks Answers Support. Open Mobile Search. Trial software.
You are now following this question You will see updates in your activity feed. You may receive emails, depending on your notification preferences. Alex B on 30 Aug Vote 1. Commented: Alex B on 12 Sep In the CCS watch window, I was going through the register values and had a few questions:. However shouldn't the pull ups be disbaled since these are outputs? Thanks in advance. Answers 1. Antonin on 3 Sep Vote 0. Cancel Copy to Clipboard.
Hi Alex,. We don't initialize the pull-up registers and the default values after reset are not uniform across the different registers. Look at Figure 63 of the following document:.
I would agree that once the pin is driven as an output, the pullup is just a waste, though not harmful. You can initialize the pullup registers using the following custom code block:.
We will consider removing pullup for outputs in future releases. Thanks for your input. Alex B on 4 Sep Thank you for your reply Antonin,. It would be much appreciated if you could also answer a few follow up questions. I feel like they are probably questions that should be directed at TI but if you could shed some light, it would be very helpful.
I wanted to know if the user can actually open the file which initializes all the registers to their default values. I checked the. Based on the literature survey I have done, TI mentions that the pull up network does not actually have a passive resistor in place but rather an active circuit.
So, is that pull up enable circuit a "smart" circuit which can actually disable the pull up if it senses contention on a pin? Is there some feedback on the CMOS circuitry itself which can disable it because the registers don't reflect that the pin is pull up disabled? These questions could be me just nitpicking, but they were doubts in my mind that I was hoping to get cleared. Thank you. Antonin on 4 Sep The GEL files allow initialization from CCS on certain actions like "connect to target", but this is post reset and can't be used in standalone mode.
One way to prove this would be to set all of them as output low and look at the device consumption when pullups are enabled and disabled. Let us know if you see a difference Alex B on 5 Sep Once again, thanks for your reply Antonin. It also may be worth saying that they're not configurable. Device Used: F has more GPIOs - which help in observing a greater difference between the current drawn for the two scenarios. The current drawn is mA. From the watch windows, one can observe that 88 GPIOs have their pull ups disabled and then enabled.
The difference in the current drawn is:. Based off the F datasheet, that roughly puts us in the ballpark:. The way I connected the current sensor was as follows:.
Anyway, let me know your thoughts Antonin, you have been a great help so far. PS: Are these videos made by you?? Antonin on 6 Sep Great work, You proved it! I shared your investigation with the team here, everyone loves it.
People also think that you are a great photographer and that we should gift you with a new USB cable to thank you for the work On a more serious note, TI mentions in the documentation of the Fx devices that input pins should not be left floating, which probably explains why they enabled the pullup by default on most F pins except the ones that are dedicated to be outputs i.
On new devices, they disabled all pullups by default, which probably prompted them to add the warning. We will investigate a way to configure the pullup registers in our tools. In addition to allowing the user to set the pullup, we can detect how pins are used to automatically set the pullup. PS: Yes, these are my videos. Alex B on 12 Sep Thank you Antonin,.
The Mathworks forums have been a great place for me to explore and learn new things. Through this post I have had the opportunity to discuss an interesting concept which may also help other learners. To make things easy for others to understand, I added clear pictures and screenshots with what was trying to be achieved. It was a fun exercise :. I appreciate you sharing the documentation from the Fx family.
I hadn't come across that documentation as my projects use the F and F devices. I guess that is what I did in the "experimentation" part of this post, not advised by TI though. Till there is a new release from Mathworks, users may want to do the following as suggested by Antonin earlier in this post :.
Select the block and place it in your simulink project with the following embedded code:. See Also. Products Simulink. Release Ra. Opportunities for recent engineering grads. Apply Today. An Error Occurred Unable to complete the action because of changes made to the page. Select a Web Site Choose a web site to get translated content where available and see local events and offers.
Select web site.
GPxPUD register values in C2000 F28035 c28x_LedBlink_ert Simulink Example
Dismiss Join GitHub today. As shown, Raspberry Pi products are the brain of your project. The RC value should dictate the PWM frequency and how fast you can refresh the duty cycle to get a clean waveform. Production processing does not necessarily include testing of all parameters. This means it is compiled and ran on the fly as the code is encountered.
Learn more about Scribd Membership Home. Much more than documents. Discover everything Scribd has to offer, including books and audiobooks from major publishers. Start Free Trial Cancel anytime. F Gpio PDF.